diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 2e7449a..7dde03e 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -14,9 +14,10 @@ permissions: jobs: contracts: name: Contracts - uses: multiversx/mx-sc-actions/.github/workflows/contracts.yml@v4.2.1 + uses: multiversx/mx-sc-actions/.github/workflows/contracts.yml@f4db3dce60381ac2ed9504a22dcd1b796850345f with: rust-toolchain: stable enable-contracts-size-report: false + enable-interactor-tests: false secrets: token: ${{ secrets.GITHUB_TOKEN }} diff --git a/README.md b/README.md index 1949743..c907742 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Template for creating smart contracts. # Never Sea Festival Smart Contract -You are the Never Sea Festival 2023 organizers and you decide to create the registration via blockchain. +You are the Never Sea Festival organizers and you decide to create the registration via blockchain. Starting from this Smart Contract template you have to add more features to coordinate the event. * Compile and deploy the Smart Contract template === diff --git a/neversea/Cargo.toml b/neversea/Cargo.toml index 1f7bcd7..bdca0ac 100644 --- a/neversea/Cargo.toml +++ b/neversea/Cargo.toml @@ -9,7 +9,7 @@ publish = false path = "src/neversea.rs" [dependencies.multiversx-sc] -version = "0.52.3" +version = "0.62.1" [dev-dependencies.multiversx-sc-scenario] -version = "0.52.3" +version = "0.62.1" diff --git a/neversea/meta/Cargo.toml b/neversea/meta/Cargo.toml index 0d05ead..86ed075 100644 --- a/neversea/meta/Cargo.toml +++ b/neversea/meta/Cargo.toml @@ -11,4 +11,4 @@ authors = ["you"] path = ".." [dependencies.multiversx-sc-meta-lib] -version = "0.52.3" +version = "0.62.1" diff --git a/neversea/src/neversea.rs b/neversea/src/neversea.rs index a752ab4..d7389fc 100644 --- a/neversea/src/neversea.rs +++ b/neversea/src/neversea.rs @@ -13,7 +13,7 @@ pub trait Neversea { #[endpoint] fn register(&self) { let caller = self.blockchain().get_caller(); - let payment_amount = self.call_value().egld_value().clone_value(); + let payment_amount = self.call_value().egld().clone_value(); require!( payment_amount == self.registration_fee().get(), "Registration fee is incorrect; please check and try again" diff --git a/neversea/wasm/Cargo.toml b/neversea/wasm/Cargo.toml index f623565..5ab66c6 100644 --- a/neversea/wasm/Cargo.toml +++ b/neversea/wasm/Cargo.toml @@ -28,7 +28,7 @@ panic = "abort" path = ".." [dependencies.multiversx-sc-wasm-adapter] -version = "0.52.3" +version = "0.62.1" [workspace] members = ["."]