From 68347b015c1acfb787fc86f5f871101ead74268e Mon Sep 17 00:00:00 2001 From: Jakub Zajkowski Date: Wed, 9 Oct 2024 20:52:45 +0200 Subject: [PATCH] Fixing charge_when_session_code_succeeds test --- node/src/reactor/main_reactor/tests/transactions.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/node/src/reactor/main_reactor/tests/transactions.rs b/node/src/reactor/main_reactor/tests/transactions.rs index 058e388281..cd4d84f81f 100644 --- a/node/src/reactor/main_reactor/tests/transactions.rs +++ b/node/src/reactor/main_reactor/tests/transactions.rs @@ -3215,6 +3215,12 @@ async fn charge_when_session_code_succeeds() { }) .with_chain_name(CHAIN_NAME) .with_initiator_addr(BOB_PUBLIC_KEY.clone()) + .with_pricing_mode(PricingMode::Fixed { + gas_price_tolerance: 5, + additional_computation_factor: 2, /*Makes the transaction + * "Large" despite the fact that the actual + * WASM bytes categorize it as "Small" */ + }) .build() .unwrap(), );