Skip to content

Commit

Permalink
Merge pull request #18 from multiversx/sync-sdk-rs-version
Browse files Browse the repository at this point in the history
Upgrade - sync with mx-sdk-rs version
  • Loading branch information
BiancaIalangi authored Dec 5, 2024
2 parents 0021cd6 + 0a08e6e commit 918332b
Show file tree
Hide file tree
Showing 44 changed files with 2,235 additions and 319 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ permissions:
jobs:
contracts:
name: Contracts
uses: multiversx/mx-sc-actions/.github/workflows/contracts.yml@v3.3.1
uses: multiversx/mx-sc-actions/.github/workflows/contracts.yml@v4.0.0
with:
rust-toolchain: stable
mx-scenario-go-version: v3.0.0
enable-contracts-size-report: false
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
6 changes: 2 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
[workspace]
members = [
"ping-pong",
"ping-pong/meta"
]
resolver = "2"
members = ["ping-pong", "ping-pong/meta", "ping-pong/interactor"]
1 change: 0 additions & 1 deletion elrond.workspace.json

This file was deleted.

4 changes: 2 additions & 2 deletions ping-pong/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ publish = false
path = "src/ping_pong.rs"

[dependencies.multiversx-sc]
version = "0.52.3"
version = "0.54.6"

[dev-dependencies.multiversx-sc-scenario]
version = "0.52.3"
version = "0.54.6"
23 changes: 0 additions & 23 deletions ping-pong/interaction/Ping-pong.erdjs.md

This file was deleted.

Empty file removed ping-pong/interaction/out.json
Empty file.
39 changes: 0 additions & 39 deletions ping-pong/interaction/snippets.sh

This file was deleted.

9 changes: 9 additions & 0 deletions ping-pong/interactor/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Pem files are used for interactions, but shouldn't be committed
*.pem
*.json

# Temporary storage of deployed contract address, so we can preserve the context between executions.
state.toml

# Trace file of interactor tooling
interactor_trace.scen.json
36 changes: 36 additions & 0 deletions ping-pong/interactor/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
[[bin]]
name = "ping-pong-interact"
path = "src/interact_main.rs"

[package]
name = "ping-pong-interact"
version = "0.0.0"
authors = ["MultiversX <[email protected]>"]
edition = "2021"
publish = false

[lib]
path = "src/interact.rs"

[dependencies]
toml = "0.8.6"

[dependencies.clap]
version = "4.4.7"
features = ["derive"]

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.tokio]
version = "1.24"

[dependencies.ping-pong]
path = ".."

[dependencies.multiversx-sc-snippets]
version = "0.54.6"

[features]
chain-simulator-tests = []
5 changes: 5 additions & 0 deletions ping-pong/interactor/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# chain_type = 'simulator'
# gateway_uri = 'http://localhost:8085'

chain_type = 'real'
gateway_uri = 'https://devnet-gateway.multiversx.com'
Loading

0 comments on commit 918332b

Please sign in to comment.