Commit b750c56
Feat/e2e test (#60)
* refactor node process
* refactor node, broadcaster
* refactor provider
* refactor merkle, types
* refactor db
* refactor executor
* add migration function
* change iterate name & append splitter to key when iterating
* add LastProcessedBlockHeightKey migration
* only change key if it exists
* wrap errors to clarify them
* wrap errors on key, provider
* wrap errors & merge main
* makes log as production & add log-format flag
* fix reverse iterate finding prev inclusive start key
* db test
* db stage test
* save finalized tree when it exists
* merge cmd
* merkle test
* merkle types test
* host deposit & txhandler test
* host handler test
* keys test
* txutil test
* child deposit oracle test
* refactor child db and add l2 sequence checker into handleInitiateWithdrawal and test
* prepare tree, output test
* add version to working tree info & child withdrawal test
* child handle output test
* child db handler query test
* executor types test
* format
* delete oracle msg data from authz msg & oracle test
* update batch info test
* batch test
* add timestamp & tx hash to withdrawals (#54)
* add timestamp & tx hash to withdrawals
* fix test and lint
* delete last block height
---------
Co-authored-by: beer-1 <[email protected]>
* format
* add batch handler test & fix checkbatch test
* add some comments
* e2e interchaintest setup
* add test-e2e to makefile
* add syncing query
* simple deposit e2e test
* syncing query
* create connect sidecar container & connect it to l1
* multiple txs e2e test
* reconnect node test
* batch reconstruction test
* tx check err fix
* format
* bug fix: set bech32 prefix to sdk config before building tx
* use celestia custom tx building function
* celestia batch reconstruction test
* add celestia version to readme
* increment page
* Update executor/querier.go
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* sync nil check
* check msg type url in msgexec
* authz msg length check
* authz msg length check
* increase timeout of e2e test & add minor comments & add e2e to codecov ignore
* address function return decoded address
---------
Co-authored-by: beer-1 <[email protected]>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>1 parent ece493c commit b750c56
File tree
26 files changed
+4804
-17
lines changed- challenger
- db
- cmd/opinitd
- e2e
- executor
- celestia
- node
- broadcaster
- types
26 files changed
+4804
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
105 | 108 | | |
106 | 109 | | |
107 | 110 | | |
108 | | - | |
| 111 | + | |
109 | 112 | | |
110 | 113 | | |
111 | 114 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
228 | 236 | | |
229 | 237 | | |
230 | 238 | | |
| |||
283 | 291 | | |
284 | 292 | | |
285 | 293 | | |
286 | | - | |
287 | 294 | | |
288 | 295 | | |
289 | 296 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
93 | 101 | | |
94 | 102 | | |
95 | 103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
| 83 | + | |
82 | 84 | | |
83 | 85 | | |
84 | 86 | | |
| |||
106 | 108 | | |
107 | 109 | | |
108 | 110 | | |
| 111 | + | |
109 | 112 | | |
110 | 113 | | |
111 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
112 | 117 | | |
113 | 118 | | |
114 | 119 | | |
| |||
172 | 177 | | |
173 | 178 | | |
174 | 179 | | |
| 180 | + | |
175 | 181 | | |
176 | 182 | | |
177 | 183 | | |
| |||
0 commit comments