-
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 permission check to account #14535
base: asset_permission
Are you sure you want to change the base?
Add permission check to account #14535
Conversation
⏱️ 3h 3m 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. |
703921b
to
48991ff
Compare
05cd155
to
19324d8
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## asset_permission #14535 +/- ##
===================================================
Coverage ? 59.4%
===================================================
Files ? 857
Lines ? 210762
Branches ? 0
===================================================
Hits ? 125197
Misses ? 85565
Partials ? 0 ☔ View full report in Codecov by Sentry. |
48991ff
to
906c7c7
Compare
19324d8
to
0a93383
Compare
906c7c7
to
350db4c
Compare
0a93383
to
bde486a
Compare
dec4a79
to
6cd5fd0
Compare
bde486a
to
5fc08ad
Compare
6cd5fd0
to
88ad9a1
Compare
5fc08ad
to
da28781
Compare
88ad9a1
to
5f90e3a
Compare
da28781
to
006ad4c
Compare
5f90e3a
to
ef7be0f
Compare
006ad4c
to
ef7abd3
Compare
ef7be0f
to
cd6090b
Compare
ef7abd3
to
c38c2dd
Compare
cd6090b
to
0df1c5a
Compare
c38c2dd
to
95b6704
Compare
0df1c5a
to
1bd468b
Compare
95b6704
to
7394967
Compare
1bd468b
to
40796a4
Compare
707d7b8
to
c243aa1
Compare
47e6977
to
8c769d8
Compare
c243aa1
to
3002b0c
Compare
8c769d8
to
4a6a3b8
Compare
3002b0c
to
185917d
Compare
4a6a3b8
to
dd5f835
Compare
185917d
to
bda7a4d
Compare
dd5f835
to
79d54d6
Compare
bda7a4d
to
f8bf7a8
Compare
79d54d6
to
27f0fc8
Compare
f8bf7a8
to
6f37d3e
Compare
27f0fc8
to
23fff63
Compare
6f37d3e
to
0391a3e
Compare
23fff63
to
f9a83e7
Compare
0391a3e
to
7d66743
Compare
f9a83e7
to
07cad53
Compare
7d66743
to
26ecb3e
Compare
07cad53
to
ec2c261
Compare
26ecb3e
to
2b53b37
Compare
ec2c261
to
6bddfa8
Compare
2b53b37
to
0dd9b3f
Compare
6bddfa8
to
7754575
Compare
0dd9b3f
to
ba1fa3e
Compare
7754575
to
2bd6008
Compare
ba1fa3e
to
82bfd27
Compare
2bd6008
to
1c1bb56
Compare
@@ -357,6 +359,7 @@ module aptos_framework::account { | |||
) acquires Account, OriginatingAddress { | |||
let addr = signer::address_of(account); | |||
assert!(exists_at(addr), error::not_found(EACCOUNT_DOES_NOT_EXIST)); | |||
permissioned_signer::assert_master_signer(account); |
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.
Could you explain here or add a doc in the PR description on when this assert is needed in the account
module.
82bfd27
to
0fe7011
Compare
1c1bb56
to
efd81cc
Compare
Description
Type of Change
Which Components or Systems Does This Change Impact?
How Has This Been Tested?
Key Areas to Review
Checklist