Skip to main content

recorded_call_state_account

Function recorded_call_state_account 

Source
const fn recorded_call_state_account<E>(call: &MessageExt<E>) -> Address
Expand description

Returns the account whose balance and nonce a call’s AccountAccess records.

DELEGATECALL and CALLCODE execute in the caller’s context, so their callee’s state does not change. Other calls record the executing context, which a vm.mockFunction redirect keeps as the original target while call_target becomes the mock.