From deee4614640c26b6a73ea55e897eae0fa4318d8d Mon Sep 17 00:00:00 2001 From: Mihai Calin Luca Date: Mon, 18 Nov 2024 16:06:12 +0100 Subject: [PATCH] removed real blockchain tests feature from snippets gen --- .../src/contract/generate_snippets/snippet_crate_gen.rs | 1 - .../src/contract/generate_snippets/snippet_template_gen.rs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/framework/meta-lib/src/contract/generate_snippets/snippet_crate_gen.rs b/framework/meta-lib/src/contract/generate_snippets/snippet_crate_gen.rs index 71dc38d3f4..8b9e840363 100644 --- a/framework/meta-lib/src/contract/generate_snippets/snippet_crate_gen.rs +++ b/framework/meta-lib/src/contract/generate_snippets/snippet_crate_gen.rs @@ -100,7 +100,6 @@ toml = "0.8.6" [features] chain-simulator-tests = [] -blockchain-tests = [] "# ) .unwrap(); diff --git a/framework/meta-lib/src/contract/generate_snippets/snippet_template_gen.rs b/framework/meta-lib/src/contract/generate_snippets/snippet_template_gen.rs index d3bd3e91c4..540ae47437 100644 --- a/framework/meta-lib/src/contract/generate_snippets/snippet_template_gen.rs +++ b/framework/meta-lib/src/contract/generate_snippets/snippet_template_gen.rs @@ -257,7 +257,7 @@ use rust_interact::ContractInteract; // In order for this test to work, make sure that the `config.toml` file contains the real blockchain config (or choose it manually) // Can be run with `sc-meta test`. #[tokio::test] -#[cfg_attr(not(feature = "blockchain-tests"), ignore)] +#[ignore = "run on demand, relies on real blockchain state"] async fn deploy_test_{crate_name}() {{ let mut interactor = ContractInteract::new().await;