Skip to content

Commit 4d5be66

Browse files
committed
fix
1 parent aba0f70 commit 4d5be66

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

crates/revm/src/handler.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -644,6 +644,7 @@ where
644644
// reset initial gas to 0 to avoid gas limit check errors
645645
evm.initial_gas = 0;
646646
evm.fee_token = None;
647+
evm.key_expiry = None;
647648

648649
if !result.instruction_result().is_ok() {
649650
evm.logs = evm.journal_mut().take_logs();
@@ -1543,6 +1544,7 @@ where
15431544
// reset initial gas to 0 to avoid gas limit check errors
15441545
evm.initial_gas = 0;
15451546
evm.fee_token = None;
1547+
evm.key_expiry = None;
15461548

15471549
// For subblock transactions that failed `collectFeePreTx` call we catch error and treat such transactions as valid.
15481550
if evm.ctx.tx.is_subblock_transaction()

0 commit comments

Comments
 (0)