referrerpolicy=no-referrer-when-downgrade

Function eth_substrate_call

Source
pub fn eth_substrate_call<T: Config>(
    call: Box<<T as Config>::RuntimeCall>,
    transaction_encoded: Vec<u8>,
)
Expand description

Executes a Substrate runtime call from an Ethereum transaction.

This dispatchable is intended to be called only through the EVM compatibility layer. The provided call will be dispatched using RawOrigin::Signed.

§Parameters

  • origin: Must be an Origin::EthTransaction origin.
  • call: The Substrate runtime call to execute.
  • transaction_encoded: The RLP encoding of the Ethereum transaction,

§Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::eth_substrate_call.