File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ use reth_network::{protocol::IntoRlpxSubProtocol, NetworkPrimitives};
77use reth_transaction_pool:: PoolConfig ;
88use std:: { borrow:: Cow , time:: Duration } ;
99
10+ /// 45M gas limit
11+ const ETHEREUM_BLOCK_GAS_LIMIT_45M : u64 = 45_000_000 ;
12+
1013/// 60M gas limit
1114const ETHEREUM_BLOCK_GAS_LIMIT_60M : u64 = 60_000_000 ;
1215
@@ -42,9 +45,10 @@ pub trait PayloadBuilderConfig {
4245 }
4346
4447 match chain. kind ( ) {
45- ChainKind :: Named (
46- NamedChain :: Mainnet | NamedChain :: Sepolia | NamedChain :: Holesky | NamedChain :: Hoodi ,
47- ) => ETHEREUM_BLOCK_GAS_LIMIT_60M ,
48+ ChainKind :: Named ( NamedChain :: Sepolia | NamedChain :: Holesky | NamedChain :: Hoodi ) => {
49+ ETHEREUM_BLOCK_GAS_LIMIT_60M
50+ }
51+ ChainKind :: Named ( NamedChain :: Mainnet ) => ETHEREUM_BLOCK_GAS_LIMIT_45M ,
4852 _ => ETHEREUM_BLOCK_GAS_LIMIT_36M ,
4953 }
5054 }
You can’t perform that action at this time.
0 commit comments