pub trait EpochStartSystemStateTrait {
Show 15 methods
// Required methods
fn epoch(&self) -> EpochId;
fn protocol_version(&self) -> ProtocolVersion;
fn reference_gas_price(&self) -> u64;
fn safe_mode(&self) -> bool;
fn epoch_start_timestamp_ms(&self) -> u64;
fn epoch_duration_ms(&self) -> u64;
fn get_validator_addresses(&self) -> Vec<SuiAddress>;
fn get_sui_committee(&self) -> Committee;
fn get_sui_committee_with_network_metadata(
&self
) -> CommitteeWithNetworkMetadata;
fn get_narwhal_committee(&self) -> NarwhalCommittee;
fn get_mysticeti_committee(&self) -> ConsensusCommittee;
fn get_validator_as_p2p_peers(
&self,
excluding_self: AuthorityName
) -> Vec<PeerInfo>;
fn get_authority_names_to_peer_ids(&self) -> HashMap<AuthorityName, PeerId>;
fn get_authority_names_to_hostnames(&self) -> HashMap<AuthorityName, String>;
fn get_narwhal_worker_cache(
&self,
transactions_address: &Multiaddr
) -> WorkerCache;
}