MCPcopy Create free account
hub / github.com/base/base / invalid_bootnode_errors

Function invalid_bootnode_errors

crates/consensus/cli/src/bootnode.rs:532–537  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

530
531 #[test]
532 fn invalid_bootnode_errors() {
533 let p2p = p2p_args(&["--p2p.bootnodes", "enr:invalid"]);
534 let err = p2p.bootnodes().expect_err("invalid bootnode should fail");
535
536 assert!(err.to_string().contains("Failed to parse bootnode 'enr:invalid'"));
537 }
538
539 #[test]
540 fn parses_enr_output_path() {

Callers

nothing calls this directly

Calls 2

p2p_argsFunction · 0.85
bootnodesMethod · 0.45

Tested by

no test coverage detected