Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: Add a section reg best practice for testing upgradeable(UUPS, Beacon and TransparentProxy) smart contracts #920

Closed
0xdevant opened this issue Jun 13, 2023 · 1 comment

Comments

@0xdevant
Copy link

As mentioned above, adding a new section in the foundry book regarding the best practice for testing upgradeable(UUPS, Beacon and TransparentProxy) smart contract would be appreciated.

FYI the closest helper contracts I could find online on how to test upgradeable smart contracts is this repo: https://github.com/odyslam/foundry-upgrades, but it only supports testing on UUPS/Beacon, not sure if this is the best practice by far, and no support for TransparentProxy as well.

Thank you!

@zerosnacks
Copy link
Member

Thanks @0xdevant for your suggestion

Picking the right proxy is highly context dependent and can easily become outdated, therefore I think this is better suited for OpenZeppelin: https://github.com/OpenZeppelin/openzeppelin-foundry-upgrades

@zerosnacks zerosnacks closed this as not planned Won't fix, can't repro, duplicate, stale Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

No branches or pull requests

2 participants