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

Function p2p_args

crates/consensus/cli/src/bootnode.rs:407–410  ·  view source on GitHub ↗
(args: &[&str])

Source from the content-addressed store, hash-verified

405 }
406
407 fn p2p_args(args: &[&str]) -> BootnodeP2PArgs {
408 let args = [&["test"], args].concat();
409 TestCommand::parse_from(args).p2p
410 }
411
412 #[test]
413 fn advertised_address_defaults_to_listen_address() {

Calls

no outgoing calls