Set the proxy store to use for storing proxy delegations
(self, store: ProxyStore)
| 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 { |