From 99aea48ef6ea2e1acda85554dea96ceda934432f Mon Sep 17 00:00:00 2001 From: JordyRo1 Date: Wed, 4 Feb 2026 12:48:49 +0400 Subject: [PATCH] fix: address + procedure --- masm/accounts/oracle_reader.masm | 4 ++-- rust-client/src/bin/oracle_data_query.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/masm/accounts/oracle_reader.masm b/masm/accounts/oracle_reader.masm index 0afb46c9..bfa2baf5 100644 --- a/masm/accounts/oracle_reader.masm +++ b/masm/accounts/oracle_reader.masm @@ -8,10 +8,10 @@ export.get_price # => [PAIR] # This is the procedure root of the `get_median` procedure - push.0xb86237a8c9cd35acfef457e47282cc4da43df676df410c988eab93095d8fb3b9 + push.0xe3aa90b3eeca91470e0d9ff1f37d74047c230c81dd88505701b926db11303004 # => [GET_MEDIAN_HASH, PAIR] - push.939716883672832.2172042075194638080 + push.4116674871048819456.1405377866143230208 # => [oracle_id_prefix, oracle_id_suffix, GET_MEDIAN_HASH, PAIR] exec.tx::execute_foreign_procedure diff --git a/rust-client/src/bin/oracle_data_query.rs b/rust-client/src/bin/oracle_data_query.rs index 8bfef7aa..d4c4b77c 100644 --- a/rust-client/src/bin/oracle_data_query.rs +++ b/rust-client/src/bin/oracle_data_query.rs @@ -114,8 +114,8 @@ async fn main() -> Result<(), ClientError> { // ------------------------------------------------------------------------- // Get all foreign accounts for oracle data // ------------------------------------------------------------------------- - let oracle_bech32 = "mtst1qq0zffxzdykm7qqqqdt24cc2du5ghx99"; - let (_, oracle_account_id) = AccountId::from_bech32(oracle_bech32).unwrap(); + let oracle_bech32 = "mtst1aqfcpeaey657jqpey9wlhu9y2veenvk8"; + let (_,oracle_account_id) = AccountId::from_bech32(oracle_bech32).unwrap(); let btc_usd_pair_id = 120195681; let foreign_accounts: Vec = get_oracle_foreign_accounts(&mut client, oracle_account_id, btc_usd_pair_id).await?;