feat(contribs): add gnoupgrade chain upgrade testing toolkit#5369
Draft
moul wants to merge 4 commits into
Draft
Conversation
Add a new contribs tool for testing and verifying gno.land chain upgrades. The toolkit provides three subcommands: - replay: starts a node against existing chain data to verify the new binary can successfully replay all committed blocks (smoke test) - statediff: captures chain state in a canonical, sorted JSON format for before/after comparison across upgrades - healthcheck: runs connectivity, block production, and ABCI query checks against a running node post-upgrade This is the first step toward a CI pipeline for chain upgrade confidence (Tools 1-3 from the chain-upgrade task plan). Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
Collaborator
🛠 PR Checks SummaryAll Automated Checks passed. ✅ Manual Checks (for Reviewers):
Read More🤖 This bot helps streamline PR reviews by verifying automated checks and providing guidance for contributors and reviewers. ✅ Automated Checks (for Contributors):No automated checks match this pull request. ☑️ Contributor Actions:
☑️ Reviewer Actions:
📚 Resources:Debug
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
08299a2 to
ab60d97
Compare
This was referenced Apr 9, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
gnoupgrade, a CLI toolkit for safe chain upgrade testing and verification.Subcommands
replay— Smoke test: verify new binary can replay all blocks from existing data dir without panicstatediff— Capture chain state (chain ID, height, app hash, realm/package listing) in canonical JSON formathealthcheck— Post-upgrade verification: connectivity, block production, ABCI queriesUsage
Part of the chain upgrade tooling for gnoland1 → gnoland-1.