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

Function discv5_config_uses_base_protocol_identity

crates/execution/node/src/node.rs:1442–1449  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1440
1441 #[test]
1442 fn discv5_config_uses_base_protocol_identity() {
1443 let args = RethNetworkArgs::default();
1444 let discovery_config = BaseDiscoveryConfig::new(false);
1445
1446 let discv5_config = discovery_config.discv5_config(&args);
1447
1448 assert_eq!(discv5_config.protocol_identity.protocol_id, BASE_V0_PROTOCOL_VERSION);
1449 }
1450
1451 #[rstest]
1452 #[case::rlpx_ipv4(

Callers

nothing calls this directly

Calls 1

discv5_configMethod · 0.45

Tested by

no test coverage detected