Deploy DiaWords deterministically via Zoltu#52
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
f72b4a0 to
aa8a314
Compare
d486c1b to
158f686
Compare
Replace nonce-dependent `new DiaWords()` in the deploy script with a pinned Zoltu deployment record and tests that lock address and codehash invariants. Co-authored-by: Cursor <cursoragent@cursor.com>
Keep type(DiaWords).creationCode in script/tests only so slither does not analyze the embedded bytecode literal in src/lib/deploy. Co-authored-by: Cursor <cursoragent@cursor.com>
Restores LibDiaWordsDeploy address and codehash after upstream stack rebases. Co-authored-by: Cursor <cursoragent@cursor.com>
Bytecode changed with merged validation and codegen PRs; refresh address and codehash. Co-authored-by: Cursor <cursoragent@cursor.com>
Keep the deterministic deployment record aligned with the revised DiaWords bytecode. Co-authored-by: Cursor <cursoragent@cursor.com>
Reuse verified code at the pinned address and exercise both deployment safety reverts through the production script. Co-authored-by: Cursor <cursoragent@cursor.com>
158f686 to
4eccabb
Compare
aa8a314 to
6652645
Compare
Move the test helper into its own source file so the Rain static convention check accepts the deployment suite. Co-authored-by: Cursor <cursoragent@cursor.com>

Summary
new DiaWords()inscript/Deploy.solwith Zoltu CREATE2 deploymentLibDiaWordsDeploypinning expected address and runtime codehashStack
Stacks on
audit/parse-eval-encoding-contract. Formerly #39.Test plan
nix develop -c forge testAddresses audit HIGH finding: non-deterministic production deploy path.
Made with Cursor