File tree Expand file tree Collapse file tree 2 files changed +11
-15
lines changed
Expand file tree Collapse file tree 2 files changed +11
-15
lines changed Original file line number Diff line number Diff line change @@ -50,10 +50,10 @@ alloy-primitives = { version = "1.0.0", default-features = false }
5050alloy-sol-types = { version = " 1.0.0" , default-features = false }
5151alloy-rpc-types-eth = { version = " 1.0.41" , default-features = false }
5252alloy-rpc-types-engine = { version = " 1.0.41" , default-features = false }
53- alloy-hardforks = { version = " 0.4.4 " }
53+ alloy-hardforks = { version = " 0.4.3 " }
5454
5555# op-alloy
56- alloy-op-hardforks = { version = " 0.4.4 " }
56+ alloy-op-hardforks = { version = " 0.4.3 " }
5757op-alloy-consensus = { version = " 0.22" , default-features = false }
5858op-alloy-rpc-types-engine = { version = " 0.22" , default-features = false }
5959
Original file line number Diff line number Diff line change @@ -286,20 +286,16 @@ where
286286 // let final_balance = initial
287287 // .saturating_add(U256::from(withdrawal.amount_wei().to::<u128>()));
288288 if let Some ( balance) = balance_increments. get ( & withdrawal. address ) {
289- if * balance != 0 {
290- withdrawal_bal. push (
291- AccountChanges :: new ( withdrawal. address ) . with_balance_change (
292- BalanceChange :: new (
293- last_bal_index,
294- U256 :: from (
295- initial. saturating_add ( U256 :: from ( * balance) ) ,
296- ) ,
297- ) ,
289+ withdrawal_bal. push (
290+ AccountChanges :: new ( withdrawal. address ) . with_balance_change (
291+ BalanceChange :: new (
292+ last_bal_index,
293+ U256 :: from ( initial. saturating_add ( U256 :: from ( * balance) ) ) ,
298294 ) ,
299- ) ;
300- } else {
301- withdrawal_bal . push ( AccountChanges :: new ( withdrawal . address ) ) ;
302- }
295+ ) ,
296+ ) ;
297+ } else {
298+ withdrawal_bal . push ( AccountChanges :: new ( withdrawal . address ) ) ;
303299 }
304300 }
305301 }
You can’t perform that action at this time.
0 commit comments