Commit 5a60f65
authored
chore(asm): remove moho-related crates and stabilize sync_from_rpc functional test (#1641)
* chore: remove moho related crates
* test(functional-tests): harden sync_from_rpc against startup races
sync_from_rpc was flaky on clean startup (including main), failing before the
actual sync assertions because services were queried too early:
- `strata_getHeadersAtIdx` could receive `-1` when tip was still at genesis (`Invalid params`)
- EL comparison could run with too few blocks (`not enough blocks generated`)
- epoch-1 confirmation could time out under slower local/CI timing
Add readiness waits for strata tip/headers and EL block heights, and use a
longer epoch confirmation wait so the test validates sync behavior instead of
startup race timing.1 parent 9c30b91 commit 5a60f65
8 files changed
Lines changed: 214 additions & 678 deletions
File tree
- crates/asm/moho-program
- src
- functional-tests/tests/sync
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 | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
| |||
194 | 193 | | |
195 | 194 | | |
196 | 195 | | |
197 | | - | |
198 | 196 | | |
199 | 197 | | |
200 | 198 | | |
| |||
310 | 308 | | |
311 | 309 | | |
312 | 310 | | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | 311 | | |
319 | 312 | | |
320 | 313 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments