Generate deployment manifests#96
Conversation
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.
Tip: disable this comment in your organization's Code Review settings.
|
@coderabbitai review |
✅ Action performedReview finished.
|
|
@coderabbitai review |
✅ Action performedReview finished.
|
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughThis PR implements a deterministic deployment manifest generator that reads committed config inputs and release artifacts, validates contract sets, populates ABI/runtime hashes, computes a deterministic checksum, and detects drift via ChangesDeployment Manifest Generator and Validation
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related issues
Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Summary
Closes #95.
This PR adds deterministic deployment-manifest generation for the local Gate E/G Anvil baseline:
scripts/generate_deployment_manifest.pyto generate deployment manifests from committed inputsdeployments/config/anvil-6529stream-v0.1.0-001.jsonas the source input for the generated local examplerelease-artifacts/latest/abi-checksums.jsonrelease_artifacts.manifest_sha256by hashing canonical manifest JSON with that checksum field normalized tosha256:plus 64 zeroesmake check, Linux/Windows wrappers, and CIValidation
python scripts\test_deployment_manifest.pypython scripts\generate_deployment_manifest.py --checkpython scripts\test_release_artifacts.pypython scripts\generate_release_artifacts.py --checkpython -m py_compile scripts\generate_release_artifacts.py scripts\test_release_artifacts.py scripts\generate_deployment_manifest.py scripts\test_deployment_manifest.pybash -n scripts/check.shscripts\check.ps1make checkpowershell -ExecutionPolicy Bypass -File scripts\check.ps1git diff --checkNotes
This remains a local Anvil manifest baseline. Fork/testnet broadcast parsing, verified live bytecode replacement, signed checksum files, address books, and production deployment manifests remain follow-up Gate E/G work.
Summary by CodeRabbit
Release Notes
New Features
Chores