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

Method default

rpc/tests/utils.rs:37–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35
36impl Default for MockFinalizerState {
37 fn default() -> Self {
38 Self {
39 latest_height: 0,
40 latest_epoch: 0,
41 checkpoints: HashMap::new(),
42 latest_checkpoint: Some((None, 0)),
43 finalized_headers: HashMap::new(),
44 validator_balances: HashMap::new(),
45 validator_accounts: HashMap::new(),
46 minimum_stake: 32_000_000_000, // 32 ETH in gwei
47 }
48 }
49}
50
51/// Creates a mock finalizer mailbox that responds to queries with test data

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected