Skip to content

Commit

Permalink
chain sim - adder interactor integration cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-marinica committed Oct 14, 2024
1 parent a35096d commit c0f9e58
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 16 deletions.
2 changes: 1 addition & 1 deletion contracts/examples/adder/interact/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ name = "basic-interact"
path = "src/basic_interact_main.rs"

[lib]
path = "src/basic_interact_lib.rs"
path = "src/basic_interact.rs"

[dependencies]
clap = { version = "4.4.7", features = ["derive"] }
Expand Down
11 changes: 4 additions & 7 deletions contracts/examples/adder/interact/src/basic_interact.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
// mod basic_interact_cli;
// mod basic_interact_config;
// mod basic_interact_state;
mod basic_interact_cli;
mod basic_interact_config;
mod basic_interact_state;

use core::str;

use crate::basic_interact_cli;
use crate::basic_interact_config::Config;
use crate::basic_interact_state::State;
use adder::adder_proxy;
pub use basic_interact_config::Config;
use clap::Parser;

use multiversx_sc_snippets::imports::*;
Expand Down
7 changes: 0 additions & 7 deletions contracts/examples/adder/interact/src/basic_interact_lib.rs

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ extern crate basic_interact;
#[tokio::main]
pub async fn main() {
basic_interact::adder_cli().await;
}
}

0 comments on commit c0f9e58

Please sign in to comment.