Skip to content

Commit

Permalink
chore: rename injective-converter -> swap-contract
Browse files Browse the repository at this point in the history
  • Loading branch information
gorgos committed Feb 24, 2024
1 parent a6e968b commit 9a0b624
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
toolchain: 1.74.0
args: --locked --tests
env:
LLVM_PROFILE_FILE: "swap-converter-%p-%m.profraw"
LLVM_PROFILE_FILE: "swap-contract-%p-%m.profraw"
RUSTFLAGS: "-Cinstrument-coverage"
RUST_BACKTRACE: 1

Expand Down
4 changes: 2 additions & 2 deletions contracts/swap/src/testing/test_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -817,7 +817,7 @@ pub fn init_self_relaying_contract_and_get_address(
owner: &SigningAccount,
initial_balance: &[Coin],
) -> String {
let code_id = store_code(wasm, owner, "injective_converter".to_string());
let code_id = store_code(wasm, owner, "swap_contract".to_string());
wasm.instantiate(
code_id,
&InstantiateMsg {
Expand All @@ -840,7 +840,7 @@ pub fn init_contract_with_fee_recipient_and_get_address(
initial_balance: &[Coin],
fee_recipient: &SigningAccount,
) -> String {
let code_id = store_code(wasm, owner, "injective_converter".to_string());
let code_id = store_code(wasm, owner, "swap_contract".to_string());
wasm.instantiate(
code_id,
&InstantiateMsg {
Expand Down
6 changes: 3 additions & 3 deletions copy_to_devnet_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ fi

COMMIT_HASH=$(git rev-parse --short HEAD)

rm -f ../devnet-setup/wasm-contracts/swap_converter*
cp artifacts/injective_converter$ARCH.wasm ../devnet-setup/wasm-contracts/swap_converter_${COMMIT_HASH}.wasm
rm -f ../devnet-setup/wasm-contracts/swap_contract*
cp artifacts/swap_contract$ARCH.wasm ../devnet-setup/wasm-contracts/swap_contract_${COMMIT_HASH}.wasm

echo "SWAP_CONVERTER_COMMIT_HASH=$COMMIT_HASH" > "../devnet-setup/wasm-contracts/swap_converter.version"
echo "SWAP_CONVERTER_COMMIT_HASH=$COMMIT_HASH" > "../devnet-setup/wasm-contracts/swap_contract.version"

0 comments on commit 9a0b624

Please sign in to comment.