-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
202 lines (187 loc) · 9.06 KB
/
Copy pathCargo.toml
File metadata and controls
202 lines (187 loc) · 9.06 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
[package]
name = "reth-witness-indexer"
version = "0.1.0"
rust-version = "1.88"
edition = "2024"
exclude = [".github/"]
[lints]
rust.missing_debug_implementations = "warn"
rust.missing_docs = "warn"
rust.rust_2018_idioms = { level = "deny", priority = -1 }
rust.unreachable_pub = "warn"
rust.unused_must_use = "deny"
rustdoc.all = "warn"
[lints.clippy]
as_ptr_cast_mut = "allow"
borrow_as_ptr = "warn"
branches_sharing_code = "warn"
clear_with_drain = "warn"
cloned_instead_of_copied = "warn"
cognitive_complexity = "allow"
collection_is_never_read = "warn"
dbg_macro = "warn"
debug_assert_with_mut_call = "allow"
derive_partial_eq_without_eq = "warn"
doc_markdown = "warn"
empty_line_after_doc_comments = "warn"
empty_line_after_outer_attr = "warn"
enum_glob_use = "warn"
equatable_if_let = "warn"
explicit_into_iter_loop = "warn"
explicit_iter_loop = "warn"
fallible_impl_from = "allow"
flat_map_option = "warn"
from_iter_instead_of_collect = "warn"
future_not_send = "allow"
if_not_else = "warn"
if_then_some_else_none = "warn"
implicit_clone = "warn"
imprecise_flops = "warn"
iter_on_empty_collections = "warn"
iter_on_single_items = "warn"
iter_with_drain = "warn"
iter_without_into_iter = "warn"
large_enum_variant = "allow"
large_stack_frames = "warn"
manual_assert = "warn"
manual_clamp = "warn"
manual_is_variant_and = "warn"
manual_string_new = "warn"
match_same_arms = "warn"
missing_const_for_fn = "warn"
mutex_integer = "warn"
naive_bytecount = "warn"
needless_bitwise_bool = "warn"
needless_collect = "allow"
needless_continue = "warn"
needless_for_each = "warn"
needless_pass_by_ref_mut = "warn"
nonstandard_macro_braces = "warn"
non_send_fields_in_send_ty = "allow"
option_as_ref_cloned = "warn"
or_fun_call = "warn"
path_buf_push_overwrite = "warn"
read_zero_byte_vec = "warn"
redundant_clone = "warn"
redundant_else = "warn"
redundant_pub_crate = "allow"
significant_drop_in_scrutinee = "allow"
significant_drop_tightening = "allow"
single_char_pattern = "warn"
string_lit_as_bytes = "warn"
string_lit_chars_any = "warn"
suboptimal_flops = "warn"
suspicious_operation_groupings = "warn"
too_long_first_doc_paragraph = "allow"
trailing_empty_array = "warn"
trait_duplication_in_bounds = "warn"
transmute_undefined_repr = "warn"
trivial_regex = "warn"
tuple_array_conversions = "warn"
type_repetition_in_bounds = "warn"
uninhabited_references = "warn"
unnecessary_self_imports = "warn"
unnecessary_struct_initialization = "warn"
unnested_or_patterns = "warn"
unused_peekable = "warn"
unused_rounding = "warn"
use_self = "warn"
useless_let_if_seq = "warn"
while_float = "warn"
zero_sized_map_values = "warn"
[dependencies]
# alloy
alloy-consensus = { version = "1.1", default-features = false }
alloy-eips = { version = "1.1", default-features = false }
alloy-primitives = { version = "1.4", default-features = false }
alloy-rlp = { version = "0.3", default-features = false }
alloy-rpc-types-debug = { version = "1.5", default-features = false }
# reth
reth-db = { git = "https://github.com/scroll-tech/reth.git", branch = "feat/stateful-exex" }
reth-db-api = { git = "https://github.com/scroll-tech/reth.git", branch = "feat/stateful-exex" }
reth-db-common = { git = "https://github.com/scroll-tech/reth.git", branch = "feat/stateful-exex" }
reth-chainspec = { git = "https://github.com/scroll-tech/reth.git", branch = "feat/stateful-exex" }
reth-evm = { git = "https://github.com/scroll-tech/reth.git", branch = "feat/stateful-exex" }
reth-ethereum-cli = { git = "https://github.com/scroll-tech/reth.git", branch = "feat/stateful-exex", optional = true }
reth-execution-types = { git = "https://github.com/scroll-tech/reth.git", branch = "feat/stateful-exex" }
reth-exex = { git = "https://github.com/scroll-tech/reth.git", branch = "feat/stateful-exex" }
reth-node-api = { git = "https://github.com/scroll-tech/reth.git", branch = "feat/stateful-exex" }
reth-node-core = { git = "https://github.com/scroll-tech/reth.git", branch = "feat/stateful-exex" }
reth-node-ethereum = { git = "https://github.com/scroll-tech/reth.git", branch = "feat/stateful-exex", optional = true }
reth-provider = { git = "https://github.com/scroll-tech/reth.git", branch = "feat/stateful-exex" }
reth-revm = { git = "https://github.com/scroll-tech/reth.git", branch = "feat/stateful-exex", default-features = false, features = ["witness"] }
reth-storage-api = { git = "https://github.com/scroll-tech/reth.git", branch = "feat/stateful-exex" }
reth-tasks = { git = "https://github.com/scroll-tech/reth.git", branch = "feat/stateful-exex" }
reth-tracing = { git = "https://github.com/scroll-tech/reth.git", branch = "feat/stateful-exex" }
# misc
async-trait = "0.1"
clap = "4"
eyre = "0.6"
futures-util = "0.3"
jsonrpsee = { version = "0.26", features = ["server", "macros"] }
postcard = { version = "1.1", default-features = false, features = ["alloc"] }
rand = { version = "0.9", optional = true }
serde = "1.0"
thiserror = "2.0"
tokio = { version = "1.0", default-features = false }
[features]
default = ["build-binary"]
# test utilities
test-utils = ["rand"]
# binary
build-binary = ["reth-ethereum-cli", "reth-node-ethereum"]
[dev-dependencies]
# alloy
alloy-genesis = { version = "1.4", default-features=false }
alloy-provider = { version = "1.4", default-features=false }
alloy-rpc-types-engine = { version = "1.4", default-features=false }
alloy-rpc-types-eth = { version = "1.4", default-features=false }
alloy-signer = { version = "1.4", default-features=false }
alloy-signer-local = { version = "1.4", default-features=false }
# reth
reth-chainspec = { git = "https://github.com/scroll-tech/reth.git", branch = "feat/stateful-exex" }
reth-chain-state = { git = "https://github.com/scroll-tech/reth.git", branch = "feat/stateful-exex", features = ["test-utils"] }
reth-db = { git = "https://github.com/scroll-tech/reth.git", branch = "feat/stateful-exex", features = ["test-utils"] }
reth-e2e-test-utils = { git = "https://github.com/scroll-tech/reth.git", branch = "feat/stateful-exex" }
reth-ethereum-primitives = { git = "https://github.com/scroll-tech/reth.git", branch = "feat/stateful-exex" }
reth-execution-types = { git = "https://github.com/scroll-tech/reth.git", branch = "feat/stateful-exex" }
reth-exex-test-utils = { git = "https://github.com/scroll-tech/reth.git", branch = "feat/stateful-exex" }
reth-node-builder = { git = "https://github.com/scroll-tech/reth.git", branch = "feat/stateful-exex" }
reth-node-ethereum = { git = "https://github.com/scroll-tech/reth.git", branch = "feat/stateful-exex" }
reth-payload-builder = { git = "https://github.com/scroll-tech/reth.git", branch = "feat/stateful-exex" }
reth-primitives = { git = "https://github.com/scroll-tech/reth.git", branch = "feat/stateful-exex" }
reth-rpc = { git = "https://github.com/scroll-tech/reth.git", branch = "feat/stateful-exex" }
reth-rpc-server-types = { git = "https://github.com/scroll-tech/reth.git", branch = "feat/stateful-exex" }
reth-testing-utils = { git = "https://github.com/scroll-tech/reth.git", branch = "feat/stateful-exex" }
reth-witness-indexer = { path = ".", features = ["test-utils"] }
# stateless
stateless = { git = "https://github.com/paradigmxyz/stateless.git" }
# misc
eyre = "0.6"
rand = "0.9"
tempfile = "3.15"
tokio = { version = "1.0", features = ["full", "test-util"] }
serde_json = "1.0.149"
[[bin]]
name = "reth-witness-indexer"
path = "src/bin/main.rs"
required-features = ["build-binary"]
[patch."https://github.com/paradigmxyz/reth"]
reth-chainspec = { git = "https://github.com/scroll-tech/reth.git", branch = "feat/stateful-exex" }
reth-consensus = { git = "https://github.com/scroll-tech/reth.git", branch = "feat/stateful-exex" }
reth-db = { git = "https://github.com/scroll-tech/reth.git", branch = "feat/stateful-exex" }
reth-db-api = { git = "https://github.com/scroll-tech/reth.git", branch = "feat/stateful-exex" }
reth-db-common = { git = "https://github.com/scroll-tech/reth.git", branch = "feat/stateful-exex" }
reth-errors = { git = "https://github.com/scroll-tech/reth.git", branch = "feat/stateful-exex" }
reth-ethereum-consensus = { git = "https://github.com/scroll-tech/reth.git", branch = "feat/stateful-exex" }
reth-ethereum-primitives = { git = "https://github.com/scroll-tech/reth.git", branch = "feat/stateful-exex" }
reth-evm = { git = "https://github.com/scroll-tech/reth.git", branch = "feat/stateful-exex" }
reth-evm-ethereum = { git = "https://github.com/scroll-tech/reth.git", branch = "feat/stateful-exex" }
reth-primitives-traits = { git = "https://github.com/scroll-tech/reth.git", branch = "feat/stateful-exex" }
reth-provider = { git = "https://github.com/scroll-tech/reth.git", branch = "feat/stateful-exex" }
reth-revm = { git = "https://github.com/scroll-tech/reth.git", branch = "feat/stateful-exex" }
reth-tracing = { git = "https://github.com/scroll-tech/reth.git", branch = "feat/stateful-exex" }
reth-trie = { git = "https://github.com/scroll-tech/reth.git", branch = "feat/stateful-exex" }
reth-trie-common = { git = "https://github.com/scroll-tech/reth.git", branch = "feat/stateful-exex" }
reth-trie-db = { git = "https://github.com/scroll-tech/reth.git", branch = "feat/stateful-exex" }
reth-trie-sparse = { git = "https://github.com/scroll-tech/reth.git", branch = "feat/stateful-exex" }