Skip to content

Commit

Permalink
core, eth: set init HertzfixBlock for pre-hertz tests
Browse files Browse the repository at this point in the history
  • Loading branch information
CaraWang committed Dec 5, 2023
1 parent d167ba9 commit c5afcdd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions core/eip3529tests/eip3529_parlia_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ func preHertzConfig() *params.ChainConfig {
config.LondonBlock = nil
config.BerlinBlock = nil
config.HertzBlock = nil
config.HertzfixBlock = nil
return &config
}

Expand Down
1 change: 1 addition & 0 deletions eth/gasprice/gasprice_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ func newTestBackend(t *testing.T, londonBlock *big.Int, pending bool) *testBacke
config.LubanBlock = nil
config.PlatoBlock = nil
config.HertzBlock = nil
config.HertzfixBlock = nil
engine := ethash.NewFaker()
db := rawdb.NewMemoryDatabase()
genesis, err := gspec.Commit(db)
Expand Down

0 comments on commit c5afcdd

Please sign in to comment.