File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed
Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,10 @@ pub(crate) static MAINNET_BASE_FEE_PARAMS: LazyLock<BaseFeeParams<OpSpecId>> =
4141 BaseFeeActivation :: BlockNumber ( 39_647_879 ) ,
4242 ConstantBaseFeeParams :: new( 50 , 6 ) ,
4343 ) ,
44+ (
45+ BaseFeeActivation :: BlockNumber ( 41_711_238 ) ,
46+ ConstantBaseFeeParams :: new( 125 , 6 ) ,
47+ ) ,
4448 ] ) )
4549 } ) ;
4650
Original file line number Diff line number Diff line change @@ -42,6 +42,18 @@ async fn assert_base_fee_activation(
4242 assert_eq ! ( remote_header. base_fee_per_gas, local_header. base_fee) ;
4343 Ok ( ( ) )
4444 } ;
45+ // Two blocks before the activation point shouldn't see any modification
46+ assert_replay_header :: < OpChainSpec > (
47+ runtime. clone ( ) ,
48+ url. clone ( ) ,
49+ block_number - 2 ,
50+ header_overrides,
51+ block_validation,
52+ )
53+ . await ?;
54+
55+ // One block before the activation point should have a different `extra_data`
56+ // field than its parent
4557 assert_replay_header :: < OpChainSpec > (
4658 runtime. clone ( ) ,
4759 url. clone ( ) ,
@@ -51,6 +63,8 @@ async fn assert_base_fee_activation(
5163 )
5264 . await ?;
5365
66+ // The activation point block should use the new values for calculating the base
67+ // fee
5468 assert_replay_header :: < OpChainSpec > (
5569 runtime,
5670 url,
@@ -75,6 +89,7 @@ impl_test_dynamic_base_fee_params! {
7589 38_088_319 ,
7690 38_951_425 , // jovian activated block
7791 39_647_879 , // SystemConfig EIP-1559 update 2025-12-18
92+ 41_711_238 , // SystemConfig EIP-1559 update 2026-02-04
7893 ] ,
7994 op_sepolia: json_rpc_url_provider:: op_sepolia( ) => [
8095 26_806_602 ,
You can’t perform that action at this time.
0 commit comments