Skip to content

Commit

Permalink
upgrade - fix path and set workspace resolver 2
Browse files Browse the repository at this point in the history
  • Loading branch information
BiancaIalangi committed Dec 3, 2024
1 parent c8bfb82 commit bf55581
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[workspace]
resolver = "2"
members = ["ping-pong", "ping-pong/meta", "ping-pong/interactor"]
4 changes: 2 additions & 2 deletions ping-pong/interactor/src/interact.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use multiversx_sc_snippets::imports::*;

const INTERACTOR_SCENARIO_TRACE_PATH: &str = "interactor_trace.scen.json";

const PING_PONG_CODE: MxscPath = MxscPath::new("../output/ping-pong-egld.mxsc.json");
const PING_PONG_CODE: MxscPath = MxscPath::new("../output/ping-pong.mxsc.json");

pub async fn ping_pong_egld_cli() {
env_logger::init();
Expand Down Expand Up @@ -122,7 +122,7 @@ impl PingPongEgldInteract {
.with_tracer(INTERACTOR_SCENARIO_TRACE_PATH)
.await;

interactor.set_current_dir_from_workspace("contracts/examples/ping-pong-egld/interactor");
interactor.set_current_dir_from_workspace("ping-pong/interactor");
let ping_pong_owner_address = interactor.register_wallet(test_wallets::eve()).await;
let wallet_address = interactor.register_wallet(test_wallets::mallory()).await;

Expand Down

0 comments on commit bf55581

Please sign in to comment.