Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
yomarion committed Sep 25, 2023
1 parent 0d02a9c commit 20ac13c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ printf "Deploying %s on NEAR_ENV=%s with ACCOUNT_ID=%s (patch=%s)\n\n" "$contrac

if [ "$contract_name" = "fungible_proxy" ]; then
set -x
near deploy -f --wasmFile ./target/wasm32-unknown-unknown/release/$contract_name.wasm \
NEAR_ENV=$NEAR_ENV near deploy -f --wasmFile ./target/wasm32-unknown-unknown/release/$contract_name.wasm \
--accountId $ACCOUNT_ID
else

Expand All @@ -84,7 +84,7 @@ else
--initArgs $initArgs";
fi
set -x
near deploy -f --wasmFile ./target/wasm32-unknown-unknown/release/$contract_name.wasm \
NEAR_ENV=$NEAR_ENV near deploy -f --wasmFile ./target/wasm32-unknown-unknown/release/$contract_name.wasm \
--accountId $ACCOUNT_ID \
$initParams
fi
Expand Down
2 changes: 1 addition & 1 deletion tests/sim/conversion_proxy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ fn test_outdated_rate() {
),
deposit = transfer_amount
);
result.assert_one_promise_error("Conversion rate too old");
result.assert_success_one_log("Conversion rate too old");

assert_eq!(
initial_proxy_balance,
Expand Down

0 comments on commit 20ac13c

Please sign in to comment.