Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion forc-test/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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()
})
}
Expand Down
Loading