diff --git a/forc-test/src/lib.rs b/forc-test/src/lib.rs index ba7e31819dc..d62274400e8 100644 --- a/forc-test/src/lib.rs +++ b/forc-test/src/lib.rs @@ -705,7 +705,9 @@ pub(crate) fn maxed_consensus_params(gas_costs_values: GasCostsValues) -> Consen let script_params = ScriptParameters::DEFAULT .with_max_script_length(u64::MAX) .with_max_script_data_length(u64::MAX); - let tx_params = TxParameters::DEFAULT.with_max_size(u64::MAX); + let tx_params = TxParameters::DEFAULT + .with_max_size(u64::MAX) + .with_max_gas_per_tx(u64::MAX); let contract_params = ContractParameters::DEFAULT .with_contract_max_size(u64::MAX) .with_max_storage_slots(u64::MAX); @@ -714,6 +716,7 @@ pub(crate) fn maxed_consensus_params(gas_costs_values: GasCostsValues) -> Consen tx_params, contract_params, gas_costs: gas_costs_values.into(), + block_gas_limit: u64::MAX, ..Default::default() }) }