-
Notifications
You must be signed in to change notification settings - Fork 179
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
Use core-contracts templates that use Environment #5401
Use core-contracts templates that use Environment #5401
Conversation
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.
Looks good.
Great change, thank you!
Pushed the merge in 666a58f, but
|
I'll pull the branch down and fix the issue |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## feature/stable-cadence #5401 +/- ##
==========================================================
- Coverage 56.37% 56.37% -0.01%
==========================================================
Files 1032 1032
Lines 100711 100648 -63
==========================================================
- Hits 56775 56737 -38
+ Misses 39628 39603 -25
Partials 4308 4308
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
Looks good! Thanks for cleaning this up 👍
I think the integration tests need an updated Emulator, because that one is still using old contracts, e.g. |
Do you mean like a version that we currently have? Okay to use |
@joshuahannan That version doesn't have the updated imports yet, does it? I'll open a PR and update this one |
I opened onflow/flow-emulator#582, but even there the tests importing the random beacon contract fail: https://github.com/onflow/flow-emulator/actions/runs/8058034335/job/22010193181?pr=582 @joshuahannan it looks like some imports still need to be updated from the old |
Fixed by onflow/flow-emulator@2ec5974 |
Let me know if you need anything else! |
@joshuahannan Did you get a chance to look at unifying the versions that are used for the |
For some reason the integration test |
@joshuahannan You updated |
I think I found one of them. I'm fixing. yep, it is |
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.
Nice!
Uses the changes in this PR to make the getter functions for the core contracts less brittle by using lib/go/templates.Environment for the arguments instead of individual addresses
Uses the latest version of the core-contracts that keeps the
LockedTokens.LockedAccountInfo
interfaceAlso updates state commitments