Function reth_rpc_eth_types::error::ensure_success
source ยท pub fn ensure_success(result: ExecutionResult) -> EthResult<Bytes>
Expand description
Converts the evm [ExecutionResult
] into a result where Ok
variant is the output bytes if it
is [ExecutionResult::Success
].