Skip to content
Snippets Groups Projects
Unverified Commit ec61396e authored by Adrian Catangiu's avatar Adrian Catangiu Committed by GitHub
Browse files

Remove leftover references of Wococo (#6361)

Remove references of now defunct Wococo network.

The XCM `NetworkId::Wococo` will also be removed with [XCMv5
PR](https://github.com/paritytech/polkadot-sdk/pull/4826)
parent 6969be36
No related merge requests found
Pipeline #504241 waiting for manual action with stages
in 43 minutes and 2 seconds
......@@ -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)
......
......@@ -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]
......@@ -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
......@@ -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),
......
......@@ -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,
......
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