Skip to content

Commit f41782f

Browse files
authored
fix: resolve issue with abi paths (#1806)
1 parent 9a31948 commit f41782f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

target_chains/fuel/contracts/src/constants.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ pub const BETA_5_URL: &str = "beta-5.fuel.network";
2626
pub const BETA_5_PYTH_CONTRACT_ID: &str =
2727
"0xe69daeb9fcf4c536c0fe402403b4b9e9822cc8b1f296e5d754be12cc384554c5";
2828

29-
pub const PYTH_CONTRACT_BINARY_PATH: &str = "./pyth-contract/out/debug/pyth-contract.bin";
29+
pub const PYTH_CONTRACT_BINARY_PATH: &str = "./pyth-contract/out/release/pyth-contract.bin";
3030
pub const DEFAULT_SINGLE_UPDATE_FEE: u64 = 1;
3131
pub const DEFAULT_VALID_TIME_PERIOD: u64 = 60;
3232
pub const GUARDIAN_SET_UPGRADE_3_VAA: &str =

target_chains/fuel/contracts/src/pyth_utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ use wormhole_sdk::Vaa;
2323

2424
abigen!(Contract(
2525
name = "PythOracleContract",
26-
abi = "pyth-contract/out/debug/pyth-contract-abi.json"
26+
abi = "pyth-contract/out/release/pyth-contract-abi.json"
2727
));
2828

2929
pub struct Pyth {

0 commit comments

Comments
 (0)