We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0608ed commit 4a15130Copy full SHA for 4a15130
crates/evm/src/eth/block.rs
@@ -268,9 +268,10 @@ where
268
.database
269
.basic(withdrawal.address)
270
.unwrap()
271
- .unwrap()
+ .unwrap_or_default()
272
.balance;
273
- let final_balance = initial.saturating_add(U256::from(withdrawal.amount));
+ let final_balance = initial
274
+ .saturating_add(U256::from(withdrawal.amount_wei().to::<u128>()));
275
if initial != final_balance {
276
alloy_bal.push(
277
AccountChanges::new(withdrawal.address).with_balance_change(
0 commit comments