File tree Expand file tree Collapse file tree 4 files changed +6
-2
lines changed
aptos-release-builder/src/components
framework/aptos-framework/sources
crates/aptos-jwk-consensus/src Expand file tree Collapse file tree 4 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ pub fn generate_gas_upgrade_proposal(
136
136
} ,
137
137
None => {
138
138
let update_method = if is_testnet {
139
- "set_gas_schedule "
139
+ "set_for_next_epoch "
140
140
} else {
141
141
"set_for_next_epoch"
142
142
} ;
Original file line number Diff line number Diff line change @@ -43,6 +43,6 @@ module aptos_framework::chain_status {
43
43
44
44
/// Helper function to assert genesis state.
45
45
public fun assert_genesis () {
46
- assert !(is_genesis (), error::invalid_state (ENOT_OPERATING ));
46
+ assert !(is_genesis (), error::invalid_state (ENOT_GENESIS ));
47
47
}
48
48
}
Original file line number Diff line number Diff line change @@ -148,6 +148,7 @@ impl<P: OnChainConfigProvider> EpochManager<P> {
148
148
}
149
149
150
150
async fn start_new_epoch ( & mut self , payload : OnChainConfigPayload < P > ) {
151
+ println ! ( "Starting new epoch." ) ;
151
152
let validator_set: ValidatorSet = payload
152
153
. get ( )
153
154
. expect ( "failed to get ValidatorSet from payload" ) ;
@@ -239,6 +240,7 @@ impl<P: OnChainConfigProvider> EpochManager<P> {
239
240
}
240
241
241
242
async fn on_new_epoch ( & mut self , reconfig_notification : ReconfigNotification < P > ) -> Result < ( ) > {
243
+ println ! ( "EpochManager received new epoch notification." ) ;
242
244
self . shutdown_current_processor ( ) . await ;
243
245
self . start_new_epoch ( reconfig_notification. on_chain_configs )
244
246
. await ;
Original file line number Diff line number Diff line change @@ -152,6 +152,7 @@ impl<P: OnChainConfigProvider> EpochManager<P> {
152
152
}
153
153
154
154
async fn start_new_epoch ( & mut self , payload : OnChainConfigPayload < P > ) {
155
+ println ! ( "Starting new epoch." ) ;
155
156
let validator_set: ValidatorSet = payload
156
157
. get ( )
157
158
. expect ( "failed to get ValidatorSet from payload" ) ;
@@ -250,6 +251,7 @@ impl<P: OnChainConfigProvider> EpochManager<P> {
250
251
}
251
252
252
253
async fn on_new_epoch ( & mut self , reconfig_notification : ReconfigNotification < P > ) -> Result < ( ) > {
254
+ println ! ( "EpochManager received new epoch notification." ) ;
253
255
self . shutdown_current_processor ( ) . await ;
254
256
self . start_new_epoch ( reconfig_notification. on_chain_configs )
255
257
. await ;
You can’t perform that action at this time.
0 commit comments