fn apply_authorization_nonces<FEN: FoundryEvmNetwork>(
ecx: &mut FoundryContextFor<'_, FEN>,
authorizations: &[SignedAuthorization],
sender: Address,
chain_id: u64,
) -> Result<()>Expand description
Increments the nonce of every authority whose authorization would be applied on-chain.
Mirrors EIP-7702 processing: authorizations are checked in order after the transaction has incremented the sender nonce, and invalid authorizations are skipped without changing the authority nonce.