MCPcopy Create free account
hub / github.com/Commit-Boost/commit-boost-client / with_proxy_store

Method with_proxy_store

crates/signer/src/manager/dirk.rs:155–161  ·  view source on GitHub ↗

Set the proxy store to use for storing proxy delegations

(self, store: ProxyStore)

Source from the content-addressed store, hash-verified

153
154 /// Set the proxy store to use for storing proxy delegations
155 pub fn with_proxy_store(self, store: ProxyStore) -> eyre::Result<Self> {
156 if let ProxyStore::ERC2335 { .. } = store {
157 return Err(eyre::eyre!("ERC2335 proxy store not supported"));
158 }
159
160 Ok(Self { delegations_store: Some(store), ..self })
161 }
162
163 /// Get the number of available consensus signers
164 pub fn available_consensus_signers(&self) -> usize {

Callers 1

start_managerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected