Deploy DiaWords deterministically via Zoltu#39
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 |
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>
156deac to
85ec05c
Compare
|
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. |

Summary
new DiaWords()inscript/Deploy.solwith Zoltu CREATE2 deploymentLibDiaWordsDeploypinning expected address and runtime codehashTest plan
nix develop -c forge test(16 passed, 0 failed)Addresses audit HIGH finding: non-deterministic production deploy path.
Made with Cursor