Skip to content

Commit

Permalink
removed print
Browse files Browse the repository at this point in the history
  • Loading branch information
Sk8erboi84 committed Nov 23, 2023
1 parent 2295b22 commit a86e30f
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 8 deletions.
3 changes: 0 additions & 3 deletions src/token/token_utils.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ use satoru::token::erc20::interface::{IERC20, IERC20Dispatcher, IERC20Dispatcher
use satoru::utils::account_utils::validate_receiver;
use satoru::bank::error::BankError;
use integer::u256_from_felt252;
use debug::PrintTrait;


fn fee_token(data_store: IDataStoreDispatcher) -> ContractAddress {
Expand All @@ -26,7 +25,6 @@ fn transfer(
receiver: ContractAddress,
amount: u128
) {
amount.print();
if (amount.is_zero()) {
return ();
}
Expand All @@ -39,7 +37,6 @@ fn transfer(
let success0 = IERC20Dispatcher { contract_address: token }
.transfer(recipient: receiver, amount: amount_u256);
if (success0 == true) {
amount_u256.print();
return ();
}

Expand Down
2 changes: 1 addition & 1 deletion tests/exchange/test_liquidation_handler.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use snforge_std::{
declare, start_prank, stop_prank, start_roll, ContractClassTrait, ContractClass, PrintTrait
declare, start_prank, stop_prank, start_roll, ContractClassTrait, ContractClass
};

use satoru::exchange::liquidation_handler::{
Expand Down
3 changes: 0 additions & 3 deletions tests/integration/create_market.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
// Core lib imports.

use result::ResultTrait;
use debug::PrintTrait;
use traits::{TryInto, Into};
use starknet::{
ContractAddress, get_caller_address, Felt252TryIntoContractAddress, contract_address_const,
Expand Down Expand Up @@ -241,8 +240,6 @@ fn test_deposit_market_integration() {

// let balance = IERC20Dispatcher{ contract_address: market.market_token }.balance_of(caller_address);

// IERC20Dispatcher{ contract_address: market.demarket_token }.balance_of(caller_address).print();

// *********************************************************************************************
// * TEARDOWN *
// *********************************************************************************************
Expand Down
1 change: 0 additions & 1 deletion tests/integration/test_create_and_execute_swap.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ use snforge_std::{
};
use traits::Default;
use poseidon::poseidon_hash_span;
use debug::PrintTrait;
// Local imports.
use satoru::role::role;
use satoru::tests_lib;
Expand Down

0 comments on commit a86e30f

Please sign in to comment.