Skip to content

Commit

Permalink
Adjust benchmarking
Browse files Browse the repository at this point in the history
  • Loading branch information
sameh-farouk committed Aug 2, 2024
1 parent ded7466 commit 47f1b72
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ benchmarks! {

let contract = SmartContractModule::<T>::contracts(contract_id).unwrap();
// Get contract cost before billing to take into account nu
let (cost, discount_level) = contract.calculate_contract_cost_tft(balance_init_amount, elapsed_seconds).unwrap();
let (cost, discount_level) = contract.calculate_contract_cost_tft(balance_init_amount, elapsed_seconds, None).unwrap();
}: _(RawOrigin::Signed(farmer), contract_id)
verify {
let contract_payment_state = SmartContractModule::<T>::contract_payment_state(contract_id);
Expand Down

0 comments on commit 47f1b72

Please sign in to comment.