From d33a4e730006a55a32724d6940b596ce170fbad4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Costin=20Caraba=C8=99?= Date: Wed, 4 Oct 2023 17:46:09 +0300 Subject: [PATCH 1/2] Downgrade wegld-swap to integrate with xexchange --- contracts/wegld-swap/Cargo.toml | 6 +++--- contracts/wegld-swap/meta/Cargo.toml | 4 ++-- contracts/wegld-swap/wasm/Cargo.toml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/contracts/wegld-swap/Cargo.toml b/contracts/wegld-swap/Cargo.toml index 138945cd..a6e429a6 100644 --- a/contracts/wegld-swap/Cargo.toml +++ b/contracts/wegld-swap/Cargo.toml @@ -15,9 +15,9 @@ edition = "2021" [lib] path = "src/wegld.rs" [dependencies.multiversx-sc] -version = "0.43.4" +version = "0.43.3" [dependencies.multiversx-sc-modules] -version = "0.43.4" +version = "0.43.3" [dev-dependencies.multiversx-sc-scenario] -version = "0.43.4" +version = "0.43.3" diff --git a/contracts/wegld-swap/meta/Cargo.toml b/contracts/wegld-swap/meta/Cargo.toml index 22457c25..0ea1ad0b 100644 --- a/contracts/wegld-swap/meta/Cargo.toml +++ b/contracts/wegld-swap/meta/Cargo.toml @@ -10,7 +10,7 @@ publish = false path = ".." [dependencies.multiversx-sc] -version = "0.43.4" +version = "0.43.3" [dependencies.multiversx-sc-meta] -version = "0.43.4" +version = "0.43.3" diff --git a/contracts/wegld-swap/wasm/Cargo.toml b/contracts/wegld-swap/wasm/Cargo.toml index 69b82bab..dab61e65 100644 --- a/contracts/wegld-swap/wasm/Cargo.toml +++ b/contracts/wegld-swap/wasm/Cargo.toml @@ -22,4 +22,4 @@ panic = "abort" path = ".." [dependencies.multiversx-sc-wasm-adapter] -version = "0.43.4" +version = "0.43.3" From 6370ddfa7d162686705742317356202fc1bbba8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Costin=20Caraba=C8=99?= Date: Wed, 4 Oct 2023 18:01:50 +0300 Subject: [PATCH 2/2] Rename modules to snake_case --- contracts/wegld-swap/Cargo.toml | 2 +- contracts/wegld-swap/meta/Cargo.toml | 4 ++-- contracts/wegld-swap/wasm/Cargo.toml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/contracts/wegld-swap/Cargo.toml b/contracts/wegld-swap/Cargo.toml index a6e429a6..ca80b0cd 100644 --- a/contracts/wegld-swap/Cargo.toml +++ b/contracts/wegld-swap/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "multiversx-wegld-swap-sc" +name = "multiversx_wegld_swap_sc" version = "0.43.3" authors = ["Dorin Iancu ", "MultiversX "] license = "GPL-3.0-only" diff --git a/contracts/wegld-swap/meta/Cargo.toml b/contracts/wegld-swap/meta/Cargo.toml index 0ea1ad0b..27797e6d 100644 --- a/contracts/wegld-swap/meta/Cargo.toml +++ b/contracts/wegld-swap/meta/Cargo.toml @@ -1,12 +1,12 @@ [package] -name = "multiversx-wegld-swap-sc-meta" +name = "multiversx_wegld_swap_sc_meta" version = "0.0.0" authors = ["Dorin Iancu "] edition = "2021" publish = false [dev-dependencies] -[dependencies.multiversx-wegld-swap-sc] +[dependencies.multiversx_wegld_swap_sc] path = ".." [dependencies.multiversx-sc] diff --git a/contracts/wegld-swap/wasm/Cargo.toml b/contracts/wegld-swap/wasm/Cargo.toml index dab61e65..cadf73b7 100644 --- a/contracts/wegld-swap/wasm/Cargo.toml +++ b/contracts/wegld-swap/wasm/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "multiversx-wegld-swap-sc-wasm" +name = "multiversx_wegld_swap_sc_wasm" version = "0.0.0" authors = ["Dorin Iancu "] edition = "2021" @@ -18,7 +18,7 @@ opt-level = "z" lto = true debug = false panic = "abort" -[dependencies.multiversx-wegld-swap-sc] +[dependencies.multiversx_wegld_swap_sc] path = ".." [dependencies.multiversx-sc-wasm-adapter]