Skip to content

Commit 7b0065b

Browse files
committed
Merge remote-tracking branch 'cecilia/main' into sync-taiko-v3.5
2 parents c306f98 + 9d655c4 commit 7b0065b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

crates/revm/src/optimism/handler_register.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ pub fn optimism_handle_register<DB: Database, EXT>(handler: &mut EvmHandler<'_,
2020
spec_to_generic!(handler.spec_id, {
2121
// Refund is calculated differently then mainnet.
2222
handler.execution_loop.first_frame_return = Arc::new(handle_call_return::<SPEC>);
23-
// we reimburse caller the same was as in mainnet.
23+
// An estimated batch cost is charged from the caller and added to L1 Fee Vault.
24+
handler.pre_execution.deduct_caller = Arc::new(deduct_caller::<SPEC, EXT, DB>);
2425
handler.post_execution.reward_beneficiary = Arc::new(reward_beneficiary::<SPEC, EXT, DB>);
2526
// In case of halt of deposit transaction return Error.
2627
handler.post_execution.output = Arc::new(output::<SPEC, EXT, DB>);

0 commit comments

Comments
 (0)