Skip to content

Commit 4f238ae

Browse files
devin-ai-integration[bot]Jayant Krishnamurthy
andcommitted
refactor: update cosmwasm contract to use pythnet_sdk::legacy::Identifier
Co-Authored-By: Jayant Krishnamurthy <[email protected]>
1 parent 03aa003 commit 4f238ae

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

target_chains/cosmwasm/contracts/pyth/src/contract.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1478,7 +1478,7 @@ mod test {
14781478
#[test]
14791479
fn test_create_price_feed_from_price_attestation_status_trading() {
14801480
let price_attestation = PriceAttestation {
1481-
price_id: pyth_wormhole_attester_sdk::Identifier::new([0u8; 32]),
1481+
price_id: pythnet_sdk::legacy::Identifier::new([0u8; 32]),
14821482
price: 100,
14831483
conf: 100,
14841484
expo: 100,
@@ -1527,7 +1527,7 @@ mod test {
15271527

15281528
fn test_create_price_feed_from_price_attestation_not_trading(status: PriceStatus) {
15291529
let price_attestation = PriceAttestation {
1530-
price_id: pyth_wormhole_attester_sdk::Identifier::new([0u8; 32]),
1530+
price_id: pythnet_sdk::legacy::Identifier::new([0u8; 32]),
15311531
price: 100,
15321532
conf: 100,
15331533
expo: 100,
@@ -1565,7 +1565,7 @@ mod test {
15651565
let (mut deps, env) = setup_test();
15661566

15671567
let price_attestation = PriceAttestation {
1568-
price_id: pyth_wormhole_attester_sdk::Identifier::new([0u8; 32]),
1568+
price_id: pythnet_sdk::legacy::Identifier::new([0u8; 32]),
15691569
price: 100,
15701570
conf: 100,
15711571
expo: 100,
@@ -1607,7 +1607,7 @@ mod test {
16071607
let (mut deps, env) = setup_test();
16081608

16091609
let price_attestation = PriceAttestation {
1610-
price_id: pyth_wormhole_attester_sdk::Identifier::new([0u8; 32]),
1610+
price_id: pythnet_sdk::legacy::Identifier::new([0u8; 32]),
16111611
price: 100,
16121612
conf: 100,
16131613
expo: 100,

0 commit comments

Comments
 (0)