-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
add perimission checks to object #14582
base: 09-04-add_permission_check_to_account
Are you sure you want to change the base?
add perimission checks to object #14582
Conversation
⏱️ 1h 39m total CI duration on this PR
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
da28781
to
006ad4c
Compare
381be20
to
6a1fe6d
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 09-04-add_permission_check_to_account #14582 +/- ##
======================================================================
Coverage 59.4% 59.4%
======================================================================
Files 857 857
Lines 210762 210762
======================================================================
Hits 125197 125197
Misses 85565 85565 ☔ View full report in Codecov by Sentry. |
006ad4c
to
ef7abd3
Compare
6a1fe6d
to
9037ce3
Compare
ef7abd3
to
c38c2dd
Compare
9037ce3
to
843150a
Compare
c38c2dd
to
95b6704
Compare
843150a
to
33a73d7
Compare
95b6704
to
7394967
Compare
33a73d7
to
9123ceb
Compare
7394967
to
a091794
Compare
9123ceb
to
206e782
Compare
a091794
to
67163ae
Compare
206e782
to
9c81c83
Compare
67163ae
to
f10a3b3
Compare
9c81c83
to
75362c4
Compare
f10a3b3
to
5c9396f
Compare
75362c4
to
86c07b1
Compare
5c9396f
to
9935539
Compare
86c07b1
to
0573a7b
Compare
9935539
to
b927c02
Compare
0573a7b
to
6a446be
Compare
c25dfde
to
8b9069f
Compare
73f8e6c
to
5bda657
Compare
8b9069f
to
e49c386
Compare
5bda657
to
0db0474
Compare
e49c386
to
594644d
Compare
0db0474
to
a694326
Compare
@@ -540,6 +546,10 @@ module aptos_framework::object { | |||
to: address, | |||
) acquires ObjectCore { | |||
let owner_address = signer::address_of(owner); | |||
assert!( | |||
permissioned_signer::check_permission_exists(owner, TransferPermission { object }), |
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 TransferPermission
struct field name object
needs to be explicitly specified when constructing the struct. Please update to TransferPermission { object: object }
to match the struct definition.
Spotted by Graphite Reviewer
Is this helpful? React 👍 or 👎 to let us know.
594644d
to
7b805b0
Compare
a694326
to
447384e
Compare
7b805b0
to
0d70077
Compare
447384e
to
28c5962
Compare
0d70077
to
8e6ca98
Compare
28c5962
to
5979d45
Compare
8e6ca98
to
1302c7b
Compare
5979d45
to
732bca6
Compare
1302c7b
to
4bec214
Compare
732bca6
to
61bb726
Compare
4bec214
to
3e1120c
Compare
61bb726
to
747dc83
Compare
3e1120c
to
6f4f49a
Compare
747dc83
to
5ca365e
Compare
6f4f49a
to
bfc0817
Compare
5ca365e
to
dffbce5
Compare
bfc0817
to
a8ca890
Compare
dffbce5
to
d8dad95
Compare
a8ca890
to
20ce45e
Compare
d8dad95
to
1e81ef4
Compare
20ce45e
to
f1841c6
Compare
1e81ef4
to
db21dee
Compare
Description
Type of Change
Which Components or Systems Does This Change Impact?
How Has This Been Tested?
Key Areas to Review
Checklist