Skip to content

Commit

Permalink
Remove Woococo related stuff (#2692)
Browse files Browse the repository at this point in the history
* Remove Woococo related stuff

* More removes

* Compilation

* Added equvocation for Ro/We

* We need chain-westend primitives
  • Loading branch information
bkontur committed Nov 14, 2023
1 parent 03aaab2 commit 653448f
Show file tree
Hide file tree
Showing 40 changed files with 54 additions and 1,391 deletions.
92 changes: 6 additions & 86 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,16 @@ members = [
"primitives/chain-asset-hub-polkadot",
"primitives/chain-asset-hub-rococo",
"primitives/chain-asset-hub-westend",
"primitives/chain-asset-hub-wococo",
"primitives/chain-bridge-hub-cumulus",
"primitives/chain-bridge-hub-kusama",
"primitives/chain-bridge-hub-polkadot",
"primitives/chain-bridge-hub-rococo",
"primitives/chain-bridge-hub-westend",
"primitives/chain-bridge-hub-wococo",
"primitives/chain-kusama",
"primitives/chain-polkadot",
"primitives/chain-polkadot-bulletin",
"primitives/chain-rococo",
"primitives/chain-westend",
"primitives/chain-wococo",
"primitives/header-chain",
"primitives/messages",
"primitives/parachains",
Expand All @@ -46,14 +43,12 @@ members = [
"relays/client-bridge-hub-polkadot",
"relays/client-bridge-hub-rococo",
"relays/client-bridge-hub-westend",
"relays/client-bridge-hub-wococo",
"relays/client-kusama",
"relays/client-polkadot",
"relays/client-polkadot-bulletin",
"relays/client-rococo",
"relays/client-substrate",
"relays/client-westend",
"relays/client-wococo",
"relays/equivocation",
"relays/finality",
"relays/lib-substrate-relay",
Expand Down
3 changes: 0 additions & 3 deletions primitives/chain-asset-hub-rococo/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ pub use bp_xcm_bridge_hub_router::XcmBridgeHubRouterCall;
#[allow(clippy::large_enum_variant)]
#[derive(Encode, Decode, Debug, PartialEq, Eq, Clone, TypeInfo)]
pub enum Call {
/// `ToWococoXcmRouter` bridge pallet.
#[codec(index = 43)]
ToWococoXcmRouter(XcmBridgeHubRouterCall),
/// `ToWestendXcmRouter` bridge pallet.
#[codec(index = 45)]
ToWestendXcmRouter(XcmBridgeHubRouterCall),
Expand Down
26 changes: 0 additions & 26 deletions primitives/chain-asset-hub-wococo/Cargo.toml

This file was deleted.

48 changes: 0 additions & 48 deletions primitives/chain-asset-hub-wococo/src/lib.rs

This file was deleted.

2 changes: 1 addition & 1 deletion primitives/chain-bridge-hub-kusama/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bp-bridge-hub-kusama"
description = "Primitives of BridgeHubRococo parachain runtime."
description = "Primitives of BridgeHubKusama parachain runtime."
version = "0.1.0"
authors.workspace = true
edition.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion primitives/chain-bridge-hub-polkadot/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bp-bridge-hub-polkadot"
description = "Primitives of BridgeHubWococo parachain runtime."
description = "Primitives of BridgeHubPolkadot parachain runtime."
version = "0.1.0"
authors.workspace = true
edition.workspace = true
Expand Down
3 changes: 0 additions & 3 deletions primitives/chain-bridge-hub-rococo/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,6 @@ pub const WITH_BRIDGE_HUB_ROCOCO_MESSAGES_PALLET_NAME: &str = "BridgeRococoMessa
/// chains.
pub const WITH_BRIDGE_HUB_ROCOCO_RELAYERS_PALLET_NAME: &str = "BridgeRelayers";

/// Pallet index of `BridgeWococoMessages: pallet_bridge_messages::<Instance1>`.
pub const WITH_BRIDGE_ROCOCO_TO_WOCOCO_MESSAGES_PALLET_INDEX: u8 = 46;

/// Pallet index of `BridgeWestendMessages: pallet_bridge_messages::<Instance3>`.
pub const WITH_BRIDGE_ROCOCO_TO_WESTEND_MESSAGES_PALLET_INDEX: u8 = 51;

Expand Down
34 changes: 0 additions & 34 deletions primitives/chain-bridge-hub-wococo/Cargo.toml

This file was deleted.

0 comments on commit 653448f

Please sign in to comment.