-
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
Create benchmark #14916
base: 09-11-permission_for_framework
Are you sure you want to change the base?
Create benchmark #14916
Conversation
⏱️ 1h 51m 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. |
43f2715
to
d468098
Compare
d468098
to
43f2715
Compare
6c002e4
to
44e71be
Compare
43f2715
to
e036793
Compare
44e71be
to
9161080
Compare
e036793
to
e4239a8
Compare
9161080
to
b728e81
Compare
e4239a8
to
d92055d
Compare
ef3c832
to
e2fcd91
Compare
d92055d
to
881aa71
Compare
e2fcd91
to
4caabaf
Compare
881aa71
to
e569dd2
Compare
4caabaf
to
e5d6e5d
Compare
e569dd2
to
7723f05
Compare
e5d6e5d
to
bf6221c
Compare
7723f05
to
54bc94c
Compare
bf6221c
to
115f8f6
Compare
54bc94c
to
5d15334
Compare
115f8f6
to
124c67e
Compare
5d15334
to
6d0e3fc
Compare
124c67e
to
48281f0
Compare
6d0e3fc
to
1d39406
Compare
48281f0
to
05e885e
Compare
1d39406
to
ce9b59a
Compare
05e885e
to
74db380
Compare
ce9b59a
to
30ea7d3
Compare
74db380
to
62ef6fc
Compare
|
||
module 0xABCD::permissioned_transfer { | ||
use aptos_framework::aptos_account; | ||
use aptos_framework::fungible_asset; | ||
use aptos_framework::permissioned_signer; | ||
|
||
public entry fun transfer_permissioned( | ||
source: &signer, to: address, amount: u64 | ||
) { | ||
let handle = permissioned_signer::create_permissioned_handle(source); | ||
let permissioned_signer = permissioned_signer::signer_from_permissioned(&handle); | ||
|
||
fungible_asset::grant_apt_permission(source, &permissioned_signer, amount); | ||
aptos_account::transfer(&permissioned_signer, to, amount); | ||
|
||
permissioned_signer::destroy_permissioned_handle(handle); | ||
} |
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.
Remove the permissioned_transfer function and its dependencies since it relies on Move 2.0 enum types through the permissioned_signer module. Keep only the basic transfer function until Move 2.0 features are enabled in the testing environment.
Spotted by Graphite Reviewer (based on CI logs)
Is this helpful? React 👍 or 👎 to let us know.
30ea7d3
to
c99db8a
Compare
62ef6fc
to
d395ebf
Compare
c99db8a
to
b8c3062
Compare
d395ebf
to
61d5e27
Compare
b8c3062
to
675204e
Compare
61d5e27
to
fb6481e
Compare
675204e
to
bef645e
Compare
fb6481e
to
33df8ba
Compare
bef645e
to
74c6842
Compare
33df8ba
to
45fb92a
Compare
Description
How Has This Been Tested?
Key Areas to Review
Type of Change
Which Components or Systems Does This Change Impact?
Checklist