Skip to content

Commit 4735f75

Browse files
Update plan
1 parent 04800c5 commit 4735f75

File tree

1 file changed

+31
-8
lines changed

1 file changed

+31
-8
lines changed

POSEIDON_MIGRATION_PLAN.md

Lines changed: 31 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,37 @@ Remove the local `poseidon` crate and standardize all hashing (Pure and Witness-
4444
- [x] `test_transaction_logic` passes.
4545

4646
## Phase 4: Final Cleanup
47+
4748
**Target:** Workspace
4849

49-
- [ ] **Remove Residual Imports:**
50-
- [ ] Remove `use ::poseidon::...` in `transaction.rs` (`LazyParam`, `MINA_PROTO_STATE_BODY`).
51-
- [ ] Replace `LazyParam` with local equivalent or direct state passing.
52-
- [ ] **Remove Crate:**
53-
- [ ] Remove `poseidon` from `crates/ledger/Cargo.toml`.
54-
- [ ] Remove `poseidon` from `Cargo.toml` (workspace).
55-
- [ ] Delete `poseidon` directory.
50+
51+
52+
- [x] **Remove Residual Imports:**
53+
54+
- [x] Remove `use ::poseidon::...` in `transaction.rs` (`LazyParam`, `MINA_PROTO_STATE_BODY`).
55+
56+
- [x] Replace `LazyParam` with `CustomDomain` newtype and runtime domain strings.
57+
58+
- [x] **Standardize Mutable Interface:**
59+
60+
- [x] Implemented `Inputs` wrapper around `ROInput` in `hash.rs` to maintain mutable API and minimize codebase-wide changes.
61+
62+
- [x] **Remove Crate:**
63+
64+
- [x] Remove `poseidon` from all `Cargo.toml` files.
65+
66+
- [x] Remove `poseidon` from `Cargo.toml` (workspace).
67+
68+
- [x] Delete `poseidon` directory.
69+
5670
- [ ] **Final Verification:**
57-
- [ ] Full workspace build and test.
71+
72+
- [ ] `mina-p2p-messages` fixed and compiling.
73+
74+
- [ ] `mina-core` fixed and compiling.
75+
76+
- [x] `mina-tree` fixed and compiling.
77+
78+
- [ ] `mina-snark` pending fixes for `MerkleTreeNode` and `DomainParameter`.
79+
80+
- [ ] Full workspace build and test.

0 commit comments

Comments
 (0)