Tx Guardrail
Use this skill to block transaction serialization and signature-flow regressions.
Quick Start
bash
npm run build node agents/skills/upgrade-tx-guardrail/scripts/tx-smoke.mjs
What the Smoke Check Verifies
- •
createTokamakL2Tx -> sign -> verifySignaturesuccess path. - •Sender address recovery consistency.
- •Deterministic RLP serialization for a fixed tx vector.
- •RLP round-trip via
createTokamakL2TxFromRLP.
Workflow
- •Run smoke script before and after changes under
src/tx/. - •Treat sender mismatch, serialization mismatch, or round-trip mismatch as blocking.
- •Run
npm run buildand block merge on failure.
Reporting
Capture:
- •changed files under
src/tx/ - •smoke script pass/fail
- •intentional behavior changes and required migration notes
Use acceptance checks in references/acceptance-checks.md.