Function configure_tx_env
pub fn configure_tx_env(env: &mut Env, tx: &Transaction<AnyTxEnvelope>)
Expand description
Configures the env for the given RPC transaction.
Accounts for an impersonated transaction by resetting the env.tx.caller
field to tx.from
.