This repository was archived by the owner on Aug 15, 2025. It is now read-only.
Commit 4c850e8
Inline execution update into proof of inbound message & Remove execution header storage (#125)
* Remove execution header storage & submit inbound message with execution update
* Fix ci breaking
* More refactoring
* Update beacon test fixtures
* Format code
* Initialize storage with finalized checkpoint for benchmark
* Update weights include verify the execution proof
* Fix breaking test
* Remove fixture not in use
* Add detail for InvalidExecutionProof
* Initialize checkpoint for tests on demand
* Revert error as NotBootstrapped for submit_update_with_missing_bootstrap
* Add verify_execution_header tests back
* Add error test back
* Cleanup templates
* Update bridges/snowbridge/primitives/beacon/src/types.rs
Co-authored-by: Vincent Geddes <vincent@snowfork.com>
* Narrowed inputs
* Remove fields irrelevant from proof
* Update bridges/snowbridge/primitives/core/src/inbound.rs
Co-authored-by: Vincent Geddes <vincent@snowfork.com>
* Update bridges/snowbridge/pallets/ethereum-client/src/impls.rs
Co-authored-by: Vincent Geddes <vincent@snowfork.com>
* Polish
---------
Co-authored-by: Vincent Geddes <vincent@snowfork.com>1 parent 8be52c9 commit 4c850e8
36 files changed
Lines changed: 1224 additions & 1196 deletions
File tree
- bridges/snowbridge
- pallets
- ethereum-client
- fixtures/src
- src
- benchmarking
- tests/fixtures
- inbound-queue
- fixtures/src
- src
- benchmarking
- primitives
- beacon/src
- core/src
- runtime/test-common/src
- templates
- cumulus/parachains
- integration-tests/emulated/tests/bridges/bridge-hub-rococo/src/tests
- runtimes/bridge-hubs/bridge-hub-rococo/src
- weights
Lines changed: 180 additions & 94 deletions
Large diffs are not rendered by default.
Lines changed: 0 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | 68 | | |
87 | 69 | | |
88 | 70 | | |
| |||
Lines changed: 103 additions & 35 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
| |||
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
| 19 | + | |
| 20 | + | |
22 | 21 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
43 | 26 | | |
44 | 27 | | |
45 | 28 | | |
| |||
53 | 36 | | |
54 | 37 | | |
55 | 38 | | |
56 | | - | |
57 | | - | |
| 39 | + | |
58 | 40 | | |
59 | 41 | | |
60 | 42 | | |
61 | 43 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | 44 | | |
69 | 45 | | |
70 | 46 | | |
| |||
74 | 50 | | |
75 | 51 | | |
76 | 52 | | |
77 | | - | |
| 53 | + | |
78 | 54 | | |
79 | | - | |
| 55 | + | |
80 | 56 | | |
81 | 57 | | |
82 | 58 | | |
| |||
90 | 66 | | |
91 | 67 | | |
92 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
93 | 161 | | |
0 commit comments