Commit 1f8e448
Bridges V2 refactoring backport and
## Summary
This PR contains migrated code from the Bridges V2
[branch](#4427) from the
old `parity-bridges-common`
[repo](https://github.com/paritytech/parity-bridges-common/tree/bridges-v2).
Even though the PR looks large, it does not (or should not) contain any
significant changes (also not relevant for audit).
This PR is a requirement for permissionless lanes, as they were
implemented on top of these changes.
## TODO
- [x] generate fresh weights for BridgeHubs
- [x] run `polkadot-fellows` bridges zombienet tests with actual runtime
1.2.5. or 1.2.6 to check compatibility
- ☑️ working, checked with 1.2.8 fellows BridgeHubs
- [x] run `polkadot-sdk` bridges zombienet tests
- ☑️ with old relayer in CI (1.6.5)
- [x] run `polkadot-sdk` bridges zombienet tests (locally) - with the
relayer based on this branch -
paritytech/parity-bridges-common#3022
- [x] check/fix relayer companion in bridges repo -
paritytech/parity-bridges-common#3022
- [x] extract pruning stuff to separate PR
#4944
Relates to:
paritytech/parity-bridges-common#2976
Relates to:
paritytech/parity-bridges-common#2451
---------
Signed-off-by: Branislav Kontur <bkontur@gmail.com>
Co-authored-by: Serban Iorga <serban@parity.io>
Co-authored-by: Svyatoslav Nikolsky <svyatonik@gmail.com>
Co-authored-by: command-bot <>pallet_bridge_messages simplifications (#4935)1 parent 2a555c3 commit 1f8e448
108 files changed
Lines changed: 4708 additions & 4639 deletions
File tree
- bridges
- bin/runtime-common
- src
- extensions
- chains
- chain-bridge-hub-kusama/src
- chain-bridge-hub-polkadot/src
- chain-bridge-hub-rococo/src
- chain-bridge-hub-westend/src
- chain-kusama/src
- chain-polkadot-bulletin/src
- chain-polkadot/src
- chain-rococo/src
- chain-westend/src
- modules
- beefy/src
- grandpa
- src
- messages
- src
- tests
- parachains
- src
- relayers/src
- xcm-bridge-hub/src
- primitives
- header-chain/src
- messages/src
- polkadot-core/src
- runtime
- src
- test-utils
- src
- relays
- client-substrate
- src
- client
- finality/src
- lib-substrate-relay
- src
- cli
- relay_headers_and_messages
- messages
- on_demand
- parachains
- messages
- parachains/src
- cumulus/parachains/runtimes
- assets
- asset-hub-rococo/src/weights
- asset-hub-westend/src/weights
- bridge-hubs
- bridge-hub-rococo
- src
- weights
- xcm
- tests
- bridge-hub-westend
- src
- weights
- xcm
- tests
- test-utils
- src
- test_cases
- test_data
- docker/dockerfiles
- prdoc
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
22 | | - | |
23 | 21 | | |
24 | 22 | | |
25 | 23 | | |
| |||
34 | 32 | | |
35 | 33 | | |
36 | 34 | | |
37 | | - | |
38 | 35 | | |
39 | 36 | | |
40 | 37 | | |
41 | 38 | | |
42 | | - | |
43 | | - | |
44 | 39 | | |
45 | 40 | | |
46 | 41 | | |
47 | | - | |
| 42 | + | |
48 | 43 | | |
49 | 44 | | |
50 | 45 | | |
51 | 46 | | |
52 | 47 | | |
53 | 48 | | |
54 | | - | |
55 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
56 | 52 | | |
57 | 53 | | |
58 | 54 | | |
| |||
63 | 59 | | |
64 | 60 | | |
65 | 61 | | |
| 62 | + | |
66 | 63 | | |
67 | 64 | | |
68 | 65 | | |
69 | 66 | | |
70 | 67 | | |
71 | | - | |
72 | 68 | | |
| 69 | + | |
73 | 70 | | |
74 | 71 | | |
75 | 72 | | |
76 | 73 | | |
77 | 74 | | |
78 | 75 | | |
79 | 76 | | |
80 | | - | |
81 | | - | |
82 | 77 | | |
83 | 78 | | |
84 | 79 | | |
| |||
88 | 83 | | |
89 | 84 | | |
90 | 85 | | |
| 86 | + | |
91 | 87 | | |
92 | 88 | | |
93 | 89 | | |
94 | 90 | | |
95 | 91 | | |
| 92 | + | |
96 | 93 | | |
97 | 94 | | |
98 | 95 | | |
99 | 96 | | |
| 97 | + | |
100 | 98 | | |
101 | 99 | | |
102 | 100 | | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
319 | 319 | | |
320 | 320 | | |
321 | 321 | | |
| 322 | + | |
322 | 323 | | |
323 | 324 | | |
324 | 325 | | |
| |||
339 | 340 | | |
340 | 341 | | |
341 | 342 | | |
342 | | - | |
| 343 | + | |
343 | 344 | | |
344 | 345 | | |
345 | 346 | | |
| |||
0 commit comments