Parse what Tendermint returns in the `data` field of [`DeliverTx`] as raw ABI return value.
(deliver_tx: &ExecTxResult)
| 41 | |
| 42 | /// Parse what Tendermint returns in the `data` field of [`DeliverTx`] as raw ABI return value. |
| 43 | pub fn decode_fevm_invoke(deliver_tx: &ExecTxResult) -> anyhow::Result<Vec<u8>> { |
| 44 | let data = decode_data(&deliver_tx.data)?; |
| 45 | decode_fevm_return_data(data) |
| 46 | } |
| 47 | |
| 48 | /// Parse what is in the `return_data` field, which is `RawBytes` containing IPLD encoded bytes, into the really raw content. |
| 49 | pub fn decode_fevm_return_data(data: RawBytes) -> anyhow::Result<Vec<u8>> { |