-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathScarb.toml
More file actions
138 lines (108 loc) · 4.01 KB
/
Scarb.toml
File metadata and controls
138 lines (108 loc) · 4.01 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
[package]
name = "numo_contracts"
version = "0.1.0"
edition = "2023_11"
# See more keys and their definitions at https://docs.swmansion.com/scarb/docs/reference/manifest.html
[dependencies]
starknet = "2.12.2"
alexandria_storage = "0.6.0"
alexandria_math = "0.6.0"
alexandria_data_structures = "0.6.0"
openzeppelin = "1.0.0"
openzeppelin_introspection = "1.0.0"
[dev-dependencies]
snforge_std = "0.50.0"
assert_macros = "2.12.2"
[[target.starknet-contract]]
sierra = true
[scripts]
test = "snforge test"
[tool.scarb]
allow-prebuilt-plugins = ["snforge_std"]
[[tool.snforge.fork]]
name = "mainnet_latest"
url = "$MAINNET_RPC_URL"
block_id.tag = "latest"
[[tool.snforge.fork]]
name = "mainnet_846087"
url = "$MAINNET_RPC_URL"
block_id.number = "846087"
[[tool.snforge.fork]]
name = "mainnet_630393"
url = "$MAINNET_RPC_URL"
block_id.number = "630393"
[[tool.snforge.fork]]
name = "mainnet_660943"
url = "$MAINNET_RPC_URL"
block_id.number = "660943"
[[tool.snforge.fork]]
name = "mainnet_661452"
url = "$MAINNET_RPC_URL"
block_id.number = "661452"
[[tool.snforge.fork]]
name = "mainnet_usdc_large"
url = "$MAINNET_RPC_URL"
block_id.number = "648429"
[[tool.snforge.fork]]
name = "mainnet_671812"
url = "$MAINNET_RPC_URL"
block_id.number = "671812"
[[tool.snforge.fork]]
name = "mainnet_1078313"
url = "$MAINNET_RPC_URL"
block_id.number = "1078313"
[[tool.snforge.fork]]
name = "mainnet_1025136"
url = "$MAINNET_RPC_URL"
block_id.number = "1025136"
[[tool.snforge.fork]]
name = "mainnet_971311"
url = "$MAINNET_RPC_URL"
block_id.number = "971311"
[[tool.snforge.fork]]
name = "mainnet_1134787"
url = "$MAINNET_RPC_URL"
block_id.number = "1134787"
[[tool.snforge.fork]]
name = "mainnet_1165999"
url = "$MAINNET_RPC_URL"
block_id.number = "1165999"
[[tool.snforge.fork]]
name = "mainnet_1256209"
url = "$MAINNET_RPC_URL"
block_id.number = "1256209"
[[tool.snforge.fork]]
name = "mainnet_1446151"
url = "$MAINNET_RPC_URL"
block_id.number = "1446151"
[[tool.snforge.fork]]
name = "mainnet_1531861"
url = "$MAINNET_RPC_URL"
block_id.number = "1531861"
[profile.dev.cairo]
unstable-add-statements-code-locations-debug-info = true
unstable-add-statements-functions-debug-info = true
inlining-strategy = "avoid"
# 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