Skip to content

Commit 5a60f65

Browse files
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

Cargo.lock

Lines changed: 180 additions & 369 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ members = [
2323
"crates/asm/msgs/checkpoint",
2424
"crates/asm/stf",
2525
"crates/asm/manifest-types",
26-
"crates/asm/moho-program",
2726
"crates/asm/spec",
2827
"crates/asm/spec-debug",
2928
"crates/asm/subprotocols/bridge-v1",
@@ -194,7 +193,6 @@ strata-asm-checkpoint-msgs = { path = "crates/asm/msgs/checkpoint" }
194193
strata-asm-common = { path = "crates/asm/common" }
195194
strata-asm-logs = { path = "crates/asm/logs" }
196195
strata-asm-manifest-types = { path = "crates/asm/manifest-types" }
197-
strata-asm-moho-program-impl = { path = "crates/asm/moho-program" }
198196
strata-asm-params = { path = "crates/asm/params" }
199197
strata-asm-proto-administration = { path = "crates/asm/subprotocols/admin" }
200198
strata-asm-proto-bridge-v1 = { path = "crates/asm/subprotocols/bridge-v1" }
@@ -310,11 +308,6 @@ strata-tasks = { git = "https://github.com/alpenlabs/strata-common", tag = "v0.1
310308
# sled wrapper
311309
typed-sled = { git = "https://github.com/alpenlabs/typed-sled" }
312310

313-
# moho
314-
moho-runtime-impl = { git = "https://github.com/alpenlabs/moho" }
315-
moho-runtime-interface = { git = "https://github.com/alpenlabs/moho" }
316-
moho-types = { git = "https://github.com/alpenlabs/moho" }
317-
318311
# zkaleido
319312
zkaleido = { git = "https://github.com/alpenlabs/zkaleido", features = [
320313
"arbitrary",

crates/asm/moho-program/Cargo.toml

Lines changed: 0 additions & 22 deletions
This file was deleted.

crates/asm/moho-program/src/input.rs

Lines changed: 0 additions & 108 deletions
This file was deleted.

crates/asm/moho-program/src/lib.rs

Lines changed: 0 additions & 9 deletions
This file was deleted.

crates/asm/moho-program/src/program.rs

Lines changed: 0 additions & 101 deletions
This file was deleted.

crates/asm/moho-program/src/traits.rs

Lines changed: 0 additions & 56 deletions
This file was deleted.

0 commit comments

Comments
 (0)