Skip to content

Commit 2b76755

Browse files
committed
Chores: removed all unused variables
1 parent 02fc8ed commit 2b76755

File tree

3 files changed

+1
-35
lines changed

3 files changed

+1
-35
lines changed

Scarb.toml

-32
Original file line numberDiff line numberDiff line change
@@ -23,35 +23,3 @@ test = "snforge test"
2323
[profile.dev.cairo]
2424
unstable-add-statements-code-locations-debug-info = true
2525
unstable-add-statements-functions-debug-info = true
26-
27-
28-
29-
# Visit https://foundry-rs.github.io/starknet-foundry/appendix/scarb-toml.html for more information
30-
31-
# [tool.snforge] # Define `snforge` tool section
32-
# exit_first = true # Stop tests execution immediately upon the first failure
33-
# fuzzer_runs = 1234 # Number of runs of the random fuzzer
34-
# fuzzer_seed = 1111 # Seed for the random fuzzer
35-
36-
# [[tool.snforge.fork]] # Used for fork testing
37-
# name = "SOME_NAME" # Fork name
38-
# url = "http://your.rpc.url" # Url of the RPC provider
39-
# block_id.tag = "latest" # Block to fork from (block tag)
40-
41-
# [[tool.snforge.fork]]
42-
# name = "SOME_SECOND_NAME"
43-
# url = "http://your.second.rpc.url"
44-
# block_id.number = "123" # Block to fork from (block number)
45-
46-
# [[tool.snforge.fork]]
47-
# name = "SOME_THIRD_NAME"
48-
# url = "http://your.third.rpc.url"
49-
# block_id.hash = "0x123" # Block to fork from (block hash)
50-
51-
# [profile.dev.cairo] # Configure Cairo compiler
52-
# unstable-add-statements-code-locations-debug-info = true # Should be used if you want to use coverage
53-
# unstable-add-statements-functions-debug-info = true # Should be used if you want to use coverage/profiler
54-
# inlining-strategy = "avoid" # Should be used if you want to use coverage
55-
56-
# [features] # Used for conditional compilation
57-
# enable_for_tests = [] # Feature name and list of other features that should be enabled with it

src/interfaces/IWeaver.cairo

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
use starknet::ContractAddress;
22
use starknet::class_hash::ClassHash;
3-
use core::fmt::{Debug, Formatter};
43

54
// *************************************************************************
65
// INTERFACE of WEAVER

src/weaver.cairo

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use core::starknet::ContractAddress;
1+
22

33
#[starknet::contract]
44
pub mod Weaver {
@@ -18,7 +18,6 @@ pub mod Weaver {
1818
get_caller_address,
1919
};
2020

21-
use weaver_contract::interfaces::IWeaver::{IWeaverDispatcher, IWeaverDispatcherTrait};
2221
use weaver_contract::interfaces::IWeaver::{User, ProtocolInfo, TaskInfo};
2322
use weaver_contract::interfaces::IWeaver::IWeaver;
2423
use weaver_contract::interfaces::IWeaverNFT::{IWeaverNFTDispatcher, IWeaverNFTDispatcherTrait};

0 commit comments

Comments
 (0)