File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1552,7 +1552,7 @@ impl Configuration {
15521552 self . raw_conf . align_evm_transition_height ;
15531553
15541554 // hardfork (V3.1)
1555- params. transition_numbers . eip7939 = self
1555+ params. transition_heights . eip7939 = self
15561556 . raw_conf
15571557 . eip7939_transition_number
15581558 . unwrap_or ( default_transition_time) ;
Original file line number Diff line number Diff line change @@ -115,8 +115,6 @@ pub struct TransitionsBlockNumber {
115115 pub cip144 : BlockNumber ,
116116 /// CIP-145: Fix Receipts upon `NotEnoughBalance` Error
117117 pub cip145 : BlockNumber ,
118- /// EIP-7939: Count Leading Zeros Instruction
119- pub eip7939 : BlockHeight ,
120118}
121119
122120#[ derive( Default , Debug , Clone ) ]
@@ -160,6 +158,8 @@ pub struct TransitionsEpochHeight {
160158 pub eip7623 : BlockHeight ,
161159 pub cip_c2_fix : BlockHeight ,
162160 pub cip145_fix : BlockHeight ,
161+ /// EIP-7939: Count Leading Zeros Instruction
162+ pub eip7939 : BlockHeight ,
163163}
164164
165165impl Default for CommonParams {
@@ -231,7 +231,7 @@ impl CommonParams {
231231 spec. cip_c2_fix = height >= self . transition_heights . cip_c2_fix ;
232232 spec. cancun_opcodes = number >= self . transition_numbers . cancun_opcodes ;
233233 spec. align_evm = height >= self . transition_heights . align_evm && cip645;
234- spec. eip7939 = number >= self . transition_numbers . eip7939 ;
234+ spec. eip7939 = height >= self . transition_heights . eip7939 ;
235235
236236 spec. overwrite_gas_plan_by_cip ( ) ;
237237
You can’t perform that action at this time.
0 commit comments