From de03babbfbffe44f80b00d9dcd8ac6ef20525dea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Costin=20Caraba=C8=99?= Date: Fri, 14 Jun 2024 17:10:58 +0300 Subject: [PATCH] Fix rebranding issues --- legacy-contracts/farm-staking-proxy-v1.3/Cargo.toml | 13 ++++++++----- .../farm-staking-proxy-v1.3/docs/setup.md | 2 +- .../farm-staking-proxy-v1.3/meta/Cargo.toml | 8 +++----- .../farm-staking-proxy-v1.3/wasm/Cargo.toml | 8 ++------ locked-asset/interaction/testnet.snippets.sh | 2 +- 5 files changed, 15 insertions(+), 18 deletions(-) diff --git a/legacy-contracts/farm-staking-proxy-v1.3/Cargo.toml b/legacy-contracts/farm-staking-proxy-v1.3/Cargo.toml index 9200ac706..4b7c0b6c4 100644 --- a/legacy-contracts/farm-staking-proxy-v1.3/Cargo.toml +++ b/legacy-contracts/farm-staking-proxy-v1.3/Cargo.toml @@ -29,12 +29,15 @@ path = "../../common/common_structs_old" [dependencies.common_errors_old] path = "../../common/common_errors_old" -[dependencies.elrond-wasm] -version = "0.28.0" -features = ["cb_closure_managed_deser"] +[dev-dependencies.multiversx-sc-scenario] +version = "=0.48.1" -[dev-dependencies.elrond-wasm-debug] -version = "0.28.0" +[dev-dependencies.multiversx-sc-modules] +version = "=0.48.1" + +[dependencies.multiversx-sc] +version = "=0.48.1" +features = ["esdt-token-payment-legacy-decode"] [dev-dependencies] num-bigint = "0.4.2" diff --git a/legacy-contracts/farm-staking-proxy-v1.3/docs/setup.md b/legacy-contracts/farm-staking-proxy-v1.3/docs/setup.md index d096850d9..9c17aba50 100644 --- a/legacy-contracts/farm-staking-proxy-v1.3/docs/setup.md +++ b/legacy-contracts/farm-staking-proxy-v1.3/docs/setup.md @@ -36,7 +36,7 @@ fn register_farm_token( ) ``` -For issue parameters format restrictions, take a look here: https://docs.elrond.com/developers/esdt-tokens/#parameters-format +For issue parameters format restrictions, take a look here: https://docs.multiversx.com/tokens/esdt-tokens/#parameters-format payment_amount should be `0.05 EGLD`. diff --git a/legacy-contracts/farm-staking-proxy-v1.3/meta/Cargo.toml b/legacy-contracts/farm-staking-proxy-v1.3/meta/Cargo.toml index 53ddbf2d3..b87789f74 100644 --- a/legacy-contracts/farm-staking-proxy-v1.3/meta/Cargo.toml +++ b/legacy-contracts/farm-staking-proxy-v1.3/meta/Cargo.toml @@ -9,8 +9,6 @@ publish = false [dependencies.farm-staking] path = ".." -[dependencies.elrond-wasm] -version = "0.28.0" - -[dependencies.elrond-wasm-debug] -version = "0.28.0" +[dependencies.multiversx-sc-meta] +version = "0.48.1" +default-features = false \ No newline at end of file diff --git a/legacy-contracts/farm-staking-proxy-v1.3/wasm/Cargo.toml b/legacy-contracts/farm-staking-proxy-v1.3/wasm/Cargo.toml index 3e1e046a0..2f15a36b3 100644 --- a/legacy-contracts/farm-staking-proxy-v1.3/wasm/Cargo.toml +++ b/legacy-contracts/farm-staking-proxy-v1.3/wasm/Cargo.toml @@ -24,9 +24,5 @@ panic = "abort" default-features = false path = ".." -[dependencies.elrond-wasm-node] -version = "0.28.0" - -[dependencies.elrond-wasm-output] -version = "0.28.0" -features = ["wasm-output-mode"] +[dependencies.multiversx-sc-wasm-adapter] +version = "=0.48.1" diff --git a/locked-asset/interaction/testnet.snippets.sh b/locked-asset/interaction/testnet.snippets.sh index 856c79648..ce6841004 100644 --- a/locked-asset/interaction/testnet.snippets.sh +++ b/locked-asset/interaction/testnet.snippets.sh @@ -1,4 +1,4 @@ -WALLET_PEM="~/Documents/shared_folder/elrond_testnet_wallet.pem" +WALLET_PEM="~/Documents/shared_folder/multiversx_testnet_wallet.pem" DEPLOY_TRANSACTION=$(erdpy data load --key=deployTransaction-devnet) DEPLOY_GAS="1000000000" PROXY="https://testnet-gateway.multiversx.com"