@@ -2510,10 +2510,11 @@ impl Bank {
2510
2510
.feature_set
2511
2511
.is_active(&feature_set::enable_accumulator_sysvar::id())
2512
2512
{
2513
+ info!("Accumulator: Skipping because the feature is disabled. Slot: {}", self.slot());
2513
2514
return;
2514
2515
}
2515
2516
2516
- info!("Updating accumulator. Parent_epoch : {}", self.slot());
2517
+ info!("Accumulator: Updating accumulator. Slot : {}", self.slot());
2517
2518
if let Err(e) = self.update_accumulator_impl() {
2518
2519
error!("Error updating accumulator: {:?}", e);
2519
2520
}
@@ -2624,6 +2625,7 @@ impl Bank {
2624
2625
2625
2626
// Write the Account Set into `accumulator_state` so that the hermes application can
2626
2627
// request historical data to prove.
2628
+ info!("Accumulator: Writing accumulator state to {:?}", accumulator_account);
2627
2629
self.store_account_and_update_capitalization(&accumulator_account, &accumulator_data);
2628
2630
2629
2631
Ok(())
@@ -2663,7 +2665,7 @@ impl Bank {
2663
2665
.unwrap_or(AccumulatorSequenceTracker { sequence: 0 })
2664
2666
};
2665
2667
2666
- info !("accumulator sequence: {:?}", sequence.sequence);
2668
+ debug !("Accumulator: accumulator sequence: {:?}", sequence.sequence);
2667
2669
2668
2670
// Generate the Message to emit via Wormhole.
2669
2671
let message = PostedMessageUnreliableData {
@@ -2681,7 +2683,7 @@ impl Bank {
2681
2683
},
2682
2684
};
2683
2685
2684
- info !("msg_data. message: {:?}", message.message);
2686
+ debug !("Accumulator: Wormhole message data : {:?}", message.message);
2685
2687
let wormhole_pid = self.env_pubkey_or(
2686
2688
"WORMHOLE_PID",
2687
2689
Pubkey::new_from_array(pythnet::WORMHOLE_PID),
@@ -2720,6 +2722,8 @@ impl Bank {
2720
2722
);
2721
2723
2722
2724
self.store_account_and_update_capitalization(&accumulator_sequence_addr, &sequence_account);
2725
+
2726
+ info!("Accumulator: Writing wormhole message to {:?}", message_pda);
2723
2727
self.store_account_and_update_capitalization(&message_pda, &message_account);
2724
2728
2725
2729
Ok(())
0 commit comments