diff --git a/contracts/stake/tests/common/utils.rs b/contracts/stake/tests/common/utils.rs index a7e82c8c96..8d01bed979 100644 --- a/contracts/stake/tests/common/utils.rs +++ b/contracts/stake/tests/common/utils.rs @@ -10,7 +10,10 @@ use dusk_plonk::prelude::*; use phoenix_core::transaction::{TreeLeaf, TRANSFER_TREE_DEPTH}; use phoenix_core::{Note, Transaction, ViewKey}; use poseidon_merkle::Opening as PoseidonOpening; -use rusk_abi::{CallReceipt, ContractError, Error, Session, TRANSFER_CONTRACT}; +use rusk_abi::{ + CallReceipt, ContractError, ContractId, EconomicMode, Error, Session, + TRANSFER_CONTRACT, +}; const POINT_LIMIT: u64 = 0x100000000; @@ -107,7 +110,12 @@ pub fn execute( .call::<_, ()>( TRANSFER_CONTRACT, "refund", - &(tx.fee, receipt.gas_spent), + &( + tx.fee, + receipt.gas_spent, + EconomicMode::None, + None::, + ), u64::MAX, ) .expect("Refunding must succeed");