From ddbb11767fcbc097777d3595a7f6f594520bc457 Mon Sep 17 00:00:00 2001 From: Bianca Ialangi Date: Wed, 8 Jan 2025 22:01:47 +0200 Subject: [PATCH] remove tracers --- .../tests/interact_tests.rs | 30 ++++--------------- 1 file changed, 6 insertions(+), 24 deletions(-) diff --git a/contracts/feature-tests/composability/forwarder-interactor/tests/interact_tests.rs b/contracts/feature-tests/composability/forwarder-interactor/tests/interact_tests.rs index 59edcbbac0..78c85a34a4 100644 --- a/contracts/feature-tests/composability/forwarder-interactor/tests/interact_tests.rs +++ b/contracts/feature-tests/composability/forwarder-interactor/tests/interact_tests.rs @@ -1,8 +1,4 @@ -use forwarder_interact::{ - Color, Config, ContractInteract, FORWARDER_BUILTIN_INTERACTOR_TRACE_PATH, - FORWARDER_CHANGE_TO_DYNAMIC_INTERACTOR_TRACE_PATH, FORWARDER_DEPLOY_INTERACTOR_TRACE_PATH, - FORWARDER_MODIFY_CREATOR_INTERACTOR_TRACE_PATH, FORWARDER_UPDATE_TOKEN_INTERACTOR_TRACE_PATH, -}; +use forwarder_interact::{Color, Config, ContractInteract}; use multiversx_sc_snippets::imports::*; const ISSUE_COST: u64 = 50000000000000000u64; @@ -13,8 +9,7 @@ const ISSUE_COST: u64 = 50000000000000000u64; #[tokio::test] #[ignore = "run on demand, relies on real blockchain state"] async fn deploy_test_forwarder() { - let mut interactor = - ContractInteract::new(Config::new(), Some(FORWARDER_DEPLOY_INTERACTOR_TRACE_PATH)).await; + let mut interactor = ContractInteract::new(Config::new(), None).await; interactor.deploy().await; } @@ -22,8 +17,7 @@ async fn deploy_test_forwarder() { #[tokio::test] #[ignore = "run on demand"] async fn builtin_func_tokens_test() { - let mut interact = - ContractInteract::new(Config::new(), Some(FORWARDER_BUILTIN_INTERACTOR_TRACE_PATH)).await; + let mut interact = ContractInteract::new(Config::new(), None).await; // deploy forwarder interact.deploy().await; @@ -176,11 +170,7 @@ async fn builtin_func_tokens_test() { #[tokio::test] #[ignore = "run on demand"] async fn change_to_dynamic_test() { - let mut interact = ContractInteract::new( - Config::new(), - Some(FORWARDER_CHANGE_TO_DYNAMIC_INTERACTOR_TRACE_PATH), - ) - .await; + let mut interact = ContractInteract::new(Config::new(), None).await; // deploy forwarder interact.deploy().await; @@ -234,11 +224,7 @@ async fn change_to_dynamic_test() { #[tokio::test] #[ignore = "run on demand"] async fn update_token_test() { - let mut interact = ContractInteract::new( - Config::new(), - Some(FORWARDER_UPDATE_TOKEN_INTERACTOR_TRACE_PATH), - ) - .await; + let mut interact = ContractInteract::new(Config::new(), None).await; // deploy forwarder interact.deploy().await; @@ -264,11 +250,7 @@ async fn update_token_test() { #[tokio::test] #[ignore = "run on demand"] async fn modify_creator() { - let mut interact = ContractInteract::new( - Config::new(), - Some(FORWARDER_MODIFY_CREATOR_INTERACTOR_TRACE_PATH), - ) - .await; + let mut interact = ContractInteract::new(Config::new(), None).await; // deploy forwarder interact.deploy().await;