Skip to content

Commit

Permalink
Merge pull request #20 from multiversx/update-ping-pong-tokens
Browse files Browse the repository at this point in the history
revert to ping-pong esdt or egld, upgrade to v0.54.6, create interactor
  • Loading branch information
BiancaIalangi authored Dec 23, 2024
2 parents 918332b + 17fc39d commit d21e5f3
Show file tree
Hide file tree
Showing 38 changed files with 552 additions and 1,714 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ permissions:
jobs:
contracts:
name: Contracts
uses: multiversx/mx-sc-actions/.github/workflows/contracts.yml@v4.0.0
uses: multiversx/mx-sc-actions/.github/workflows/contracts.yml@v4.2.0
with:
rust-toolchain: stable
mx-scenario-go-version: v3.0.0
Expand Down
6 changes: 1 addition & 5 deletions ping-pong/interactor/.gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
# 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
state.toml
33 changes: 14 additions & 19 deletions ping-pong/interactor/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,36 +1,31 @@
[[bin]]
name = "ping-pong-interact"
path = "src/interact_main.rs"

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

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

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

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

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

[features]
chain-simulator-tests = []
2 changes: 2 additions & 0 deletions ping-pong/interactor/config.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@

# chain_type = 'simulator'
# gateway_uri = 'http://localhost:8085'

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

Loading

0 comments on commit d21e5f3

Please sign in to comment.