11use {
22 crate :: {
33 bank:: pyth:: {
4- accumulator:: { BATCH_PUBLISH_PID , ORACLE_PID } ,
4+ accumulator:: { ORACLE_PID , PRICE_STORE_PID } ,
55 tests:: { create_new_bank_for_tests_with_index, new_from_parent} ,
66 } ,
77 genesis_utils:: { create_genesis_config_with_leader, GenesisConfigInfo } ,
@@ -50,13 +50,13 @@ fn test_batch_publish() {
5050 PUBLISHER_CONFIG_SEED . as_bytes ( ) ,
5151 & publisher_key. pubkey ( ) . to_bytes ( ) ,
5252 ] ,
53- & BATCH_PUBLISH_PID ,
53+ & PRICE_STORE_PID ,
5454 ) ;
5555 let publisher_buffer_key =
56- Pubkey :: create_with_seed ( & leader_pubkey, seed2, & BATCH_PUBLISH_PID ) . unwrap ( ) ;
56+ Pubkey :: create_with_seed ( & leader_pubkey, seed2, & PRICE_STORE_PID ) . unwrap ( ) ;
5757
5858 let mut publisher_config_account =
59- AccountSharedData :: new ( 42 , publisher_config:: SIZE , & BATCH_PUBLISH_PID ) ;
59+ AccountSharedData :: new ( 42 , publisher_config:: SIZE , & PRICE_STORE_PID ) ;
6060
6161 publisher_config:: create (
6262 publisher_config_account. data_mut ( ) ,
@@ -67,7 +67,7 @@ fn test_batch_publish() {
6767 bank. store_account ( & publisher_config_key, & publisher_config_account) ;
6868
6969 let mut publisher_buffer_account =
70- AccountSharedData :: new ( 42 , buffer:: size ( 100 ) , & BATCH_PUBLISH_PID ) ;
70+ AccountSharedData :: new ( 42 , buffer:: size ( 100 ) , & PRICE_STORE_PID ) ;
7171 {
7272 let ( header, prices) = buffer:: create (
7373 publisher_buffer_account. data_mut ( ) ,
0 commit comments