Function pallet_revive::pallet::dispatchables::eth_transact
source · pub fn eth_transact<T: Config>(
payload: Vec<u8>,
gas_limit: Weight,
storage_deposit_limit: <<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance,
)
Expand description
A raw EVM transaction, typically dispatched by an Ethereum JSON-RPC server.
§Parameters
payload
: The encodedcrate::evm::TransactionSigned
.gas_limit
: The gas limit enforced during contract execution.storage_deposit_limit
: The maximum balance that can be charged to the caller for storage usage.
§Note
This call cannot be dispatched directly; attempting to do so will result in a failed
transaction. It serves as a wrapper for an Ethereum transaction. When submitted, the
runtime converts it into a [sp_runtime::generic::CheckedExtrinsic
] by recovering the
signer and validating the transaction.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::eth_transact
.