-
Notifications
You must be signed in to change notification settings - Fork 4
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
UpgradeSoulGasToken.s.sol: get impl correctly #173
Conversation
How can we test it before deploying? Should we deploy it on the devnet first? |
There's already a |
Is it feasible to list the pre- and post-condition checks in the contracts to be deployed, so it will be easier for reviewers to understand what's going on? |
Don't quite understand, could you provide an example? |
In this PR:
Postcondition:
|
I can understand the |
For now, the only thing about |
Nice! |
The
Proxy.implementation()
method can only be called from ProxyAdmin, otherwise will revert since there's no such method in the implementation contract.UPDATE
This PR also ensures that sgt owner is not changed during the upgrade with 1f2f2c9.