-
Notifications
You must be signed in to change notification settings - Fork 0
/
Scarb.toml
51 lines (38 loc) · 2.27 KB
/
Scarb.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[package]
name = "risc0_starknet"
version = "0.1.0"
edition = "2024_07"
# See more keys and their definitions at https://docs.swmansion.com/scarb/docs/reference/manifest.html
[dependencies]
starknet = "2.9.1"
openzeppelin = "0.20.0"
[dev-dependencies]
snforge_std = { git = "https://github.com/foundry-rs/starknet-foundry", tag = "v0.34.0" }
assert_macros = "2.9.1"
[[target.starknet-contract]]
sierra = true
[scripts]
test = "snforge test"
# Visit https://foundry-rs.github.io/starknet-foundry/appendix/scarb-toml.html for more information
# [tool.snforge] # Define `snforge` tool section
# exit_first = true # Stop tests execution immediately upon the first failure
# fuzzer_runs = 1234 # Number of runs of the random fuzzer
# fuzzer_seed = 1111 # Seed for the random fuzzer
# [[tool.snforge.fork]] # Used for fork testing
# name = "SOME_NAME" # Fork name
# url = "http://your.rpc.url" # Url of the RPC provider
# block_id.tag = "latest" # Block to fork from (block tag)
# [[tool.snforge.fork]]
# name = "SOME_SECOND_NAME"
# url = "http://your.second.rpc.url"
# block_id.number = "123" # Block to fork from (block number)
# [[tool.snforge.fork]]
# name = "SOME_THIRD_NAME"
# url = "http://your.third.rpc.url"
# block_id.hash = "0x123" # Block to fork from (block hash)
[profile.dev.cairo] # Configure Cairo compiler
unstable-add-statements-code-locations-debug-info = true # Should be used if you want to use coverage
unstable-add-statements-functions-debug-info = true # Should be used if you want to use coverage/profiler
inlining-strategy = "avoid" # Should be used if you want to use coverage
# [features] # Used for conditional compilation
# enable_for_tests = [] # Feature name and list of other features that should be enabled with it