-
Notifications
You must be signed in to change notification settings - Fork 137
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
Implement check
functionality in AuthAccount
#2492
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2492 +/- ##
=======================================
Coverage 78.45% 78.46%
=======================================
Files 336 336
Lines 76561 76606 +45
=======================================
+ Hits 60068 60109 +41
- Misses 14262 14264 +2
- Partials 2231 2233 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
|
a6b7c4f
to
235e9db
Compare
This is ready for review now! |
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!
We still might want to adjust the API (naming/type), but implementation looks good.
@turbolent @dsainati1 @SupunS Ready for review now. Have updated the signature as per discussion. |
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!
53f9118
to
017b4bb
Compare
Force push after resolving merge conflicts. |
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!
@SupunS Could you please have a last look? |
Closes #564
Work towards onflow/developer-grants#179
Description
Adds
AuthAccount.check(storagePath)
function to check if the type parameters can be used to create a reference for the object stored in the storage path.TODO:
master
branchFiles changed
in the Github PR explorer