Skip to content

Commit

Permalink
fix: testnet protocol ids to matched spec proposal
Browse files Browse the repository at this point in the history
  • Loading branch information
KolbyML committed May 13, 2024
1 parent d96324a commit 50fbb19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ethportal-api/src/types/portal_wire.rs
Original file line number Diff line number Diff line change
Expand Up @@ -222,11 +222,11 @@ pub static MAINNET: Lazy<Arc<NetworkSpec>> = Lazy::new(|| {

pub static TESTNET: Lazy<Arc<NetworkSpec>> = Lazy::new(|| {
let mut portal_networks = BiHashMap::new();
portal_networks.insert(ProtocolId::State, "0x501A".to_string());
portal_networks.insert(ProtocolId::State, "0x501F".to_string());
portal_networks.insert(ProtocolId::History, "0x501B".to_string());
portal_networks.insert(ProtocolId::TransactionGossip, "0x501C".to_string());
portal_networks.insert(ProtocolId::CanonicalIndices, "0x501D".to_string());
portal_networks.insert(ProtocolId::Beacon, "0x502A".to_string());
portal_networks.insert(ProtocolId::Beacon, "0x501E".to_string());
portal_networks.insert(ProtocolId::Utp, "0x757470".to_string());
NetworkSpec {
portal_networks,
Expand Down

0 comments on commit 50fbb19

Please sign in to comment.