Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
547b9e4
XCM over bridge pallet (won't ever be merged to this repo): initial c…
svyatonik Jun 16, 2023
e47c7a2
try both bridge-id and lane-id
svyatonik Jun 20, 2023
6dc203c
Merge branch 'master' into xcm-over-bridge
svyatonik Jun 21, 2023
6afea0f
flush
svyatonik Jun 21, 2023
98bd375
flush
svyatonik Jun 21, 2023
cef120d
flush
svyatonik Jun 22, 2023
a36fb70
flush
svyatonik Jun 22, 2023
e58b1b3
Merge branch 'master' into xcm-over-bridge
svyatonik Jun 22, 2023
63b921e
first prototype
svyatonik Jun 22, 2023
028e3fe
started working on xcm-over-bridge tests
svyatonik Jun 23, 2023
1633b1f
proper open_bridge_works test
svyatonik Jun 23, 2023
95be214
more open_bridge tests
svyatonik Jun 23, 2023
9d2834a
request_bridge_closure tests
svyatonik Jun 23, 2023
61c4b79
tests for close_bridge
svyatonik Jun 23, 2023
d2a466a
report_misbehavior tests
svyatonik Jun 23, 2023
d8d6f72
renaming xcm-over-bridge ad xcm-bridge-hub: we'll have two similar pa…
svyatonik Jun 30, 2023
5ff26d2
added couple of TODOs
svyatonik Jun 30, 2023
00712f6
moved BridgeQueuesState here + TODO for implementing report_bridge_qu…
svyatonik Jul 3, 2023
33b3265
Merge branch 'master' into xcm-over-bridge
svyatonik Jul 4, 2023
b4bd0ec
fixing TODOs
svyatonik Jul 4, 2023
7218410
fixing TODOs
svyatonik Jul 4, 2023
0f378c3
moved bridge locations to primitives
svyatonik Jul 4, 2023
393e0a6
added a couple of TODOs
svyatonik Jul 4, 2023
6523966
ref issue from TODO
svyatonik Jul 4, 2023
552cfcb
clippy and spelling
svyatonik Jul 4, 2023
f23b766
fix tests
svyatonik Jul 4, 2023
5aa1811
another TODOs
svyatonik Jul 4, 2023
97f800b
typo
svyatonik Jul 7, 2023
8bcee3c
LaneState -> force_close_bridge
svyatonik Jul 7, 2023
8389384
start_closing_the_bridge -> start_closing_bridge
svyatonik Jul 7, 2023
91c01b1
removed Closing bridge state, so now we only have the Opened -> optio…
svyatonik Jul 10, 2023
fa73097
spelling
svyatonik Jul 10, 2023
20a9533
started prototyping suspend+resume on misbehavior
svyatonik Jul 10, 2023
5be453d
continue prototyping
svyatonik Jul 10, 2023
9e27878
more tests for open_bridge
svyatonik Jul 10, 2023
2635816
more tests for close_bridge
svyatonik Jul 10, 2023
fe0f0c2
more tests for report_misbehavior
svyatonik Jul 10, 2023
32be0dc
started tests for resume_misbehaving_bridges
svyatonik Jul 10, 2023
ff4ba2c
implemented tests for resume_misbehaving_bridges
svyatonik Jul 11, 2023
9118116
remove UnsuspendedChannelWithMisbehavingOwner because now, when all b…
svyatonik Jul 11, 2023
3ca891a
added TODO
svyatonik Jul 11, 2023
9f47167
add comment re misbehavior reporter if he's associated with the bridg…
svyatonik Jul 11, 2023
19f7228
ignored clippy
svyatonik Jul 11, 2023
366838e
fmt
svyatonik Jul 11, 2023
86fbb66
use versioned XCM structs in public interfaces and storage + Box XCM …
svyatonik Jul 11, 2023
c8ae512
spelling
svyatonik Jul 11, 2023
7e06e4b
removed TODO in favor of https://github.com/paritytech/parity-bridges…
svyatonik Jul 11, 2023
64c1a58
LocalChannelManager -> LocalXcmChannelManager
svyatonik Jul 13, 2023
1717586
Merge branch 'master' into xcm-over-bridge
svyatonik Jul 13, 2023
5d7c5dc
removed code specific to #2233, because it isn't the only option now
svyatonik Jul 13, 2023
0052848
removemisbehavior mentions
svyatonik Jul 14, 2023
f62aa06
Revert "removemisbehavior mentions"
svyatonik Jul 14, 2023
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
38 changes: 38 additions & 0 deletions Cargo.lock

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

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ members = [
"modules/parachains",
"modules/relayers",
"modules/shift-session-manager",
"modules/xcm-bridge-hub",
"primitives/beefy",
"primitives/chain-bridge-hub-cumulus",
"primitives/chain-bridge-hub-kusama",
Expand All @@ -37,6 +38,7 @@ members = [
"primitives/relayers",
"primitives/runtime",
"primitives/test-utils",
"primitives/xcm-bridge-hub",
"relays/bin-substrate",
"relays/client-bridge-hub-kusama",
"relays/client-bridge-hub-polkadot",
Expand Down
57 changes: 57 additions & 0 deletions modules/xcm-bridge-hub/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
[package]
name = "pallet-xcm-bridge-hub"
description = "Module that adds dynamic bridges/lanes support to XCM infrastucture at the bridge hub."
version = "0.1.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"

[dependencies]
codec = { package = "parity-scale-codec", version = "3.1.5", default-features = false }
log = { version = "0.4.19", default-features = false }
scale-info = { version = "2.7.0", default-features = false, features = ["derive"] }

# Bridge Dependencies

bp-messages = { path = "../../primitives/messages", default-features = false }
bp-runtime = { path = "../../primitives/runtime", default-features = false }
bp-xcm-bridge-hub = { path = "../../primitives/xcm-bridge-hub", default-features = false }
pallet-bridge-messages = { path = "../messages", default-features = false }

# Substrate Dependencies

frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }

# Polkadot Dependencies

xcm = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false }
xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false }

[dev-dependencies]
pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" }
polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "master" }
sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" }
xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "master" }

[features]
default = ["std"]
std = [
"bp-messages/std",
"bp-runtime/std",
"codec/std",
"frame-support/std",
"frame-system/std",
"log/std",
"pallet-bridge-messages/std",
"scale-info/std",
"sp-core/std",
"sp-runtime/std",
"sp-std/std",
"xcm/std",
"xcm-executor/std",
]
runtime-benchmarks = []
Loading