-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathCargo.toml
More file actions
227 lines (210 loc) · 11.1 KB
/
Cargo.toml
File metadata and controls
227 lines (210 loc) · 11.1 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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
[workspace]
members = [
"crates/bin",
"crates/core",
"crates/helpers",
"crates/primitives",
"crates/sbv",
"crates/trie",
"crates/utils",
]
resolver = "2"
[workspace.package]
version = "2.0.0"
edition = "2021"
rust-version = "1.90"
authors = ["Scroll developers"]
license = "MIT OR Apache-2.0"
homepage = "https://github.com/scroll-tech/stateless-block-verifier"
repository = "https://github.com/scroll-tech/stateless-block-verifier"
[workspace.lints.rust]
missing-docs = "warn"
missing-debug-implementations = "warn"
unused-qualifications = "warn"
[workspace.lints.clippy]
# some useful lints from pedantic group
assigning-clones = "warn"
cast-lossless = "warn"
redundant-else = "warn"
single-match-else = "warn"
elidable-lifetime-names = "warn"
uninlined-format-args = "warn"
unnecessary-box-returns = "warn"
unnecessary-debug-formatting = "warn"
# this is useful if we forget to align versions of alloy/revm when upgrading reth
multiple-crate-versions = "warn"
[workspace.dependencies]
# https://github.com/alloy-rs/alloy
alloy = { version = "1.0.41", default-features = false }
alloy-consensus = { version = "1.0.41", default-features = false }
alloy-eips = { version = "1.0.41", default-features = false }
alloy-network = { version = "1.0.41", default-features = false }
alloy-provider = { version = "1.0.41", default-features = false }
alloy-rpc-client = { version = "1.0.41", default-features = false }
alloy-rpc-types-eth = { version = "1.0.41", default-features = false }
alloy-rpc-types-debug = { version = "1.0.41", default-features = false }
alloy-serde = { version = "1.0.41", default-features = false }
alloy-transport = { version = "1.0.41", default-features = false }
# https://github.com/alloy-rs/rlp
alloy-rlp = { version = "0.3.10", default-features = false }
# https://github.com/alloy-rs/trie
alloy-trie = { version = "0.9.1", default-features = false }
# https://github.com/alloy-rs/core
alloy-primitives = { version = "1.4.1", default-features = false, features = ["map-hashbrown", "map-fxhash"] }
# https://github.com/alloy-rs/evm
alloy-evm = { version = "0.22.2", default-features = false }
revm-scroll = { git = "https://github.com/scroll-tech/scroll-revm", tag = "scroll-v91", default-features = false }
reth-chainspec = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91.2", default-features = false }
reth-evm = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91.2", default-features = false }
reth-evm-ethereum = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91.2", default-features = false }
reth-ethereum-forks = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91.2", default-features = false }
reth-execution-types = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91.2", default-features = false }
reth-primitives = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91.2", default-features = false }
reth-primitives-traits = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91.2", default-features = false }
reth-stateless = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91.2", default-features = false }
reth-trie = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91.2", default-features = false }
reth-scroll-chainspec = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91.2", default-features = false }
reth-scroll-evm = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91.2", default-features = false }
reth-scroll-forks = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91.2", default-features = false }
reth-scroll-primitives = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91.2", default-features = false }
scroll-alloy-evm = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91.2", default-features = false }
scroll-alloy-consensus = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91.2", default-features = false }
scroll-alloy-rpc-types = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91.2", default-features = false }
scroll-alloy-network = { git = "https://github.com/scroll-tech/reth", tag = "scroll-v91.2", default-features = false }
risc0-ethereum-trie = { git = "https://github.com/risc0/risc0-ethereum" }
#reth-chainspec = { path = "../reth/crates/chainspec", default-features = false }
#reth-evm = { path = "../reth/crates/evm/evm", default-features = false }
#reth-evm-ethereum = { path = "../reth/crates/ethereum/evm", default-features = false }
#reth-ethereum-forks = { path = "../reth/crates/ethereum/hardforks", default-features = false }
#reth-execution-types = { path = "../reth/crates/evm/execution-types", default-features = false }
#reth-primitives = { path = "../reth/crates/primitives", default-features = false }
#reth-primitives-traits = { path = "../reth/crates/primitives-traits", default-features = false }
#reth-stateless = { path = "../reth/crates/stateless", default-features = false }
#reth-trie = { path = "../reth/crates/trie/trie", default-features = false }
#
#reth-scroll-chainspec = { path = "../reth/crates/scroll/chainspec", default-features = false }
#reth-scroll-evm = { path = "../reth/crates/scroll/evm", default-features = false }
#reth-scroll-forks = { path = "../reth/crates/scroll/hardforks", default-features = false }
#reth-scroll-primitives = { path = "../reth/crates/scroll/primitives", default-features = false }
#
#scroll-alloy-evm = { path = "../reth/crates/scroll/alloy/evm", default-features = false }
#scroll-alloy-consensus = { path = "../reth/crates/scroll/alloy/consensus", default-features = false }
#scroll-alloy-rpc-types = { path = "../reth/crates/scroll/alloy/rpc-types", default-features = false }
#scroll-alloy-network = { path = "../reth/crates/scroll/alloy/network", default-features = false }
#
#revm-scroll = { path = "../scroll-revm", default-features = false }
async-trait = "0.1"
auto_impl = "1.3"
console = "0.16"
futures = "0.3"
indicatif = "0.18"
itertools = "0.14"
rkyv = "0.8"
thiserror = "2.0"
url = ">=2.5.3"
rstest = "0.26"
eyre = "0.6"
clap = "4"
serde = "1.0"
serde_json = "1.0"
serde_path_to_error = "0.1"
serde_with = "3.16"
tokio = { version = "1", default-features = false }
csv = "1.3"
ctor = "0.6"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# workspace
sbv = { path = "crates/sbv" }
sbv-core = { path = "crates/core" }
sbv-primitives = { path = "crates/primitives" }
sbv-trie = { path = "crates/trie" }
sbv-helpers = { path = "crates/helpers" }
sbv-utils = { path = "crates/utils" }
[workspace.dependencies.revm]
git = "https://github.com/scroll-tech/revm"
tag = "scroll-v91"
#path = "../revm/crates/revm"
default-features = false
features = ["std"]
[patch.crates-io]
revm = { git = "https://github.com/scroll-tech/revm", tag = "scroll-v91" }
revm-bytecode = { git = "https://github.com/scroll-tech/revm", tag = "scroll-v91" }
revm-context = { git = "https://github.com/scroll-tech/revm", tag = "scroll-v91" }
revm-context-interface = { git = "https://github.com/scroll-tech/revm", tag = "scroll-v91" }
revm-database = { git = "https://github.com/scroll-tech/revm", tag = "scroll-v91" }
revm-database-interface = { git = "https://github.com/scroll-tech/revm", tag = "scroll-v91" }
revm-handler = { git = "https://github.com/scroll-tech/revm", tag = "scroll-v91" }
revm-inspector = { git = "https://github.com/scroll-tech/revm", tag = "scroll-v91" }
revm-interpreter = { git = "https://github.com/scroll-tech/revm", tag = "scroll-v91" }
revm-precompile = { git = "https://github.com/scroll-tech/revm", tag = "scroll-v91" }
revm-primitives = { git = "https://github.com/scroll-tech/revm", tag = "scroll-v91" }
revm-state = { git = "https://github.com/scroll-tech/revm", tag = "scroll-v91" }
## for local development
#reth-chainspec = { path = "../reth/crates/chainspec" }
#reth-evm = { path = "../reth/crates/evm/evm" }
#reth-evm-ethereum = { path = "../reth/crates/ethereum/evm" }
#reth-ethereum-forks = { path = "../reth/crates/ethereum/hardforks" }
#reth-execution-types = { path = "../reth/crates/evm/execution-types" }
#reth-primitives = { path = "../reth/crates/primitives" }
#reth-primitives-traits = { path = "../reth/crates/primitives-traits" }
#reth-stateless = { path = "../reth/crates/stateless" }
#reth-storage-errors = { path = "../reth/crates/storage/errors" }
#reth-trie = { path = "../reth/crates/trie/trie" }
#reth-trie-sparse = { path = "../reth/crates/trie/sparse" }
#
#revm = { path = "../revm/crates/revm" }
#revm-bytecode = { path = "../revm/crates/bytecode" }
#revm-context = { path = "../revm/crates/context" }
#revm-context-interface = { path = "../revm/crates/context/interface" }
#revm-database = { path = "../revm/crates/database" }
#revm-database-interface = { path = "../revm/crates/database/interface" }
#revm-handler = { path = "../revm/crates/handler" }
#revm-inspector = { path = "../revm/crates/inspector" }
#revm-interpreter = { path = "../revm/crates/interpreter" }
#revm-precompile = { path = "../revm/crates/precompile" }
#revm-primitives = { path = "../revm/crates/primitives" }
#revm-state = { path = "../revm/crates/state" }
#
#[patch."https://github.com/scroll-tech/revm"]
#revm = { path = "../revm/crates/revm" }
#revm-bytecode = { path = "../revm/crates/bytecode" }
#revm-context = { path = "../revm/crates/context" }
#revm-context-interface = { path = "../revm/crates/context/interface" }
#revm-database = { path = "../revm/crates/database" }
#revm-database-interface = { path = "../revm/crates/database/interface" }
#revm-handler = { path = "../revm/crates/handler" }
#revm-inspector = { path = "../revm/crates/inspector" }
#revm-interpreter = { path = "../revm/crates/interpreter" }
#revm-precompile = { path = "../revm/crates/precompile" }
#revm-primitives = { path = "../revm/crates/primitives" }
#revm-state = { path = "../revm/crates/state" }
#
#[patch."https://github.com/scroll-tech/scroll-revm"]
#revm-scroll = { path = "../scroll-revm" }
#
#[patch."https://github.com/scroll-tech/reth"]
#reth-chainspec = { path = "../reth/crates/chainspec" }
#reth-evm = { path = "../reth/crates/evm/evm" }
#reth-evm-ethereum = { path = "../reth/crates/ethereum/evm" }
#reth-ethereum-forks = { path = "../reth/crates/ethereum/hardforks" }
#reth-execution-types = { path = "../reth/crates/evm/execution-types" }
#reth-primitives = { path = "../reth/crates/primitives" }
#reth-primitives-traits = { path = "../reth/crates/primitives-traits" }
#reth-stateless = { path = "../reth/crates/stateless" }
#reth-storage-errors = { path = "../reth/crates/storage/errors" }
#reth-trie = { path = "../reth/crates/trie/trie" }
#reth-trie-sparse = { path = "../reth/crates/trie/sparse" }
#
#reth-scroll-chainspec = { path = "../reth/crates/scroll/chainspec" }
#reth-scroll-evm = { path = "../reth/crates/scroll/evm" }
#reth-scroll-forks = { path = "../reth/crates/scroll/hardforks" }
#reth-scroll-primitives = { path = "../reth/crates/scroll/primitives" }
#
#scroll-alloy-evm = { path = "../reth/crates/scroll/alloy/evm" }
#scroll-alloy-consensus = { path = "../reth/crates/scroll/alloy/consensus" }
#scroll-alloy-rpc-types = { path = "../reth/crates/scroll/alloy/rpc-types" }
#scroll-alloy-network = { path = "../reth/crates/scroll/alloy/network" }
[profile.release]
lto = true
codegen-units = 1