-
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
SRC-14: Owned Proxy #1
Conversation
Dependent on FuelLabs/sway-libs#259 |
Are you able to pull CI and repo setup functionality to a separate PR to keep things clean? |
#4 contains the CI on it's own, but the checks fail as the files don't exist |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The bytecode roots should be provided so they can be verified against.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
not in the scope of this PR, but in the sway libs:
CannotReinitialized
should beCannotReinitialize
?- Accidentally default-ing the contained address in State::Initialized (ie
State::Initialized(Default::default())
) for the owner seems more probable in rust than in other languages. I am not one to complain about these things but it has been raised here and there in audits and in the hackathon. For the minor gas cost and the major time savings in telling people to f-off.. I 'd say it is worth it, but ultimately up to you.
Implements an SRC-14 compliant owned proxy contract that uses the new Upgradability lib from sway-libs. As well as basic repo setup
Closes #2