test(ledger-suite-orchestrator): drop the StateMachine test fixture - #11122
test(ledger-suite-orchestrator): drop the StateMachine test fixture#11122gregorydemay wants to merge 1 commit into
Conversation
…fixture" This reverts commit 6e2ba6d.
There was a problem hiding this comment.
Pull request overview
Removes the now-unused StateMachine-based integration-test fixture from ledger-suite-orchestrator/test_utils, completing the PocketIC migration in rs/ethereum and leaving PocketIC as the sole test harness for the orchestrator’s integration tests.
Changes:
- Deleted the StateMachine fixture modules (
flow,universal_canister) and the StateMachine-basedLedgerSuiteOrchestrator/helpers from the test-utils crate. - Kept environment-agnostic helpers (wasm loaders, init-arg builders, token helpers/constants) at their existing paths while retaining the PocketIC fixture module.
- Dropped StateMachine-related dependencies from
Cargo.toml/BUILD.bazeland updatedCargo.lockaccordingly.
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| rs/ethereum/ledger-suite-orchestrator/test_utils/src/universal_canister.rs | Removed StateMachine-only universal canister helper. |
| rs/ethereum/ledger-suite-orchestrator/test_utils/src/lib.rs | Removed StateMachine fixture exports/impls; kept shared helpers and PocketIC module. |
| rs/ethereum/ledger-suite-orchestrator/test_utils/src/flow.rs | Removed StateMachine-only flow/assertion helpers. |
| rs/ethereum/ledger-suite-orchestrator/test_utils/Cargo.toml | Pruned StateMachine-related dependencies from the test-utils crate. |
| rs/ethereum/ledger-suite-orchestrator/test_utils/BUILD.bazel | Pruned StateMachine-related Bazel deps for the test-utils crate. |
| Cargo.lock | Updated lockfile to reflect removed dependencies. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| ic-base-types = { path = "../../../types/base_types" } | ||
| ic-cdk = { workspace = true } | ||
| ic-http-types = { path = "../../../../packages/ic-http-types" } | ||
| ic-icrc1-ledger = { path = "../../../ledger_suite/icrc1/ledger" } |
| @@ -22,13 +22,9 @@ rust_library( | |||
| "//packages/pocket-ic", | |||
|
🤖 Closing: not needed. #10956 was wrongly marked merged, and since that cannot be undone its content stays where it landed, in #10955. This PR would have re-applied the same deletion on top of it. The revert I had pushed to #10955 to make room for this PR has itself been reverted ( |
📚 PR stack
test(ledger-suite-orchestrator): migrate integration tests to PocketIC #10949— mergedtest(cketh): deduplicate signed-transaction and transaction-hash literals in integration tests #10950— mergedSummary
Completes the DEFI-2262 PocketIC migration for
rs/ethereum: with the ckETH minter's integration tests running on PocketIC, nothing inrs/ethereumstill uses the ledger-suite-orchestrator's StateMachine-based test fixture. This deletes it, along with the now-unusedic-state-machine-tests,ic-types,ic-management-canister-types-privateandassert_matchesdependencies, leaving PocketIC as the orchestrator's sole test harness.LedgerSuiteOrchestrator/flow/universal_canisterfixture fromledger-suite-orchestrator/test_utils; thepocket_icmodule is now the crate's only fixture.pocket_icmodule and cketh still import at their existing paths (wasm loaders, init-arg builders,usdc()/usdt(), constants).This replaces #10956. That PR was auto-closed as merged when its content briefly reached its base branch by mistake; the content here is identical, reapplied on top of #10955 so the two changes stay reviewable separately.
🤖 Generated with Claude Code