Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Change validation & collation protocol names to include genesis hash & fork id #5876

Merged
merged 13 commits into from
Aug 30, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update legacy protocol name constants
Co-authored-by: Bastian Köcher <[email protected]>
  • Loading branch information
dmitry-markin and bkchr authored Aug 18, 2022
commit cdc57cd3fd9e64fa2bbe1a78f491c290ebf182b7
4 changes: 2 additions & 2 deletions node/network/protocol/src/peer_set.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ use std::{
use strum::{EnumIter, IntoEnumIterator};

// Only supported protocol versions should be defined here.
const VALIDATION_PROTOCOL_V1: &str = "/polkadot/validation/1";
const COLLATION_PROTOCOL_V1: &str = "/polkadot/collation/1";
const LEGACY_VALIDATION_PROTOCOL_V1: &str = "/polkadot/validation/1";
const LEGACY_COLLATION_PROTOCOL_V1: &str = "/polkadot/collation/1";

/// The main protocol version, currently the same for validation & collation.
const MAIN_PROTOCOL_VERSION: ProtocolVersion = 1;
Expand Down