From f3ffe86c97498d233c9664424198adefe661c277 Mon Sep 17 00:00:00 2001 From: Jakub Zajkowski Date: Wed, 9 Oct 2024 16:01:48 +0200 Subject: [PATCH] trying to debug charge_when_session_code_succeeds test --- Makefile | 2 +- node/src/reactor/main_reactor/tests/transactions.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 907b328626..880fcf3dfe 100644 --- a/Makefile +++ b/Makefile @@ -72,7 +72,7 @@ resources/local/chainspec.toml: generate-chainspec.sh resources/local/chainspec. .PHONY: test-rs test-rs: resources/local/chainspec.toml build-contracts-rs - $(LEGACY) $(DISABLE_LOGGING) $(CARGO) test --all-features --no-fail-fast $(CARGO_FLAGS) -- --nocapture + $(LEGACY) $(DISABLE_LOGGING) $(CARGO) test --all-features --no-fail-fast $(CARGO_FLAGS) -- charge_when_session_code_succeeds --nocapture .PHONY: resources/local/chainspec.toml test-rs-no-default-features: diff --git a/node/src/reactor/main_reactor/tests/transactions.rs b/node/src/reactor/main_reactor/tests/transactions.rs index 6f897deb2f..058e388281 100644 --- a/node/src/reactor/main_reactor/tests/transactions.rs +++ b/node/src/reactor/main_reactor/tests/transactions.rs @@ -850,7 +850,6 @@ async fn native_operations_fees_are_not_refunded() { #[tokio::test] async fn wasm_transaction_fees_are_refunded() { - std::env::set_var("CL_TEST_SEED", "84188df5d5f7a1e736c13623fb9721f6"); let initial_stakes = InitialStakes::FromVec(vec![u128::MAX, 1]); // Node 0 is effectively guaranteed to be the proposer. let refund_ratio = Ratio::new(1, 2);