Skip to content

Commit

Permalink
Move relay clients to separate folder (paritytech#2893)
Browse files Browse the repository at this point in the history
  • Loading branch information
serban300 authored Mar 25, 2024
1 parent 4bc73d8 commit a6bac6b
Show file tree
Hide file tree
Showing 69 changed files with 94 additions and 94 deletions.
22 changes: 11 additions & 11 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,23 +37,23 @@ members = [
"primitives/test-utils",
"primitives/xcm-bridge-hub",
"primitives/xcm-bridge-hub-router",
"relays/bin-substrate",
"relays/client-bridge-hub-kusama",
"relays/client-bridge-hub-polkadot",
"relays/client-bridge-hub-rococo",
"relays/client-bridge-hub-westend",
"relays/client-kusama",
"relays/client-polkadot",
"relays/client-polkadot-bulletin",
"relays/client-rococo",
"relay-clients/client-bridge-hub-kusama",
"relay-clients/client-bridge-hub-polkadot",
"relay-clients/client-bridge-hub-rococo",
"relay-clients/client-bridge-hub-westend",
"relay-clients/client-kusama",
"relay-clients/client-polkadot",
"relay-clients/client-polkadot-bulletin",
"relay-clients/client-rococo",
"relay-clients/client-westend",
"relays/client-substrate",
"relays/client-westend",
"relays/equivocation",
"relays/finality",
"relays/lib-substrate-relay",
"relays/messages",
"relays/parachains",
"relays/utils"
"relays/utils",
"substrate-relay",
]

# Setup clippy lints as `polkadot-sdk`,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ bp-parachains = { path = "../../primitives/parachains" }
bp-polkadot = { path = "../../chains/chain-polkadot" }
bp-polkadot-core = { path = "../../primitives/polkadot-core" }
bridge-runtime-common = { path = "../../bin/runtime-common" }
relay-substrate-client = { path = "../client-substrate" }
relay-substrate-client = { path = "../../relays/client-substrate" }

# Substrate Dependencies

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ bp-polkadot-core = { path = "../../primitives/polkadot-core" }
bp-kusama = { path = "../../chains/chain-kusama" }
bp-runtime = { path = "../../primitives/runtime" }
bridge-runtime-common = { path = "../../bin/runtime-common" }
relay-substrate-client = { path = "../client-substrate" }
relay-substrate-client = { path = "../../relays/client-substrate" }

# Substrate Dependencies

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ bp-polkadot-core = { path = "../../primitives/polkadot-core" }
bp-runtime = { path = "../../primitives/runtime" }

bridge-runtime-common = { path = "../../bin/runtime-common" }
relay-substrate-client = { path = "../client-substrate" }
relay-substrate-client = { path = "../../relays/client-substrate" }

# Substrate Dependencies

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ bp-polkadot-core = { path = "../../primitives/polkadot-core" }
bp-rococo = { path = "../../chains/chain-rococo" }

bridge-runtime-common = { path = "../../bin/runtime-common" }
relay-substrate-client = { path = "../client-substrate" }
relay-substrate-client = { path = "../../relays/client-substrate" }

# Substrate Dependencies

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ bp-kusama = { path = "../../chains/chain-kusama" }
bp-polkadot-core = { path = "../../primitives/polkadot-core" }
bp-runtime = { path = "../../primitives/runtime" }

relay-substrate-client = { path = "../client-substrate" }
relay-utils = { path = "../utils" }
relay-substrate-client = { path = "../../relays/client-substrate" }
relay-utils = { path = "../../relays/utils" }

# Substrate Dependencies

Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ bp-polkadot-core = { path = "../../primitives/polkadot-core" }
bp-polkadot-bulletin = { path = "../../chains/chain-polkadot-bulletin" }
bp-runtime = { path = "../../primitives/runtime" }
bridge-runtime-common = { path = "../../bin/runtime-common" }
relay-substrate-client = { path = "../client-substrate" }
relay-utils = { path = "../utils" }
relay-substrate-client = { path = "../../relays/client-substrate" }
relay-utils = { path = "../../relays/utils" }

# Substrate Dependencies

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ bp-polkadot = { path = "../../chains/chain-polkadot" }
bp-polkadot-core = { path = "../../primitives/polkadot-core" }
bp-runtime = { path = "../../primitives/runtime" }

relay-substrate-client = { path = "../client-substrate" }
relay-utils = { path = "../utils" }
relay-substrate-client = { path = "../../relays/client-substrate" }
relay-utils = { path = "../../relays/utils" }

# Substrate Dependencies

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ subxt = { version = "0.32.1", default-features = false, features = ["native"] }
bp-polkadot-core = { path = "../../primitives/polkadot-core" }
bp-rococo = { path = "../../chains/chain-rococo" }

relay-substrate-client = { path = "../client-substrate" }
relay-utils = { path = "../utils" }
relay-substrate-client = { path = "../../relays/client-substrate" }
relay-utils = { path = "../../relays/utils" }

# Substrate Dependencies

Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ bp-polkadot-core = { path = "../../primitives/polkadot-core" }
bp-runtime = { path = "../../primitives/runtime" }
bp-westend = { path = "../../chains/chain-westend" }

relay-substrate-client = { path = "../client-substrate" }
relay-utils = { path = "../utils" }
relay-substrate-client = { path = "../../relays/client-substrate" }
relay-utils = { path = "../../relays/utils" }

# Substrate Dependencies

Expand Down
File renamed without changes.
66 changes: 0 additions & 66 deletions relays/bin-substrate/Cargo.toml

This file was deleted.

6 changes: 3 additions & 3 deletions relays/lib-substrate-relay/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@ sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "mas
[dev-dependencies]
bp-rococo = { path = "../../chains/chain-rococo" }
pallet-transaction-payment = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master" }
relay-bridge-hub-rococo-client = { path = "../client-bridge-hub-rococo" }
relay-bridge-hub-westend-client = { path = "../client-bridge-hub-westend" }
relay-rococo-client = { path = "../client-rococo" }
relay-bridge-hub-rococo-client = { path = "../../relay-clients/client-bridge-hub-rococo" }
relay-bridge-hub-westend-client = { path = "../../relay-clients/client-bridge-hub-westend" }
relay-rococo-client = { path = "../../relay-clients/client-rococo" }
66 changes: 66 additions & 0 deletions substrate-relay/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
[package]
name = "substrate-relay"
version = "1.2.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"

[lints]
workspace = true

[dependencies]
anyhow = "1.0"
async-std = "1.9.0"
async-trait = "0.1.79"
codec = { package = "parity-scale-codec", version = "3.1.5" }
env_logger = "0.11"
futures = "0.3.30"
hex = "0.4"
log = { workspace = true }
num-format = "0.4"
num-traits = "0.2"
rbtag = "0.3"
structopt = "0.3"
signal-hook = "0.3.15"
signal-hook-async-std = "0.2.2"
strum = { version = "0.26.2", features = ["derive"] }

# Bridge dependencies
bp-bridge-hub-polkadot = { path = "../chains/chain-bridge-hub-polkadot" }
bp-bridge-hub-rococo = { path = "../chains/chain-bridge-hub-rococo" }
bp-header-chain = { path = "../primitives/header-chain" }
bp-messages = { path = "../primitives/messages" }
bp-parachains = { path = "../primitives/parachains" }
bp-polkadot-bulletin = { path = "../chains/chain-polkadot-bulletin" }
bp-polkadot = { path = "../chains/chain-polkadot" }
bp-polkadot-core = { path = "../primitives/polkadot-core" }
bp-rococo = { path = "../chains/chain-rococo" }
bp-runtime = { path = "../primitives/runtime" }
bridge-runtime-common = { path = "../bin/runtime-common" }
pallet-bridge-parachains = { path = "../modules/parachains" }
parachains-relay = { path = "../relays/parachains" }
relay-bridge-hub-kusama-client = { path = "../relay-clients/client-bridge-hub-kusama" }
relay-bridge-hub-polkadot-client = { path = "../relay-clients/client-bridge-hub-polkadot" }
relay-bridge-hub-rococo-client = { path = "../relay-clients/client-bridge-hub-rococo" }
relay-bridge-hub-westend-client = { path = "../relay-clients/client-bridge-hub-westend" }
relay-kusama-client = { path = "../relay-clients/client-kusama" }
relay-polkadot-client = { path = "../relay-clients/client-polkadot" }
relay-polkadot-bulletin-client = { path = "../relay-clients/client-polkadot-bulletin" }
relay-rococo-client = { path = "../relay-clients/client-rococo" }
relay-substrate-client = { path = "../relays/client-substrate" }
relay-utils = { path = "../relays/utils" }
relay-westend-client = { path = "../relay-clients/client-westend" }
substrate-relay-helper = { path = "../relays/lib-substrate-relay" }

# Substrate Dependencies

frame-support = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master" }
sp-core = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master" }
sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master" }

[dev-dependencies]
bp-test-utils = { path = "../primitives/test-utils" }
hex-literal = "0.4"
sp-keyring = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master" }
tempfile = "3.10"
finality-grandpa = { version = "0.16.2" }
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit a6bac6b

Please sign in to comment.