Commit fc0b45a
committed
fix(eip8037): keep eip7702 reservoir refund out of gross tx state gas
Per the spec, tx_state_gas = intrinsic_state_gas + execution_state_gas.
The EIP-7702 reservoir refund is added back to the state gas reservoir
at tx start, so it must not also be subtracted from the gross state gas
reported in the result.1 parent 3ed3bdf commit fc0b45a
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
54 | 58 | | |
55 | | - | |
56 | | - | |
| 59 | + | |
57 | 60 | | |
58 | 61 | | |
59 | 62 | | |
| |||
0 commit comments