Skip to content
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

governance proposals for concurrent fa balance #89

Merged
merged 1 commit into from
Sep 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"title": "Enable for accounts to opt-in into concurrent fungible balance",
"description": "Enables the changes in AIP-70 https://github.com/aptos-foundation/AIPs/blob/main/aips/aip-70.md",
"source_code_url": "https://github.com/aptos-foundation/mainnet-proposals/blob/main/sources/2024-08-30-enable-concurrent-fungible-balance/0-features.move",
"discussion_url": "https://github.com/aptos-foundation/AIPs/issues/359"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
// Script hash: 82bcf277
// Modifying on-chain feature flags:
// Enabled Features: [ConcurrentFungibleBalance]
// Disabled Features: []
//
script {
use aptos_framework::aptos_governance;
use std::features;
use std::vector;

fun main(proposal_id: u64) {
let framework_signer = aptos_governance::resolve_multi_step_proposal(proposal_id, @0x1, vector::empty<u8>());

let enabled_blob: vector<u64> = vector[
67,
];

let disabled_blob: vector<u64> = vector[

];

features::change_feature_flags_for_next_epoch(&framework_signer, enabled_blob, disabled_blob);
aptos_governance::reconfigure(&framework_signer);
}
}