MCPcopy Create free account
hub / github.com/ChainSafe/Delorean-Protocol / cid

Method cid

fendermint/vm/message/src/signed.rs:91–93  ·  view source on GitHub ↗

Calculate the CID of an FVM message.

(message: &Message)

Source from the content-addressed store, hash-verified

89
90 /// Calculate the CID of an FVM message.
91 pub fn cid(message: &Message) -> Result<Cid, fvm_ipld_encoding::Error> {
92 crate::cid(message)
93 }
94
95 /// Calculate the bytes that need to be signed.
96 ///

Callers

nothing calls this directly

Calls 1

cidFunction · 0.85

Tested by

no test coverage detected