Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove leftover references of Wococo #6361

Merged
merged 1 commit into from
Nov 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
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
Loading