Skip to content

Commit

Permalink
Remove leftover references of Wococo (paritytech#6361)
Browse files Browse the repository at this point in the history
Remove references of now defunct Wococo network.

The XCM `NetworkId::Wococo` will also be removed with [XCMv5
PR](paritytech#4826)
  • Loading branch information
acatangiu authored Nov 5, 2024
1 parent 6969be3 commit ec61396
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions bridges/primitives/messages/src/lane.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ impl TypeId for LegacyLaneId {
/// concatenation (separated by some binary data). I.e.:
///
/// ```nocompile
/// let endpoint1 = X2(GlobalConsensus(NetworkId::Rococo), Parachain(42));
/// let endpoint2 = X2(GlobalConsensus(NetworkId::Wococo), Parachain(777));
/// let endpoint1 = X2(GlobalConsensus(NetworkId::Polkadot), Parachain(42));
/// let endpoint2 = X2(GlobalConsensus(NetworkId::Kusama), Parachain(777));
///
/// let final_lane_key = if endpoint1 < endpoint2 {
/// (endpoint1, VALUES_SEPARATOR, endpoint2)
Expand Down
10 changes: 5 additions & 5 deletions cumulus/parachains/runtimes/assets/common/src/matching.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ mod tests {

parameter_types! {
pub UniversalLocation: InteriorLocation = [GlobalConsensus(Rococo), Parachain(1000)].into();
pub ExpectedNetworkId: NetworkId = Wococo;
pub ExpectedNetworkId: NetworkId = Westend;
}

#[test]
Expand All @@ -158,13 +158,13 @@ mod tests {
let asset: Location = (
Parent,
Parent,
GlobalConsensus(Wococo),
GlobalConsensus(Westend),
Parachain(1000),
PalletInstance(1),
GeneralIndex(1),
)
.into();
let origin: Location = (Parent, Parent, GlobalConsensus(Wococo), Parachain(1000)).into();
let origin: Location = (Parent, Parent, GlobalConsensus(Westend), Parachain(1000)).into();
assert!(FromNetwork::<UniversalLocation, ExpectedNetworkId>::contains(&asset, &origin));

// asset and origin from local consensus fails
Expand Down Expand Up @@ -195,14 +195,14 @@ mod tests {
GeneralIndex(1),
)
.into();
let origin: Location = (Parent, Parent, GlobalConsensus(Wococo), Parachain(1000)).into();
let origin: Location = (Parent, Parent, GlobalConsensus(Westend), Parachain(1000)).into();
assert!(!FromNetwork::<UniversalLocation, ExpectedNetworkId>::contains(&asset, &origin));

// origin from different consensus fails
let asset: Location = (
Parent,
Parent,
GlobalConsensus(Wococo),
GlobalConsensus(Westend),
Parachain(1000),
PalletInstance(1),
GeneralIndex(1),
Expand Down
2 changes: 1 addition & 1 deletion polkadot/cli/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ pub struct RunCmd {

/// Disable the BEEFY gadget.
///
/// Currently enabled by default on 'Rococo', 'Wococo' and 'Versi'.
/// Currently enabled by default.
#[arg(long)]
pub no_beefy: bool,

Expand Down

0 comments on commit ec61396

Please sign in to comment.