MCPcopy Create free account
hub / github.com/SeismicSystems/summit / get_epoch_length

Method get_epoch_length

rpc/src/server.rs:300–303  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

298 }
299
300 async fn get_minimum_stake(&self) -> RpcResult<u64> {
301 let minimum_stake = self.state_query.get_minimum_stake().await;
302 Ok(minimum_stake)
303 }
304
305 async fn get_epoch_length(&self) -> RpcResult<u64> {
306 let epoch_length = self.state_query.get_epoch_length().await;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected