forked from lerlar/op-succinct
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
227 lines (207 loc) · 9.62 KB
/
Cargo.toml
File metadata and controls
227 lines (207 loc) · 9.62 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 = [
"utils/client",
"utils/host",
"utils/build",
"utils/celestia/client",
"utils/celestia/host",
"utils/eigenda/client",
"utils/eigenda/host",
"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 = "3.0.0"
[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.198", 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.19", features = ["fmt"] }
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"
# kona
kona-mpt = { git = "https://github.com/op-rs/kona", tag = "kona-client/v1.0.2" }
kona-derive = { git = "https://github.com/op-rs/kona", tag = "kona-client/v1.0.2", default-features = false }
kona-driver = { git = "https://github.com/op-rs/kona", tag = "kona-client/v1.0.2" }
kona-preimage = { git = "https://github.com/op-rs/kona", tag = "kona-client/v1.0.2", features = [
"rkyv",
"serde",
] }
kona-executor = { git = "https://github.com/op-rs/kona", tag = "kona-client/v1.0.2" }
kona-proof = { git = "https://github.com/op-rs/kona", tag = "kona-client/v1.0.2" }
kona-client = { git = "https://github.com/op-rs/kona", tag = "kona-client/v1.0.2" }
kona-host = { git = "https://github.com/op-rs/kona", tag = "kona-client/v1.0.2" }
kona-providers-alloy = { git = "https://github.com/op-rs/kona", tag = "kona-client/v1.0.2" }
kona-rpc = { git = "https://github.com/op-rs/kona", tag = "kona-client/v1.0.2", default-features = false }
kona-protocol = { git = "https://github.com/op-rs/kona", tag = "kona-client/v1.0.2", default-features = false }
kona-registry = { git = "https://github.com/op-rs/kona", tag = "kona-client/v1.0.2", default-features = false }
kona-genesis = { git = "https://github.com/op-rs/kona", tag = "kona-client/v1.0.2", default-features = false }
# TODO: replace commit hash with tag when available
# celo-kona
celo-driver = { git = "https://github.com/celo-org/celo-kona", rev = "3d70c5af" }
celo-proof = { git = "https://github.com/celo-org/celo-kona", rev = "3d70c5af" }
celo-host = { git = "https://github.com/celo-org/celo-kona", rev = "3d70c5af" }
celo-protocol = { git = "https://github.com/celo-org/celo-kona", rev = "3d70c5af", default-features = false }
celo-genesis = { git = "https://github.com/celo-org/celo-kona", rev = "3d70c5af", default-features = false }
# hana
# TODO(fakedev9999): Bump to 1.0.0 once the release is out.
hana-blobstream = { git = "https://github.com/celestiaorg/hana", tag = "v0.1.0-beta.17" }
hana-celestia = { git = "https://github.com/celestiaorg/hana", tag = "v0.1.0-beta.17" }
hana-host = { git = "https://github.com/celestiaorg/hana", tag = "v0.1.0-beta.17" }
hana-oracle = { git = "https://github.com/celestiaorg/hana", tag = "v0.1.0-beta.17" }
# hokulea
hokulea-eigenda = { git = "https://github.com/Layr-Labs/hokulea", rev = "2814384" }
hokulea-host-bin = { git = "https://github.com/Layr-Labs/hokulea", rev = "2814384" }
hokulea-proof = { git = "https://github.com/Layr-Labs/hokulea", rev = "2814384" }
hokulea-witgen = { git = "https://github.com/Layr-Labs/hokulea", rev = "2814384" }
hokulea-zkvm-verification = { git = "https://github.com/Layr-Labs/hokulea", rev = "2814384" }
canoe-sp1-cc-host = { git = "https://github.com/Layr-Labs/hokulea", rev = "2814384" }
# 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" }
op-succinct-proof-utils = { path = "utils/proof" }
op-succinct-signer-utils = { path = "utils/signer" }
op-succinct-range-utils = { path = "programs/range/utils" }
op-succinct-bindings = { path = "bindings" }
# Alloy (Network)
alloy-signer-local = { version = "1.0.9" }
alloy-provider = { version = "1.0.9" }
alloy-transport = { version = "1.0.9" }
alloy-transport-http = { version = "1.0.9" }
alloy-contract = { version = "1.0.9" }
alloy-network = { version = "1.0.9" }
# Alloy
alloy-rlp = { version = "0.3.12", default-features = false }
alloy-trie = { version = "0.8.1", default-features = false, features = [
"ethereum",
] }
alloy-eips = { version = "1.0.9", default-features = false }
alloy-serde = { version = "1.0.9", default-features = false }
alloy-consensus = { version = "1.0.9", default-features = false }
alloy-rpc-types = { version = "1.0.9", default-features = false }
alloy-rpc-client = { version = "1.0.9", default-features = false }
alloy-node-bindings = { version = "1.0.9", default-features = false }
alloy-rpc-types-engine = { version = "1.0.9", default-features = false }
alloy-rpc-types-beacon = { version = "1.0.9", default-features = false }
alloy-rpc-types-eth = { version = "1.0.9", default-features = false }
alloy-rpc-types-trace = { version = "1.0.9", default-features = false }
alloy-signer = { version = "1.0.9", default-features = false }
alloy = { version = "1.0.9", features = [
"reqwest",
"network",
"providers",
"sol-types",
"rpc-types",
] }
# Keccak with the SHA3 patch is more efficient than the default Keccak.
alloy-primitives = { version = "1.0.0", default-features = false, features = [
"sha3-keccak",
] }
alloy-sol-types = { version = "1.0.0", default-features = false }
alloy-sol-macro = { version = "1.0.0", default-features = false }
alloy-chains = { version = "0.2.3", default-features = false }
# OP Alloy
op-alloy-consensus = { version = "0.17.2", default-features = false }
op-alloy-rpc-types = { version = "0.17.2", default-features = false }
op-alloy-rpc-types-engine = { version = "0.17.2", default-features = false }
op-alloy-network = { version = "0.17.2", default-features = false }
# Celo Alloy
celo-alloy-consensus = { git = "https://github.com/celo-org/celo-kona", rev = "3d70c5af", default-features = false }
celo-alloy-rpc-types = { git = "https://github.com/celo-org/celo-kona", rev = "3d70c5af", default-features = false }
celo-alloy-rpc-types-engine = { git = "https://github.com/celo-org/celo-kona", rev = "3d70c5af", default-features = false }
celo-alloy-network = { git = "https://github.com/celo-org/celo-kona", rev = "3d70c5af", default-features = false }
# Execution
alloy-evm = { version = "0.10.0", default-features = false }
alloy-op-evm = { version = "0.10.0", default-features = false }
# Use kzg-rs and substrate-bn for the zkVM.
revm = { version = "24.0.1", default-features = false, features = [
"kzg-rs",
"bn",
] }
op-revm = { version = "5.0.1", default-features = false }
# Celo Execution
alloy-celo-evm = { git = "https://github.com/celo-org/celo-kona", rev = "3d70c5af", default-features = false }
# SP1
sp1-sdk = { version = "=5.1.0" }
sp1-lib = { version = "=5.1.0", features = ["verify"] }
sp1-zkvm = { version = "=5.1.0", features = ["verify"] }
sp1-build = { version = "=5.1.0" }
# kzg
kzg-rs = { version = "0.2.6", features = ["rkyv", "serde"] }
c-kzg = { version = "2.0.0", default-features = false }
[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" }