Skip to content

Commit

Permalink
fix test for base fee
Browse files Browse the repository at this point in the history
  • Loading branch information
hexoscott committed Oct 2, 2024
1 parent dd9a191 commit 119ea76
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions consensus/misc/eip1559_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ func copyConfig(original *chain.Config) *chain.Config {
func config() *chain.Config {
config := copyConfig(params.TestChainConfig)
config.LondonBlock = big.NewInt(5)
// setting the default expected fee for tests
config.ZkDefaultGasPrice = params.InitialBaseFee
return config
}

Expand Down

0 comments on commit 119ea76

Please sign in to comment.