You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because Suzuka epoch is fixed at 1, functions that rely on aptos_governance::reconfigure won't work.
For example this script to enable feature flags:
script {
use aptos_framework::aptos_governance;
use std::features;
fun enable_bridge_feature(core_resources: &signer) {
let core_signer = aptos_governance::get_signer_testnet_only(core_resources, @0x1);
let framework_signer = &core_signer;
let enabled_blob: vector<u64> = vector[
features::get_atomic_bridge_feature()
];
let disabled_blob: vector<u64> = vector[];
features::change_feature_flags_for_next_epoch(framework_signer, enabled_blob, disabled_blob);
aptos_governance::reconfigure(framework_signer);
}
}
To reproduce
Run the above script. You'll see the feature flag in features::PendingFeatures.
Expected Behavior
We need some way to do governance without the epoch change. Perhaps reconfiguration::reconfigure could advance to the next block instead, so that governance proposals are enacted on next block, rather than next epoch? This would require input from @mzabaluev / @l-monninger others who are more familiar with the inner workings for the repository, as far as what side effects or subtle issues that change might entail.
System information
Additional context
This is blocking client integration tests with the atomic bridge framework modules, because those modules are feature flagged out.
The text was updated successfully, but these errors were encountered:
🐛 Bug
Because Suzuka epoch is fixed at 1, functions that rely on
aptos_governance::reconfigure
won't work.For example this script to enable feature flags:
To reproduce
Run the above script. You'll see the feature flag in
features::PendingFeatures
.Expected Behavior
We need some way to do governance without the epoch change. Perhaps
reconfiguration::reconfigure
could advance to the next block instead, so that governance proposals are enacted on next block, rather than next epoch? This would require input from @mzabaluev / @l-monninger others who are more familiar with the inner workings for the repository, as far as what side effects or subtle issues that change might entail.System information
Additional context
This is blocking client integration tests with the atomic bridge framework modules, because those modules are feature flagged out.
The text was updated successfully, but these errors were encountered: