File tree Expand file tree Collapse file tree 4 files changed +9
-8
lines changed Expand file tree Collapse file tree 4 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ tracing-opentelemetry = "0.24.0"
56
56
opentelemetry = " 0.23.0"
57
57
opentelemetry_sdk = { version = " 0.23.0" , features = [" rt-tokio" ]}
58
58
opentelemetry-otlp = { version = " 0.16.0" }
59
- pyth-price-publisher = { git = " https://github.com/pyth-network/pyth-crosschain " , rev = " 4df7172b " }
59
+ pyth-price-store = " 0.1.0 "
60
60
bytemuck = " 1.13.0"
61
61
62
62
[dev-dependencies ]
Original file line number Diff line number Diff line change 27
27
} ,
28
28
chrono:: Utc ,
29
29
futures_util:: future:: join_all,
30
- pyth_price_publisher :: accounts:: buffer:: BufferedPrice ,
30
+ pyth_price_store :: accounts:: buffer:: BufferedPrice ,
31
31
pyth_sdk:: Identifier ,
32
32
pyth_sdk_solana:: state:: PriceStatus ,
33
33
serde:: Serialize ,
@@ -822,7 +822,7 @@ fn create_instruction_with_publish_program(
822
822
publisher_buffer_key : Pubkey ,
823
823
prices : Vec < PermissionedUpdate > ,
824
824
) -> Result < Instruction > {
825
- use pyth_price_publisher :: instruction:: {
825
+ use pyth_price_store :: instruction:: {
826
826
Instruction as PublishInstruction ,
827
827
SubmitPricesArgsHeader ,
828
828
PUBLISHER_CONFIG_SEED ,
Original file line number Diff line number Diff line change 18
18
Context ,
19
19
Result ,
20
20
} ,
21
- pyth_price_publisher :: instruction:: PUBLISHER_CONFIG_SEED ,
21
+ pyth_price_store :: instruction:: PUBLISHER_CONFIG_SEED ,
22
22
pyth_sdk_solana:: state:: {
23
23
load_mapping_account,
24
24
load_product_account,
@@ -407,7 +407,7 @@ async fn fetch_publisher_buffer_key(
407
407
& publish_program_key,
408
408
) ;
409
409
let data = rpc_client. get_account_data ( & publisher_config_key) . await ?;
410
- let config = pyth_price_publisher :: accounts:: publisher_config:: read ( & data) ?;
410
+ let config = pyth_price_store :: accounts:: publisher_config:: read ( & data) ?;
411
411
Ok ( config. buffer_account . into ( ) )
412
412
}
413
413
You can’t perform that action at this time.
0 commit comments