Commit d907808 1 parent cd431c7 commit d907808 Copy full SHA for d907808
File tree 1 file changed +0
-7
lines changed
1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -194,25 +194,18 @@ impl EvmExecution {
194
194
195
195
// fix sender balance
196
196
let execution_cost = receipt. execution_cost ( ) ;
197
- dbg ! ( receipt) ;
198
- dbg ! ( & self ) ;
199
197
200
198
if execution_cost > Wei :: ZERO {
201
- dbg ! ( ) ;
202
199
// find sender changes
203
200
let sender_address: Address = receipt. 0 . from . into ( ) ;
204
201
let Some ( sender_changes) = self . changes . get_mut ( & sender_address) else {
205
202
return log_and_err ! ( "sender changes not present in execution when applying execution costs" ) ;
206
203
} ;
207
- dbg ! ( ) ;
208
204
209
205
// subtract execution cost from sender balance
210
206
let sender_balance = * sender_changes. balance . take_ref ( ) . ok_or ( anyhow ! ( "sender balance was None" ) ) ?;
211
- dbg ! ( execution_cost) ;
212
- dbg ! ( sender_balance) ;
213
207
214
208
let sender_new_balance = if sender_balance > execution_cost {
215
- dbg ! ( ) ;
216
209
sender_balance - execution_cost
217
210
} else {
218
211
Wei :: ZERO
You can’t perform that action at this time.
0 commit comments