Skip to content

Commit

Permalink
Fix TestRPCGetBlockOrHeader
Browse files Browse the repository at this point in the history
  • Loading branch information
palango committed May 17, 2024
1 parent 11fa2c5 commit 9ed0e13
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion internal/ethapi/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1752,7 +1752,10 @@ func TestRPCGetBlockOrHeader(t *testing.T) {
acc1Addr = crypto.PubkeyToAddress(acc1Key.PublicKey)
acc2Addr = crypto.PubkeyToAddress(acc2Key.PublicKey)
genesis = &core.Genesis{
Config: params.TestChainConfig,
// Use a config which disables the Cel2 flag
// This is necessary because Cel2 enables sending of fees to the fee handler,
// which in turn changes the state tree which leads to changes in hashes.
Config: params.TestChainConfigNoCel2,
Alloc: types.GenesisAlloc{
acc1Addr: {Balance: big.NewInt(params.Ether)},
acc2Addr: {Balance: big.NewInt(params.Ether)},
Expand Down

0 comments on commit 9ed0e13

Please sign in to comment.