Skip to content
Snippets Groups Projects
Unverified Commit 0f7ffc66 authored by Svyatoslav Nikolsky's avatar Svyatoslav Nikolsky Committed by GitHub
Browse files

Added NetworkId::PolkadotBulletin variant (#2517)

We're going to bridge Polkadot Bridge Hub with [Polkadot Bulletin
chain](https://github.com/zdave-parity/polkadot-bulletin-chain) soon
(and Rococo Bridge Hub with 1:1 copy of Polkadot Bulletin chain even
sooner), so we need a variant for that chain in `NetworkId`. As
suggested, I'm adding a new variant for it to the `NetworkId` (we may
have used `ByGenesis(_)`, but decision was made to have a dedicated
variant for that).
parent 75062717
No related merge requests found
Pipeline #419180 failed with stages
in 1 hour, 19 minutes, and 13 seconds
......@@ -75,6 +75,8 @@ pub enum NetworkId {
BitcoinCore,
/// The Bitcoin network, including hard-forks supported by Bitcoin Cash developers.
BitcoinCash,
/// The Polkadot Bulletin chain.
PolkadotBulletin,
}
impl From<OldNetworkId> for Option<NetworkId> {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment