Skip to content

Commit

Permalink
stake-contracts: remove economic protocol features
Browse files Browse the repository at this point in the history
  • Loading branch information
Eduardo Leegwater Simões committed Jun 26, 2024
1 parent e4fdb51 commit ca5c8bf
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions contracts/stake/tests/common/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@ use execution_core::{
transfer::{TreeLeaf, TRANSFER_TREE_DEPTH},
Note, Transaction, ViewKey,
};
use rusk_abi::{
CallReceipt, ContractError, ContractId, EconomicMode, Error, Session,
TRANSFER_CONTRACT,
};
use rusk_abi::{CallReceipt, ContractError, Error, Session, TRANSFER_CONTRACT};

const POINT_LIMIT: u64 = 0x100000000;

Expand Down Expand Up @@ -113,12 +110,7 @@ pub fn execute(
.call::<_, ()>(
TRANSFER_CONTRACT,
"refund",
&(
tx.fee,
receipt.gas_spent,
EconomicMode::None,
None::<ContractId>,
),
&(tx.fee, receipt.gas_spent),
u64::MAX,
)
.expect("Refunding must succeed");
Expand Down

0 comments on commit ca5c8bf

Please sign in to comment.