Skip to content

Commit d7001d3

Browse files
committed
Add new feature
1 parent 16ef4a8 commit d7001d3

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

runtime/src/bank/pyth_accumulator.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ pub fn compute_publisher_stake_caps(
424424
let message = pyth_oracle::validator::compute_publisher_stake_caps(account_datas, timestamp);
425425

426426
if is_active {
427-
info!("Computing publisher caps");
427+
info!("Send publisher stake caps");
428428
messages.push(message);
429429
}
430430
}

sdk/src/feature_set.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -564,6 +564,10 @@ pub mod redo_move_accumulator_to_end_of_block {
564564
solana_sdk::declare_id!("skyhwRBbP1LoHzWy1QrwLWy3vo2uHkzVV1zpN9UsGuw");
565565
}
566566

567+
pub mod add_publisher_stake_caps_to_the_accumulator {
568+
solana_sdk::declare_id!("J5u6Vrgj7de8zLcjQVhuRAPzEzfDamrxAQMz3q6HSmi1");
569+
}
570+
567571
lazy_static! {
568572
/// Map of feature identifiers to user-visible description
569573
pub static ref FEATURE_NAMES: HashMap<Pubkey, &'static str> = [
@@ -699,6 +703,7 @@ lazy_static! {
699703
(zero_wormhole_message_timestamps::id(), "use zeroed timestamps in wormhole messages"),
700704
(undo_move_accumulator_to_end_of_block::id(), "undo accumulator end of block change"),
701705
(redo_move_accumulator_to_end_of_block::id(), "redo accumulator end of block change"),
706+
(add_publisher_stake_caps_to_the_accumulator::id(), "add publisher stake caps to the accumulator")
702707
/*************** ADD NEW FEATURES HERE ***************/
703708
]
704709
.iter()

0 commit comments

Comments
 (0)