Parse what Tendermint returns in the `data` field of [`DeliverTx`] as raw bytes. Only call this after the `code` of both [`DeliverTx`] and [`CheckTx`] have been inspected!
(deliver_tx: &ExecTxResult)
| 29 | /// |
| 30 | /// Only call this after the `code` of both [`DeliverTx`] and [`CheckTx`] have been inspected! |
| 31 | pub fn decode_bytes(deliver_tx: &ExecTxResult) -> anyhow::Result<RawBytes> { |
| 32 | decode_data(&deliver_tx.data) |
| 33 | } |
| 34 | |
| 35 | /// Parse what Tendermint returns in the `data` field of [`DeliverTx`] as [`CreateReturn`]. |
| 36 | pub fn decode_fevm_create(deliver_tx: &ExecTxResult) -> anyhow::Result<CreateReturn> { |
no test coverage detected