forked from succinctlabs/op-succinct
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathCargo.toml
More file actions
293 lines (265 loc) · 14 KB
/
Cargo.toml
File metadata and controls
293 lines (265 loc) · 14 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
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
[workspace]
members = [
"utils/client",
"utils/host",
"utils/build",
"utils/celestia/client",
"utils/celestia/host",
"utils/eigenda/client",
"utils/eigenda/host",
"utils/eigenda/registry",
"utils/proof",
"utils/signer",
"utils/ethereum/client",
"utils/ethereum/host",
"programs/range/*",
"programs/aggregation",
"scripts/*",
"validity",
"fault-proof",
"bindings",
]
resolver = "2"
[workspace.package]
license = "MIT"
edition = "2021"
authors = ["ratankaliani", "zachobront", "fakedev9999", "yuwen01"]
homepage = "https://succinctlabs.github.io/op-succinct/"
repository = "https://github.com/succinctlabs/op-succinct"
version = "4.0.1"
[workspace.dependencies]
# general
anyhow = { version = "1.0.86", default-features = false }
thiserror = { version = "2.0.3" }
cfg-if = "1.0.0"
spin = { version = "0.10.0" }
lru = "0.12.3"
async-trait = "0.1.80"
sha2 = "0.10.8"
tokio = { version = "1.44.2", features = ["full"] }
clap = "4.5.9"
cargo_metadata = "0.18.1"
dotenv = "0.15.0"
num-format = "0.4.4"
futures = "0.3.30"
serde_cbor = "0.11.2"
log = "0.4.22"
itertools = "0.13.0"
reqwest = { version = "0.12", features = ["json"] }
csv = "1.3.0"
serde = { version = "1.0.219", features = ["derive"] }
serde_json = { version = "1.0.117", default-features = false }
rkyv = { version = "0.8", features = ["hashbrown-0_15", "std"] }
hex = "0.4.3"
bincode = "1.3.3"
base64 = "0.22.1"
tower-http = { version = "0.5.2", features = ["limit"] }
lazy_static = "1.5.0"
tracing = { version = "0.1.40", default-features = false }
tracing-subscriber = { version = "0.3.22", features = ["fmt", "json"] }
tracing-opentelemetry = "^0.24"
opentelemetry = { version = "^0.23.0", features = ["trace"] }
opentelemetry_sdk = { version = "^0.23.0", features = [
"trace",
"rt-tokio",
"logs_level_enabled",
] }
opentelemetry-stdout = { version = "0.2.0", features = ["trace"] }
opentelemetry-otlp = { version = "^0.16.0", features = ["default", "logs"] }
opentelemetry-appender-tracing = "0.4.0"
metrics = "0.24.1"
metrics-exporter-prometheus = "0.16.2"
metrics-process = "2.4.0"
strum = "0.27.1"
strum_macros = "0.27.1"
tempfile = "3.10.1"
# vergen - pin to exact versions for rollup-boost compatibility
vergen = "=9.0.4"
vergen-git2 = "=1.0.5"
# kona
kona-mpt = { git = "https://github.com/op-rs/kona", tag = "kona-client/v1.2.7" }
kona-derive = { git = "https://github.com/op-rs/kona", tag = "kona-client/v1.2.7", default-features = false }
kona-driver = { git = "https://github.com/op-rs/kona", tag = "kona-client/v1.2.7" }
kona-preimage = { git = "https://github.com/op-rs/kona", tag = "kona-client/v1.2.7", features = [
"rkyv",
"serde",
] }
kona-executor = { git = "https://github.com/op-rs/kona", tag = "kona-client/v1.2.7" }
kona-proof = { git = "https://github.com/op-rs/kona", tag = "kona-client/v1.2.7" }
kona-client = { git = "https://github.com/op-rs/kona", tag = "kona-client/v1.2.7" }
kona-host = { git = "https://github.com/op-rs/kona", tag = "kona-client/v1.2.7" }
kona-providers-alloy = { git = "https://github.com/op-rs/kona", tag = "kona-client/v1.2.7" }
# Note: kona-rpc is NOT included to avoid rollup-boost -> reth-optimism-primitives dependency
# which causes alloy version conflicts with hokulea v1.1.4. RPC types are defined locally in
# utils/host/src/rpc_types.rs instead.
kona-protocol = { git = "https://github.com/op-rs/kona", tag = "kona-client/v1.2.7", default-features = false }
kona-registry = { git = "https://github.com/op-rs/kona", tag = "kona-client/v1.2.7", default-features = false }
kona-genesis = { git = "https://github.com/op-rs/kona", tag = "kona-client/v1.2.7", default-features = false }
# celo-kona
celo-driver = { git = "https://github.com/celo-org/celo-kona", rev = "8867cb6d" }
celo-proof = { git = "https://github.com/celo-org/celo-kona", rev = "8867cb6d" }
celo-host = { git = "https://github.com/celo-org/celo-kona", rev = "8867cb6d" }
celo-protocol = { git = "https://github.com/celo-org/celo-kona", rev = "8867cb6d", default-features = false }
celo-genesis = { git = "https://github.com/celo-org/celo-kona", rev = "8867cb6d", default-features = false }
celo-registry = { git = "https://github.com/celo-org/celo-kona", rev = "8867cb6d", default-features = false }
# hana
hana-blobstream = { git = "https://github.com/celestiaorg/hana", tag = "1.5.0-mocha" }
hana-celestia = { git = "https://github.com/celestiaorg/hana", tag = "1.5.0-mocha" }
hana-host = { git = "https://github.com/celestiaorg/hana", tag = "1.5.0-mocha" }
hana-oracle = { git = "https://github.com/celestiaorg/hana", tag = "1.5.0-mocha" }
# hokulea
hokulea-compute-proof = { git = "https://github.com/Layr-Labs/hokulea", rev = "bf561cc" }
hokulea-eigenda = { git = "https://github.com/Layr-Labs/hokulea", rev = "bf561cc" }
hokulea-host-bin = { git = "https://github.com/Layr-Labs/hokulea", rev = "bf561cc" }
hokulea-proof = { git = "https://github.com/Layr-Labs/hokulea", rev = "bf561cc" }
hokulea-witgen = { git = "https://github.com/Layr-Labs/hokulea", rev = "bf561cc" }
hokulea-zkvm-verification = { git = "https://github.com/Layr-Labs/hokulea", rev = "bf561cc" }
canoe-sp1-cc-host = { git = "https://github.com/Layr-Labs/hokulea", rev = "bf561cc" }
canoe-sp1-cc-verifier = { git = "https://github.com/Layr-Labs/hokulea", rev = "bf561cc" }
canoe-verifier-address-fetcher = { git = "https://github.com/Layr-Labs/hokulea", rev = "bf561cc" }
eigenda-cert = { git = "https://github.com/Layr-Labs/hokulea", rev = "bf561cc" }
# op-succinct
op-succinct-prove = { path = "scripts/prove" }
op-succinct-client-utils = { path = "utils/client" }
op-succinct-host-utils = { path = "utils/host" }
op-succinct-build-utils = { path = "utils/build" }
op-succinct-elfs = { path = "utils/elfs" }
op-succinct-validity = { path = "validity" }
op-succinct-fp = { path = "fault-proof" }
op-succinct-ethereum-client-utils = { path = "utils/ethereum/client" }
op-succinct-ethereum-host-utils = { path = "utils/ethereum/host" }
op-succinct-celestia-client-utils = { path = "utils/celestia/client" }
op-succinct-celestia-host-utils = { path = "utils/celestia/host" }
op-succinct-eigenda-client-utils = { path = "utils/eigenda/client" }
op-succinct-eigenda-host-utils = { path = "utils/eigenda/host" }
celo-eigenda-registry = { path = "utils/eigenda/registry" }
op-succinct-proof-utils = { path = "utils/proof" }
op-succinct-signer-utils = { path = "utils/signer" }
op-succinct-signer-gcp-utils = { path = "utils/signer-gcp" }
op-succinct-range-utils = { path = "programs/range/utils" }
op-succinct-bindings = { path = "bindings" }
# Alloy (Network) - versions allow semver compatible upgrades for hokulea v1.1.4 (requires 1.4.3)
alloy-signer-local = { version = "1.4" }
alloy-provider = { version = "1.4" }
alloy-transport = { version = "1.4" }
alloy-transport-http = { version = "1.4" }
alloy-contract = { version = "1.4" }
alloy-network = { version = "1.4" }
# Alloy - versions allow semver compatible upgrades for hokulea v1.1.4
alloy-rlp = { version = "0.3.12", default-features = false }
alloy-trie = { version = "0.9.1", default-features = false, features = [
"ethereum",
] }
alloy-eips = { version = "1.4", default-features = false }
alloy-serde = { version = "1.4", default-features = false }
alloy-consensus = { version = "1.4", default-features = false }
alloy-tx-macros = { version = "1.4", default-features = false }
alloy-rpc-types = { version = "1.4", default-features = false }
alloy-rpc-client = { version = "1.4", default-features = false }
alloy-node-bindings = { version = "1.4", default-features = false }
alloy-rpc-types-engine = { version = "1.4", default-features = false }
alloy-rpc-types-beacon = { version = "1.4", default-features = false }
alloy-rpc-types-eth = { version = "1.4", default-features = false }
alloy-rpc-types-trace = { version = "1.4", default-features = false }
alloy-signer = { version = "1.4", default-features = false }
alloy-signer-gcp = { version = "1.4", default-features = false }
alloy = { version = "1.4", features = [
"reqwest",
"network",
"providers",
"sol-types",
"rpc-types",
] }
# Keccak with the SHA3 patch is more efficient than the default Keccak.
# Note: alloy-primitives/sol-types are at 1.4.x to match kona dependencies
alloy-primitives = { version = "1.4.1", default-features = false, features = [
"sha3-keccak",
] }
alloy-sol-types = { version = "1.4.1", default-features = false }
alloy-sol-macro = { version = "1.4.1", default-features = false }
alloy-chains = { version = "0.2.22", default-features = false }
# OP Alloy
op-alloy-consensus = { version = "0.22.4", default-features = false }
op-alloy-rpc-types = { version = "0.22.4", default-features = false }
op-alloy-rpc-types-engine = { version = "0.22.4", default-features = false }
op-alloy-network = { version = "0.22.4", default-features = false }
# Celo Alloy
celo-alloy-consensus = { git = "https://github.com/celo-org/celo-kona", rev = "8867cb6d", default-features = false }
celo-alloy-rpc-types = { git = "https://github.com/celo-org/celo-kona", rev = "8867cb6d", default-features = false }
celo-alloy-rpc-types-engine = { git = "https://github.com/celo-org/celo-kona", rev = "8867cb6d", default-features = false }
celo-alloy-network = { git = "https://github.com/celo-org/celo-kona", rev = "8867cb6d", default-features = false }
# Execution
alloy-evm = { version = "0.24.2", default-features = false }
alloy-op-evm = { version = "0.24.2", default-features = false }
# Use kzg-rs and substrate-bn for the zkVM.
# Versions aligned with kona v1.2.7
revm = { version = "33.1.0", default-features = false, features = [
"bn",
] }
revm-precompile = { version = "31.0.0", default-features = false }
op-revm = { version = "14.1.0", default-features = false }
# Celo Execution
alloy-celo-evm = { git = "https://github.com/celo-org/celo-kona", rev = "8867cb6d", default-features = false }
# SP1
sp1-sdk = { version = "=5.2.4", default-features = false, features = ["network"] }
sp1-lib = { version = "=5.2.4", features = ["verify"] }
sp1-zkvm = { version = "=5.2.4", features = ["verify"] }
sp1-build = { version = "=5.2.4" }
sp1-prover = { version = "=5.2.4" }
sp1-core-executor = { version = "=5.2.4" }
# kzg
kzg-rs = { version = "0.2.6", features = ["rkyv", "serde"] }
c-kzg = { version = "2.0.0", default-features = false }
# Cloud dependencies
gcloud-sdk = "0.27"
[profile.release-client-lto]
inherits = "release"
panic = "abort"
codegen-units = 1
lto = "fat"
[patch.crates-io]
tiny-keccak = { git = "https://github.com/sp1-patches/tiny-keccak", tag = "patch-2.0.2-sp1-4.0.0" }
sha2 = { git = "https://github.com/sp1-patches/RustCrypto-hashes", package = "sha2", tag = "patch-sha2-0.10.9-sp1-4.0.0" }
substrate-bn = { git = "https://github.com/sp1-patches/bn", tag = "patch-0.6.0-sp1-5.0.0" }
sha3 = { git = "https://github.com/sp1-patches/RustCrypto-hashes", package = "sha3", tag = "patch-sha3-0.10.8-sp1-4.0.0" }
p256 = { git = "https://github.com/sp1-patches/elliptic-curves", tag = "patch-p256-13.2-sp1-5.0.0" }
k256 = { git = "https://github.com/sp1-patches/elliptic-curves", tag = "patch-k256-13.4-sp1-5.0.0" }
# Note: alloy-tx-macros crates.io version must match alloy-consensus version
# Both are now at 1.4.x for hokulea v1.1.4 compatibility
# We patch alloy-eips to a version where fake_exponential does not overflow when provided with large inputs.
alloy-eips = { git = "https://github.com/celo-org/alloy", rev = "f88c10d3"}
# We also need to patch alloy-serde to this version since otherwise a different non patch version is also included in the project
# which breaks trait bound satisfaction
alloy-serde = { git = "https://github.com/celo-org/alloy", rev = "f88c10d3"}
# Note: vergen-lib conflict fixed by pinning vergen=9.0.4, vergen-git2=1.0.5 in Cargo.lock
# Patch reth crates to fix PartialEq bug in reth-transaction-pool (PR #21336)
# Using succinctlabs fork to enable HTTPS patching in CI (Cargo requires different source URL)
# v1.9.3-kona branch contains the backported fix from paradigmxyz/reth
[patch."https://github.com/paradigmxyz/reth"]
reth-chainspec = { git = "https://github.com/succinctlabs/reth", branch = "v1.9.3-kona" }
reth-consensus = { git = "https://github.com/succinctlabs/reth", branch = "v1.9.3-kona" }
reth-errors = { git = "https://github.com/succinctlabs/reth", branch = "v1.9.3-kona" }
reth-ethereum-forks = { git = "https://github.com/succinctlabs/reth", branch = "v1.9.3-kona" }
reth-ethereum-primitives = { git = "https://github.com/succinctlabs/reth", branch = "v1.9.3-kona" }
reth-execution-errors = { git = "https://github.com/succinctlabs/reth", branch = "v1.9.3-kona" }
reth-execution-types = { git = "https://github.com/succinctlabs/reth", branch = "v1.9.3-kona" }
reth-primitives = { git = "https://github.com/succinctlabs/reth", branch = "v1.9.3-kona" }
reth-primitives-traits = { git = "https://github.com/succinctlabs/reth", branch = "v1.9.3-kona" }
reth-storage-api = { git = "https://github.com/succinctlabs/reth", branch = "v1.9.3-kona" }
reth-storage-errors = { git = "https://github.com/succinctlabs/reth", branch = "v1.9.3-kona" }
reth-trie = { git = "https://github.com/succinctlabs/reth", branch = "v1.9.3-kona" }
reth-trie-common = { git = "https://github.com/succinctlabs/reth", branch = "v1.9.3-kona" }
[patch."https://github.com/op-rs/kona"]
kona-mpt = { git = "https://github.com/celo-org/kona", rev = "ce6c778e" }
kona-derive = { git = "https://github.com/celo-org/kona", rev = "ce6c778e"}
kona-driver = { git = "https://github.com/celo-org/kona", rev = "ce6c778e" }
kona-preimage = { git = "https://github.com/celo-org/kona", rev = "ce6c778e"}
kona-executor = { git = "https://github.com/celo-org/kona", rev = "ce6c778e" }
kona-proof = { git = "https://github.com/celo-org/kona", rev = "ce6c778e" }
kona-client = { git = "https://github.com/celo-org/kona", rev = "ce6c778e" }
kona-host = { git = "https://github.com/celo-org/kona", rev = "ce6c778e" }
kona-providers-alloy = { git = "https://github.com/celo-org/kona", rev = "ce6c778e" }
kona-rpc = { git = "https://github.com/celo-org/kona", rev = "ce6c778e"}
kona-protocol = { git = "https://github.com/celo-org/kona", rev = "ce6c778e"}
kona-registry = { git = "https://github.com/celo-org/kona", rev = "ce6c778e"}
kona-genesis = { git = "https://github.com/celo-org/kona", rev = "ce6c778e"}