Function generate_evm_domain_call

Source
pub fn generate_evm_domain_call<TestRuntime>(
    account_info: AccountInfo,
    use_create: TransactionAction,
    recursion_depth: u8,
    nonce: U256,
    gas_price: U256,
) -> RuntimeCallFor<TestRuntime>
where TestRuntime: Config + Config + Config, RuntimeCallFor<TestRuntime>: From<Call<TestRuntime>> + From<Call<TestRuntime>>,
Expand description

Generate a pallet-evm call, which can be passed to construct_and_send_extrinsic(). use_create determines whether to use create, create2, or a non-create call. recursion_depth determines the number of pallet_utility::Call wrappers to use.