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
FEATURE: Cadence 1.0 Core Contracts Changes #319
base: master
Are you sure you want to change the base?
Conversation
7479ccf
to
18e5b36
Compare
* update to view functions for stable cadence * remove unreachable code * update templates to Stable Cadence * update to Stable Cadence preview 4 * update for stable cadence * fix parse error --------- Co-authored-by: Josh Hannan <hannanjoshua19@gmail.com> Co-authored-by: Bastian Müller <bastian@axiomzen.co>
0e0a35d
to
253f985
Compare
* Don't copy dictionary in getEpochMetadata
* update deps, add entitlement for locked account creator * make ci
I think we're basically ready to merge this to master, so I added a few people who might be able to give it a review! The changes are fairly straightforward, just lots of boilerplate updates to be compatible with the new token standards and Cadence 1.0. Let me know if you'd like to chat with me first about the changes before you review. |
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.
I mostly checked the changes to the contracts
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.
Leaving a few follow up questions about entitlements. They're probably alright, I just lack the context to understand if there's any risk of down casting from public capabilities.
@sisyphusSmiling The changes were big enough that I just created a PR with them for you to review. Can you take a look? |
* better use of revertible random with correct types * improve random distribution
Includes changes related to Cadence 1.0
Many functions have been changed to
view
for new view function requirementsUpdates casting to use correct
as
syntaxchanges
pub
toaccess(all)
Adds entitlements
Uses the new fungible token standard and
Burner
contractRemoves custom destructors