Skip to content

feat(examples): add upgradable storage contract tests#65

Open
danieljrc888 wants to merge 1 commit intomainfrom
feat/upgradable-storage-tests
Open

feat(examples): add upgradable storage contract tests#65
danieljrc888 wants to merge 1 commit intomainfrom
feat/upgradable-storage-tests

Conversation

@danieljrc888
Copy link
Contributor

@danieljrc888 danieljrc888 commented Feb 23, 2026

Summary

  • Add example upgradable storage contracts (v1 and v2) demonstrating on-chain code upgrades
  • Add test covering deploy, state mutation, upgrade to v2, state persistence, and new method availability

Test plan

  • Run uv run gltest tests/examples/tests/test_upgradable_storage.py against localnet

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@coderabbitai
Copy link

coderabbitai bot commented Feb 23, 2026

Warning

Rate limit exceeded

@danieljrc888 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 9 minutes and 4 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between 8a13f26 and 8a84a6f.

📒 Files selected for processing (3)
  • tests/examples/contracts/upgradable_storage.py
  • tests/examples/contracts/upgradable_storage_v2.py
  • tests/examples/tests/test_upgradable_storage.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/upgradable-storage-tests

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@danieljrc888 danieljrc888 self-assigned this Feb 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant