Convenience method to serialize a [`ChainMessage`] for inclusion in a Tendermint transaction.
(message: &ChainMessage)
| 187 | |
| 188 | /// Convenience method to serialize a [`ChainMessage`] for inclusion in a Tendermint transaction. |
| 189 | pub fn serialize(message: &ChainMessage) -> anyhow::Result<Vec<u8>> { |
| 190 | Ok(fvm_ipld_encoding::to_vec(message)?) |
| 191 | } |
| 192 | |
| 193 | /// Actor address. |
| 194 | pub fn address(&self) -> &Address { |
no outgoing calls
no test coverage detected