From 6957cddc8ae9645bf37070f702f97e4f36be41da Mon Sep 17 00:00:00 2001 From: Marius van der Wijden Date: Mon, 20 Jan 2025 12:35:01 +0100 Subject: [PATCH] core: fix TestStateProcessorErrors --- core/state_processor_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/state_processor_test.go b/core/state_processor_test.go index 2f841eb64a..b8fa4c4154 100644 --- a/core/state_processor_test.go +++ b/core/state_processor_test.go @@ -97,6 +97,7 @@ func TestStateProcessorErrors(t *testing.T) { } var mkBlobTx = func(nonce uint64, to common.Address, gasLimit uint64, gasTipCap, gasFeeCap, blobGasFeeCap *big.Int, hashes []common.Hash) *types.Transaction { tx, err := types.SignTx(types.NewTx(&types.BlobTx{ + ChainID: new(uint256.Int), Nonce: nonce, GasTipCap: uint256.MustFromBig(gasTipCap), GasFeeCap: uint256.MustFromBig(gasFeeCap), @@ -113,6 +114,7 @@ func TestStateProcessorErrors(t *testing.T) { } var mkSetCodeTx = func(nonce uint64, to common.Address, gasLimit uint64, gasTipCap, gasFeeCap *big.Int, authlist []types.SetCodeAuthorization) *types.Transaction { tx, err := types.SignTx(types.NewTx(&types.SetCodeTx{ + ChainID: new(uint256.Int), Nonce: nonce, GasTipCap: uint256.MustFromBig(gasTipCap), GasFeeCap: uint256.MustFromBig(gasFeeCap),