File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ reqwest.workspace = true
28
28
serde.workspace = true
29
29
serde_json.workspace = true
30
30
starknet.workspace = true
31
- starknet-crypto.workspace = true
32
31
starknet-types-core.workspace = true
33
32
thiserror.workspace = true
34
33
tokio.workspace = true
@@ -37,6 +36,7 @@ url.workspace = true
37
36
38
37
alloy-primitives = { workspace = true , features = [ " serde" ] }
39
38
alloy-sol-types = { workspace = true , default-features = false , features = [ " json" ] }
39
+ starknet-crypto = { workspace = true , optional = true }
40
40
41
41
alloy-contract = { workspace = true , default-features = false }
42
42
alloy-network = { workspace = true , default-features = false }
@@ -50,4 +50,4 @@ hex.workspace = true
50
50
tempfile.workspace = true
51
51
52
52
[features ]
53
- starknet-messaging = [ ]
53
+ starknet-messaging = [ " dep:starknet-crypto " ]
Original file line number Diff line number Diff line change @@ -57,13 +57,6 @@ impl ContractClass {
57
57
}
58
58
}
59
59
60
- /// Checks if this contract class is a Sierra class.
61
- ///
62
- /// Returns `true` if the contract class is a Sierra class, `false` otherwise.
63
- pub fn is_class ( & self ) -> bool {
64
- matches ! ( self , Self :: Class ( _) )
65
- }
66
-
67
60
/// Checks if this contract class is a Cairo 0 legacy class.
68
61
///
69
62
/// Returns `true` if the contract class is a legacy class, `false` otherwise.
You can’t perform that action at this time.
0 commit comments