diff --git a/.github/workflows/rust.yaml b/.github/workflows/rust.yaml index cc202e1..e9a8a28 100644 --- a/.github/workflows/rust.yaml +++ b/.github/workflows/rust.yaml @@ -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 diff --git a/contracts/swap/src/testing/test_utils.rs b/contracts/swap/src/testing/test_utils.rs index 1195e33..ccee9a3 100644 --- a/contracts/swap/src/testing/test_utils.rs +++ b/contracts/swap/src/testing/test_utils.rs @@ -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 { @@ -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 { diff --git a/copy_to_devnet_setup.sh b/copy_to_devnet_setup.sh index 38cdad4..2b34097 100755 --- a/copy_to_devnet_setup.sh +++ b/copy_to_devnet_setup.sh @@ -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" \ No newline at end of file +echo "SWAP_CONVERTER_COMMIT_HASH=$COMMIT_HASH" > "../devnet-setup/wasm-contracts/swap_contract.version" \ No newline at end of file