Split 'can-panic' part of midnight-ledger-helpers - #2106
Conversation
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a3901715fb
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
9e7e891 to
77ad86a
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ad8b2e65ca
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
ad8b2e6 to
3960379
Compare
3960379 to
08e7475
Compare
… separate crate. The can-panic-gated apparatus in midnight-node-ledger-helpers (context/contract/ intent/offer/output/UTXO builders, wallet key management, the v8->v9 fork-replay helpers) exists solely to hand-build transactions and wallets for the toolkit CLI and tx generator, plus a few test suites that borrowed it as a dev-dependency. It never runs on the node's real block-execution path. Move it into a new midnight-ledger-unsafe-helpers crate so midnight-node-ledger-helpers shrinks back to the shared/production ledger glue, and drop the can-panic/test-utils features entirely now that nothing needs the opt-in. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Db7XfYwutBUzrkomMwYuEz Signed-off-by: Lech Głowiak <lech.glowiak@shielded.io>
08e7475 to
f6f01f4
Compare
Overview
This refactoring stems from a comment on #2080 .
The new crate is not intended to be used with a consensus. Whole 'can-panic' feature went to the new crate, as it is not used by consensus and we can be
suremore confident that changes made there won't affect consenus unless someone makes a mistake and changes dependencies graph.🗹 TODO before merging
📌 Submission Checklist
git commit -s) for the DCO🧪 Testing Evidence
Please describe any additional testing aside from CI:
🔱 Fork Strategy
Links