Skip to content

Commit

Permalink
Added NetworkId::PolkadotBulletin variant (#2517)
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
svyatonik authored Nov 28, 2023
1 parent 7506271 commit 0f7ffc6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions polkadot/xcm/src/v3/junction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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> {
Expand Down

0 comments on commit 0f7ffc6

Please sign in to comment.