()
| 35 | |
| 36 | impl 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 |
nothing calls this directly
no outgoing calls
no test coverage detected