File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed
aptos-release-builder/src/components
framework/move-stdlib/sources/configs Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -148,7 +148,19 @@ pub fn generate_gas_upgrade_proposal(
148
148
) ;
149
149
} ,
150
150
}
151
- emitln ! ( writer, "aptos_governance::reconfigure({});" , signer_arg) ;
151
+
152
+ let reconfig_method = if is_testnet {
153
+ "force_end_epoch"
154
+ } else {
155
+ "reconfigure"
156
+ } ;
157
+
158
+ emitln ! (
159
+ writer,
160
+ "aptos_governance::{}({});" ,
161
+ reconfig_method,
162
+ signer_arg
163
+ ) ;
152
164
} ,
153
165
) ;
154
166
Original file line number Diff line number Diff line change @@ -639,7 +639,7 @@ module std::features {
639
639
/// This can be used on testnet prior to successful DKG.
640
640
///
641
641
/// Governance proposals should use `change_feature_flags_for_next_epoch()` to enable/disable features.
642
- public fun change_feature_flags (framework: &signer , enable: vector <u64 >, disable: vector <u64 >) {
642
+ public fun change_feature_flags (framework: &signer , enable: vector <u64 >, disable: vector <u64 >) acquires Features {
643
643
change_feature_flags_internal (framework, enable, disable)
644
644
}
645
645
You can’t perform that action at this time.
0 commit comments