Commit a6799c0
Moving messages code to pallet (#2180)
* moved files around
* and fix compilation
Move Chain::ID from relay-level Chain to primitives-level Chain (#2181)
* move Chain::ID from relay-level Chain to primitives-level Chain
* removed chain IDs from bp-runtime
* add missing file header
Adjust weights (#2185)
fix clippy (#2186)
Remove source header chain (#2183)
* moved messages proof verification to messages pallet
* removed SourceHeaderChain
* cleanup
* benchmarks compilation
* fix benchmark tests compilation
* clippy
* fmt
Use compact proofs for messages delivery confirmation (#2187)
* Use compact proofs for messages delivery confirmation
* Fix benchmarks
Move messages delivery proof verification to pallet (#2189)
* rename messages_proof.rs to proofs.rs
* moved delivery proof verification to the messages pallet
* removed TargetHeaderChain
* cleaning up
* fixed benchmarks compilation
* Update modules/messages/README.md
Co-authored-by: Adrian Catangiu <[email protected]>
* uncommented test and removed printlns
* vec![].into_iter().collect() -> vec![].into()
---------
Co-authored-by: Adrian Catangiu <[email protected]>
removed MaxUnrewardedRelayerEntriesAtInboundLane and MaxUnconfirmedMessagesAtInboundLane from messages pallet config (#2190)
* removed MaxUnrewardedRelayerEntriesAtInboundLane and MaxUnconfirmedMessagesAtInboundLane from messages pallet config
* fixed doc
* fixed benchmarking code
* more fixes
remove MaximalOutboundPayloadSize and use BridgedChain::maximal_incomging_message_size instead (#2191)
remove MessageBridge trait (#2192)1 parent 57368d5 commit a6799c0
File tree
33 files changed
+3636
-2775
lines changed- bridges
- bin/runtime-common
- src
- extensions
- modules
- messages
- src
- tests
- relayers/src
- xcm-bridge-hub/src
- primitives
- messages/src
- runtime/src
- relays/lib-substrate-relay/src/messages
33 files changed
+3636
-2775
lines changedSome 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 | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| |||
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
| 97 | + | |
96 | 98 | | |
97 | 99 | | |
98 | 100 | | |
| |||
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 | | |
| |||
Lines changed: 33 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
293 | 293 | | |
294 | 294 | | |
295 | 295 | | |
296 | | - | |
| 296 | + | |
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
| |||
406 | 406 | | |
407 | 407 | | |
408 | 408 | | |
409 | | - | |
410 | | - | |
| 409 | + | |
411 | 410 | | |
412 | 411 | | |
413 | 412 | | |
| |||
1163 | 1162 | | |
1164 | 1163 | | |
1165 | 1164 | | |
1166 | | - | |
| 1165 | + | |
1167 | 1166 | | |
1168 | 1167 | | |
1169 | 1168 | | |
| |||
1326 | 1325 | | |
1327 | 1326 | | |
1328 | 1327 | | |
1329 | | - | |
1330 | | - | |
| 1328 | + | |
| 1329 | + | |
| 1330 | + | |
| 1331 | + | |
1331 | 1332 | | |
1332 | 1333 | | |
1333 | 1334 | | |
| |||
1396 | 1397 | | |
1397 | 1398 | | |
1398 | 1399 | | |
1399 | | - | |
1400 | | - | |
| 1400 | + | |
| 1401 | + | |
| 1402 | + | |
| 1403 | + | |
1401 | 1404 | | |
1402 | 1405 | | |
1403 | 1406 | | |
| |||
1458 | 1461 | | |
1459 | 1462 | | |
1460 | 1463 | | |
1461 | | - | |
1462 | | - | |
| 1464 | + | |
| 1465 | + | |
| 1466 | + | |
| 1467 | + | |
1463 | 1468 | | |
1464 | 1469 | | |
1465 | 1470 | | |
| |||
1498 | 1503 | | |
1499 | 1504 | | |
1500 | 1505 | | |
1501 | | - | |
1502 | | - | |
| 1506 | + | |
| 1507 | + | |
| 1508 | + | |
| 1509 | + | |
1503 | 1510 | | |
1504 | 1511 | | |
1505 | 1512 | | |
| |||
1734 | 1741 | | |
1735 | 1742 | | |
1736 | 1743 | | |
1737 | | - | |
1738 | | - | |
1739 | | - | |
1740 | | - | |
1741 | | - | |
1742 | | - | |
1743 | | - | |
1744 | | - | |
| 1744 | + | |
| 1745 | + | |
| 1746 | + | |
| 1747 | + | |
| 1748 | + | |
| 1749 | + | |
| 1750 | + | |
| 1751 | + | |
| 1752 | + | |
| 1753 | + | |
1745 | 1754 | | |
1746 | 1755 | | |
1747 | 1756 | | |
| |||
2864 | 2873 | | |
2865 | 2874 | | |
2866 | 2875 | | |
2867 | | - | |
| 2876 | + | |
| 2877 | + | |
2868 | 2878 | | |
2869 | 2879 | | |
2870 | 2880 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
| 22 | + | |
26 | 23 | | |
27 | 24 | | |
28 | 25 | | |
| |||
50 | 47 | | |
51 | 48 | | |
52 | 49 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | 50 | | |
71 | 51 | | |
72 | 52 | | |
73 | 53 | | |
74 | 54 | | |
75 | 55 | | |
76 | 56 | | |
77 | | - | |
78 | 57 | | |
79 | 58 | | |
80 | 59 | | |
81 | 60 | | |
82 | 61 | | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
| 62 | + | |
88 | 63 | | |
89 | 64 | | |
90 | 65 | | |
91 | | - | |
| 66 | + | |
92 | 67 | | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
| 68 | + | |
| 69 | + | |
97 | 70 | | |
98 | 71 | | |
99 | 72 | | |
100 | 73 | | |
101 | 74 | | |
102 | | - | |
| 75 | + | |
103 | 76 | | |
104 | 77 | | |
105 | 78 | | |
| |||
108 | 81 | | |
109 | 82 | | |
110 | 83 | | |
111 | | - | |
112 | 84 | | |
113 | 85 | | |
114 | 86 | | |
115 | 87 | | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | 88 | | |
122 | 89 | | |
123 | 90 | | |
124 | | - | |
125 | 91 | | |
126 | 92 | | |
127 | 93 | | |
| |||
184 | 150 | | |
185 | 151 | | |
186 | 152 | | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | 153 | | |
200 | | - | |
| 154 | + | |
201 | 155 | | |
202 | 156 | | |
203 | 157 | | |
| |||
207 | 161 | | |
208 | 162 | | |
209 | 163 | | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | 164 | | |
224 | 165 | | |
225 | 166 | | |
| |||
238 | 179 | | |
239 | 180 | | |
240 | 181 | | |
241 | | - | |
| 182 | + | |
242 | 183 | | |
243 | | - | |
244 | 184 | | |
245 | 185 | | |
246 | 186 | | |
247 | 187 | | |
248 | | - | |
249 | 188 | | |
250 | 189 | | |
251 | 190 | | |
| |||
265 | 204 | | |
266 | 205 | | |
267 | 206 | | |
268 | | - | |
269 | | - | |
270 | 207 | | |
271 | 208 | | |
272 | 209 | | |
273 | 210 | | |
274 | 211 | | |
275 | 212 | | |
276 | | - | |
| 213 | + | |
277 | 214 | | |
278 | 215 | | |
279 | 216 | | |
280 | 217 | | |
281 | 218 | | |
282 | 219 | | |
283 | | - | |
284 | 220 | | |
285 | 221 | | |
286 | 222 | | |
287 | | - | |
288 | | - | |
| 223 | + | |
| 224 | + | |
289 | 225 | | |
290 | 226 | | |
291 | 227 | | |
292 | 228 | | |
293 | | - | |
| 229 | + | |
294 | 230 | | |
295 | 231 | | |
296 | 232 | | |
| |||
309 | 245 | | |
310 | 246 | | |
311 | 247 | | |
312 | | - | |
313 | | - | |
| 248 | + | |
| 249 | + | |
314 | 250 | | |
315 | 251 | | |
316 | 252 | | |
317 | 253 | | |
318 | | - | |
| 254 | + | |
319 | 255 | | |
320 | 256 | | |
321 | 257 | | |
| |||
0 commit comments