Skip to content

Commit

Permalink
vm: get params from tx for 7702 [no ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
jochem-brouwer committed Aug 19, 2024
1 parent d773d2b commit d4d3100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vm/src/runTx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ async function _runTx(vm: VM, opts: RunTxOpts): Promise<RunTxResult> {
}

if (accountExists) {
const refund = vm.common.param('perEmptyAccountCost') - vm.common.param('perAuthBaseGas')
const refund = tx.common.param('perEmptyAccountCost') - tx.common.param('perAuthBaseGas')
fromAccount.balance += refund
}

Expand Down

0 comments on commit d4d3100

Please sign in to comment.