(port: u16)
| 14 | |
| 15 | impl MockValidator { |
| 16 | pub fn new(port: u16) -> eyre::Result<Self> { |
| 17 | let pubkey = bls_pubkey_from_hex( |
| 18 | "0xac6e77dfe25ecd6110b8e780608cce0dab71fdd5ebea22a16c0205200f2f8e2e3ad3b71d3499c54ad14d6c21b41a37ae", |
| 19 | )?; |
| 20 | Ok(Self { comm_boost: generate_mock_relay(port, pubkey)? }) |
| 21 | } |
| 22 | |
| 23 | pub async fn do_get_header(&self, pubkey: Option<BlsPublicKey>) -> eyre::Result<Response> { |
| 24 | let default_pubkey = bls_pubkey_from_hex( |
nothing calls this directly
no test coverage detected