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

Method get_commit_sha

ipc/provider/src/lib.rs:647–651  ·  view source on GitHub ↗
(&self, subnet: &SubnetID)

Source from the content-addressed store, hash-verified

645 }
646
647 pub async fn get_commit_sha(&self, subnet: &SubnetID) -> anyhow::Result<[u8; 32]> {
648 let conn = self.get_connection(subnet)?;
649
650 conn.manager().get_commit_sha().await
651 }
652
653 pub async fn get_chain_head_height(&self, subnet: &SubnetID) -> anyhow::Result<ChainEpoch> {
654 let conn = self.get_connection(subnet)?;

Callers 1

handleMethod · 0.45

Calls 2

get_connectionMethod · 0.80
managerMethod · 0.80

Tested by

no test coverage detected