Skip to content

Commit

Permalink
upgrade contract - sync with mx-sdk-rs version
Browse files Browse the repository at this point in the history
  • Loading branch information
BiancaIalangi committed Dec 3, 2024
1 parent 0021cd6 commit c8bfb82
Show file tree
Hide file tree
Showing 43 changed files with 2,237 additions and 313 deletions.
5 changes: 1 addition & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
[workspace]
members = [
"ping-pong",
"ping-pong/meta"
]
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.5"

[dev-dependencies.multiversx-sc-scenario]
version = "0.52.3"
version = "0.54.5"
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
28 changes: 28 additions & 0 deletions ping-pong/interactor/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
[package]
name = "ping-pong-interact"
version = "0.0.0"
authors = ["MultiversX <[email protected]>"]
edition = "2021"
publish = false

[[bin]]
name = "ping-pong-interact"
path = "src/interact_main.rs"

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

[dependencies]
clap = { version = "4.4.7", features = ["derive"] }
serde = { version = "1.0", features = ["derive"] }
toml = "0.8.6"
tokio = { version = "1.24" }

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

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

[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 c8bfb82

Please sign in to comment.