We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Handler::validate_against_state_and_deduct_caller
1 parent e5c8b25 commit 2b3a3aaCopy full SHA for 2b3a3aa
crates/handler/src/handler.rs
@@ -295,7 +295,11 @@ pub trait Handler {
295
apply_eip7702_auth_list(evm.ctx_mut())
296
}
297
298
- /// Deducts maximum possible fee and transfer value from caller's balance.
+ /// Deducts the maximum possible fee from caller's balance.
299
+ ///
300
+ /// If cfg.is_balance_check_disabled, this method will add back enough funds to ensure that
301
+ /// the caller's balance is at least tx.value() before returning. Note that the amount of funds
302
+ /// added back in this case may exceed the maximum fee.
303
///
304
/// Unused fees are returned to caller after execution completes.
305
#[inline]
0 commit comments