-
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 permissions for fungible assets operation #14567
Conversation
⏱️ 2h 19m total CI duration on this PR
|
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 09-04-implement_rust_logics_for_permissioned_signer #14567 +/- ##
====================================================================================
Coverage 60.1% 60.1%
====================================================================================
Files 857 857
Lines 210762 210762
====================================================================================
+ Hits 126723 126744 +21
+ Misses 84039 84018 -21 ☔ View full report in Codecov by Sentry. |
dec4a79
to
6cd5fd0
Compare
350db4c
to
dad258f
Compare
6cd5fd0
to
88ad9a1
Compare
dad258f
to
6b4da66
Compare
88ad9a1
to
5f90e3a
Compare
6b4da66
to
b1fd015
Compare
5f90e3a
to
ef7be0f
Compare
b1fd015
to
6592c01
Compare
ef7be0f
to
cd6090b
Compare
6592c01
to
54c34ad
Compare
cd6090b
to
0df1c5a
Compare
54c34ad
to
1835d3d
Compare
0df1c5a
to
1bd468b
Compare
1835d3d
to
42decc7
Compare
1bd468b
to
40796a4
Compare
42decc7
to
6ac9449
Compare
40796a4
to
4940d7d
Compare
6ac9449
to
3ae6a87
Compare
4940d7d
to
d8742c4
Compare
3ae6a87
to
7fbfa3e
Compare
d8742c4
to
5d53f18
Compare
7fbfa3e
to
f3015ce
Compare
f8c3ecb
to
d3219e1
Compare
e128a8b
to
df75ba7
Compare
3e9ee91
to
6a823bf
Compare
df75ba7
to
7ca3104
Compare
9eb6bd0
to
000d361
Compare
3a6c8a2
to
5522b36
Compare
@@ -616,6 +617,7 @@ module aptos_framework::coin { | |||
public entry fun migrate_to_fungible_store<CoinType>( | |||
account: &signer | |||
) acquires CoinStore, CoinConversionMap, CoinInfo { | |||
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.
maybe this shouldn't require any permissions?
@@ -1016,6 +1019,7 @@ module aptos_framework::coin { | |||
} | |||
|
|||
public fun register<CoinType>(account: &signer) acquires CoinConversionMap { | |||
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.
let's add TODO here to move this to FA Withdraw(0) permission
3cb1cd0
to
519d733
Compare
5522b36
to
91bff0f
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
91bff0f
to
99580a8
Compare
99580a8
to
9b13784
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
✅ Forge suite
|
✅ Forge suite
|
* TMP * add permissions for fungible assets operation
Description
Implemented permissions for FA transfer.
deposit_with_signer
so that permissions can be added to the signer back again.Type of Change
Which Components or Systems Does This Change Impact?
How Has This Been Tested?
Added test cases. In particular, tested the entire migration path of Coin and FA.
Key Areas to Review
Make sure FA permission works well throughout the entire migration path of FA.
Checklist