File tree 2 files changed +8
-1
lines changed
2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " @nomicfoundation/edr " : patch
3
+ ---
4
+
5
+ Fixed a problem that prevented forking chains without mix hash fields in their blocks
Original file line number Diff line number Diff line change @@ -178,7 +178,9 @@ impl IntoRemoteBlock<L1ChainSpec> for edr_rpc_eth::Block<edr_rpc_eth::Transactio
178
178
gas_used : self . gas_used ,
179
179
timestamp : self . timestamp ,
180
180
extra_data : self . extra_data ,
181
- mix_hash : self . mix_hash . ok_or ( CreationError :: MissingMixHash ) ?,
181
+ // TODO don't accept remote blocks with missing mix hash,
182
+ // see https://github.com/NomicFoundation/edr/issues/518
183
+ mix_hash : self . mix_hash . unwrap_or_default ( ) ,
182
184
nonce : self . nonce . ok_or ( CreationError :: MissingNonce ) ?,
183
185
base_fee_per_gas : self . base_fee_per_gas ,
184
186
withdrawals_root : self . withdrawals_root ,
You can’t perform that action at this time.
0 commit comments