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

[bridges-v2] Permissionless lanes #4949

Merged
merged 105 commits into from
Sep 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
105 commits
Select commit Hold shift + click to select a range
1a76f1c
CI fixes
bkontur Jul 3, 2024
712a690
prune messages from confirmation tx, not from the on_idle (#2211)
bkontur Jul 4, 2024
1251505
Added `do_try_state_for_outbound_lanes` which checks unpruned messages
bkontur Jul 4, 2024
0feaa40
".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…
Jul 4, 2024
4cbe637
".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…
Jul 4, 2024
d7f4f43
Add state to message lanes (#2214)
svyatonik Jun 20, 2023
7a50472
Change LaneId underlying type from [u8; 4] to H256 (#2221)
svyatonik Jun 22, 2023
4f0dc6a
Introduce MessagesLaneManager (#2227)
svyatonik Jul 3, 2023
0ba297e
Backport from staging (#2243)
bkontur Jul 4, 2023
963382e
Allow delivery confirmations on closed outbound lanes (#2257)
svyatonik Jul 11, 2023
1b372c1
remove internal code that pretends to support cross-lane delivery tra…
svyatonik Jul 13, 2023
71ee52b
introduce partial bp-xcm-bridge-hub - just LocalXcmChannelManager (#2…
svyatonik Jul 13, 2023
dcbe134
XCM bridge hub pallet (will be deployed at bridge hubs) (#2213)
svyatonik Jul 17, 2023
23c04f3
Implement ExportXcm and MessageDispatch for pallet-xcm-bridge-hub (#2…
svyatonik Jul 20, 2023
6756a25
Implement additional require primitives for dynamic fees directly for…
svyatonik Aug 1, 2023
0b481d8
emit events from bridge hub router (#2760)
svyatonik Dec 27, 2023
0c3eaf8
use saturating_len where possible (#2316)
svyatonik Aug 2, 2023
3ab2661
move messages_call_ext.rs from bridge-runtime-common to pallet-bridge…
svyatonik Sep 22, 2023
e0bc5bd
moved all call-related definitions to primitives (#2583)
svyatonik Sep 25, 2023
b22c01e
Move refund extension to relayers pallet (#2584)
svyatonik Sep 28, 2023
542e0a7
Backport recent changes from polkadot staging (#2590)
svyatonik Sep 28, 2023
9352d45
Fixed "TODO:(bridges-v2) - most of that stuff was introduced with fre…
bkontur Jul 16, 2024
8936da7
Rename `BridgeReserve` to `BridgeDeposit`
bkontur Jul 16, 2024
53cf059
use `fungible` for `pallet-xcm-bridge-hub` plus other nits
bkontur Jul 16, 2024
d6d8b2c
Adjusted BH runtimes to the latest vogue
bkontur Jul 17, 2024
aee6db8
Added `open_and_close_bridge_work` test case (+ to the BridgeHub tests)
bkontur Jul 22, 2024
10b39cd
More tests fixing
bkontur Jul 23, 2024
1ffd99d
Unnecessary `XcmExportFeeToRelayerRewardAccounts` + more tests fixes
bkontur Jul 25, 2024
50cc635
More clean up
bkontur Jul 25, 2024
72bf124
Remove `Default` from `LaneId` and `BridgeId`
bkontur Jul 26, 2024
fb819e0
Make `LaneId` backwards compatible - part 1
bkontur Jul 26, 2024
692b80b
Disconnect `BridgeId` and `LaneId` to be able fix backwards compatibl…
bkontur Jul 29, 2024
a3554f7
More fixes and `do_try_state_for_bridge`
bkontur Jul 29, 2024
0739367
WIP: cleanup
bkontur Jul 29, 2024
bb91688
WIP: fix runtime tests
bkontur Jul 30, 2024
f1573d7
Finally, fixed `pallet_xcm_bridge_hub::exporter` and `ExportXcm` impl
bkontur Jul 30, 2024
681aec0
Add `AllowWithoutBridgeDeposit` feature
bkontur Jul 30, 2024
4f2beee
Rename reserve to deposit + test cleanup
bkontur Jul 30, 2024
32690b7
Adjust AssetHubs
bkontur Jul 30, 2024
294523d
More validations for LaneId
bkontur Jul 30, 2024
d6e2136
Fixing integration tests + added stubs for open/close_bridge calls
bkontur Jul 30, 2024
7a8098f
zepter/taplo
bkontur Jul 30, 2024
61bc9cc
Adjust base fee constants
bkontur Jul 30, 2024
4e1fec4
CI nits
bkontur Jul 30, 2024
5e1be0b
CI clippy
bkontur Jul 30, 2024
74e0bcf
Clippy
bkontur Jul 31, 2024
9a2202a
toml
bkontur Jul 31, 2024
5a60c86
Add pallet's README.md
bkontur Jul 31, 2024
e19b1e5
Fix BridgeHub benchmarks
bkontur Jul 31, 2024
0b8d920
Moved README.md to the lib.rs
bkontur Jul 31, 2024
956f347
Imports
bkontur Jul 31, 2024
0f4a4b3
Fixing integration tests + added stubs for open/close_bridge calls
bkontur Jul 30, 2024
d442936
Fix BridgeHub benchmarks for export_message
bkontur Jul 31, 2024
d463d01
Fix `pallet_bridge_messages` benchmarks
bkontur Jul 31, 2024
9341a25
Merge remote-tracking branch 'origin/master' into bko-bridges-v2-perm…
bkontur Aug 12, 2024
d4506d5
Merge branch 'master' into bko-bridges-v2-permissionless-lanes
bkontur Aug 13, 2024
bbe088c
Fix feature propagation and cargo check CI
bkontur Aug 13, 2024
b0f360c
Allow empty migration for CI
bkontur Aug 13, 2024
6c8645e
Merge remote-tracking branch 'origin/master' into bko-bridges-v2-perm…
bkontur Aug 13, 2024
ad93c2b
Removed unneeded `_phantom` (for Cisco)
bkontur Aug 13, 2024
2b5c43f
Added storage_version and migration for `pallet_bridge_messages`
bkontur Aug 14, 2024
2b6c21e
Improved and more strict `try_state` for `pallet_xcm_bridge_hub`
bkontur Aug 14, 2024
45b5659
Added migration from static to dynamic lanes for AssetHubs
bkontur Aug 14, 2024
2f57da9
Added migrations to the BridgeHub testnets
bkontur Aug 14, 2024
63c0e8e
Merge remote-tracking branch 'origin/master' into bko-bridges-v2-perm…
bkontur Aug 14, 2024
a4905d1
Fix `craft_valid_storage_proof`
bkontur Aug 14, 2024
e94f48a
Merge remote-tracking branch 'origin/master' into bko-bridges-v2-perm…
bkontur Aug 15, 2024
40b20ff
Actually, just revert for `craft_valid_storage_proof`
bkontur Aug 15, 2024
ab2b4be
".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…
Aug 15, 2024
d6f0f06
".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…
Aug 15, 2024
6f20439
".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…
Aug 15, 2024
1837a23
".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…
Aug 15, 2024
0d30f75
".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…
Aug 15, 2024
6d15dd4
".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…
Aug 15, 2024
8d09b62
".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…
Aug 15, 2024
0154d8f
".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…
Aug 15, 2024
ffa8cdf
".git/.scripts/commands/bench/bench.sh" --subcommand=xcm --runtime=br…
Aug 15, 2024
57e45ee
".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…
Aug 15, 2024
c6efc1f
".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…
Aug 15, 2024
6074e62
".git/.scripts/commands/bench/bench.sh" --subcommand=xcm --runtime=br…
Aug 15, 2024
048955f
".git/.scripts/commands/bench/bench.sh" --subcommand=xcm --runtime=as…
Aug 15, 2024
e7c5d9d
".git/.scripts/commands/bench/bench.sh" --subcommand=xcm --runtime=as…
Aug 15, 2024
b30bd99
".git/.scripts/commands/bench/bench.sh" --subcommand=xcm --runtime=as…
Aug 15, 2024
fc57334
".git/.scripts/commands/bench/bench.sh" --subcommand=xcm --runtime=as…
Aug 15, 2024
2ac82eb
Merge branch 'master' into bko-bridges-v2-permissionless-lanes
bkontur Aug 15, 2024
f57769f
Update bridges/modules/xcm-bridge-hub-router/src/lib.rs
bkontur Aug 15, 2024
afc560d
Update bridges/modules/xcm-bridge-hub/src/exporter.rs
bkontur Aug 15, 2024
c408b61
Update bridges/modules/xcm-bridge-hub/src/lib.rs
bkontur Aug 15, 2024
507d993
Doc nit
bkontur Aug 15, 2024
3b019fc
Merge remote-tracking branch 'origin/master' into bko-bridges-v2-perm…
bkontur Aug 15, 2024
ede990b
Added `#[serde(skip)]` for phantom
bkontur Aug 15, 2024
617c365
Update bridges/modules/xcm-bridge-hub/src/lib.rs
bkontur Aug 15, 2024
ea9adbb
Removed `#[pallet::getter(fn lane_to_bridge)]`
bkontur Aug 15, 2024
fa60d26
Apply _phantom
bkontur Aug 15, 2024
afa2956
Apply _phantom - revert pub
bkontur Aug 16, 2024
3a6bfaf
Merge remote-tracking branch 'origin/master' into bko-bridges-v2-perm…
bkontur Aug 16, 2024
b974795
Updated doc example
bkontur Aug 16, 2024
88cb019
Merge remote-tracking branch 'origin/master' into bko-bridges-v2-perm…
bkontur Sep 2, 2024
351ae31
prdoc draft
bkontur Sep 2, 2024
01344b8
Removed `FAIL-CI` for unused `BridgeHubOrigin`
bkontur Sep 2, 2024
cf5bc06
Removed `FAIL-CI` for missing benchmarks and replaced with github issue
bkontur Sep 2, 2024
935e87a
Removed `FAIL-CI` for congestion and replaced with github issue https…
bkontur Sep 2, 2024
513aa6a
Only PeopleRococo can manage channel to the bulletin
bkontur Sep 2, 2024
4929d4e
Merge remote-tracking branch 'origin/master' into bko-bridges-v2-perm…
bkontur Sep 2, 2024
a0837d9
prdoc fixes
bkontur Sep 2, 2024
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
44 changes: 41 additions & 3 deletions Cargo.lock

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

17 changes: 7 additions & 10 deletions bridges/bin/runtime-common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ bp-polkadot-core = { workspace = true }
bp-relayers = { workspace = true }
bp-runtime = { workspace = true }
bp-xcm-bridge-hub = { workspace = true }
bp-xcm-bridge-hub-router = { workspace = true }
pallet-bridge-grandpa = { workspace = true }
pallet-bridge-messages = { workspace = true }
pallet-bridge-parachains = { workspace = true }
Expand All @@ -43,12 +42,15 @@ sp-trie = { optional = true, workspace = true }

# Polkadot dependencies
xcm = { workspace = true }
xcm-builder = { workspace = true }

[dev-dependencies]
bp-test-utils = { workspace = true }
pallet-balances = { workspace = true }
pallet-bridge-messages = { features = ["std", "test-helpers"], workspace = true }
pallet-bridge-messages = { features = [
"std",
"test-helpers",
], workspace = true }
sp-core = { workspace = true }

[features]
default = ["std"]
Expand All @@ -60,7 +62,6 @@ std = [
"bp-relayers/std",
"bp-runtime/std",
"bp-test-utils/std",
"bp-xcm-bridge-hub-router/std",
"bp-xcm-bridge-hub/std",
"codec/std",
"frame-support/std",
Expand All @@ -74,12 +75,12 @@ std = [
"pallet-transaction-payment/std",
"pallet-utility/std",
"scale-info/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"sp-trie/std",
"tuplex/std",
"xcm-builder/std",
"xcm/std",
]
runtime-benchmarks = [
Expand All @@ -95,10 +96,6 @@ runtime-benchmarks = [
"pallet-utility/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"sp-trie",
"xcm-builder/runtime-benchmarks",
]
integrity-test = ["static_assertions"]
test-helpers = [
"bp-runtime/test-helpers",
"sp-trie",
]
test-helpers = ["bp-runtime/test-helpers", "sp-trie"]
Loading
Loading