Skip to content

Commit

Permalink
chore: rm unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Darlington02 committed Oct 21, 2024
1 parent 21833bf commit ea20ee9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 4 additions & 1 deletion Scarb.lock
Original file line number Diff line number Diff line change
Expand Up @@ -181,4 +181,7 @@ dependencies = [
[[package]]
name = "token_bound_accounts"
version = "0.3.0"
source = "git+https://github.com/Starknet-Africa-Edu/TBA?tag=v0.3.0#1f8b5e3c45422fb188ef2cf874b46d02f642973b"
source = "git+https://github.com/horuslabsio/TBA?branch=v3#6a7ea81d619cb3b5f3bd7c4360bdc1619799d884"
dependencies = [
"openzeppelin",
]
3 changes: 1 addition & 2 deletions src/mocks/registry.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ pub mod Registry {
use core::pedersen::PedersenTrait;
use starknet::{
ContractAddress, get_caller_address, get_contract_address, syscalls::call_contract_syscall,
class_hash::ClassHash, syscalls::deploy_syscall, SyscallResultTrait,
storage::{Map, StorageMapReadAccess, StorageMapWriteAccess}
class_hash::ClassHash, syscalls::deploy_syscall, SyscallResultTrait
};
use token_bound_accounts::interfaces::IRegistry::IRegistry;

Expand Down
1 change: 0 additions & 1 deletion tests/test_channel.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -992,7 +992,6 @@ fn test_set_ban_status_by_mod() {
dispatcher.join_channel(channel_id);
stop_cheat_caller_address(channel_contract_address);

let mut spy = spy_events();
let mut moderator_array = array![USER_TWO.try_into().unwrap()];
start_cheat_caller_address(channel_contract_address, USER_ONE.try_into().unwrap());
dispatcher.add_channel_mods(channel_id, moderator_array.clone());
Expand Down

0 comments on commit ea20ee9

Please sign in to comment.