Skip to content

Commit d907808

Browse files
committed
dbg
1 parent cd431c7 commit d907808

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/eth/primitives/execution.rs

-7
Original file line numberDiff line numberDiff line change
@@ -194,25 +194,18 @@ impl EvmExecution {
194194

195195
// fix sender balance
196196
let execution_cost = receipt.execution_cost();
197-
dbg!(receipt);
198-
dbg!(&self);
199197

200198
if execution_cost > Wei::ZERO {
201-
dbg!();
202199
// find sender changes
203200
let sender_address: Address = receipt.0.from.into();
204201
let Some(sender_changes) = self.changes.get_mut(&sender_address) else {
205202
return log_and_err!("sender changes not present in execution when applying execution costs");
206203
};
207-
dbg!();
208204

209205
// subtract execution cost from sender balance
210206
let sender_balance = *sender_changes.balance.take_ref().ok_or(anyhow!("sender balance was None"))?;
211-
dbg!(execution_cost);
212-
dbg!(sender_balance);
213207

214208
let sender_new_balance = if sender_balance > execution_cost {
215-
dbg!();
216209
sender_balance - execution_cost
217210
} else {
218211
Wei::ZERO

0 commit comments

Comments
 (0)