-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: frontend of
trace_decoder
(#309)
* mark: 0xaatif/trace-decoder-rewrite * run: rm -r trace_decoder/src/ * run: git checkout 0xaatif/type-2-witness -- trace_decoder/src/ * build: add required deps * run: cargo autoinherit * chore: sort and trim deps * chore: update benches * chore: update zero-bin * run: mv zero_bin/.cargo/config.toml .cargo/config.toml * fix: feature gated code * fix: clippy * review: nits * chore: track smt_trie upstreaming * chore: trace script * fix: accept different header tokens * test: port other testing logic * chore: mark generated files * refactor: make decode_key less quirky * fix: eth_getWitness returns 0x-prefixed strings * fix: broken build * review: change BUG to BUG(spec), change wording * refactor: zero_jerigon -> type1, hermez_cdk_erigon -> type2 * review: docs from @atanmarko * fix: broken intra-doc links
- Loading branch information
Showing
34 changed files
with
1,930 additions
and
3,211 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[package] | ||
name = "trace_decoder" | ||
description = "Processes trace payloads into Intermediate Representation (IR) format." | ||
authors = ["Polygon Zero <[email protected]>"] | ||
description = "Ethereum node witness -> Prover input" | ||
authors = ["Polygon Zero"] | ||
version = "0.4.0" | ||
edition.workspace = true | ||
license.workspace = true | ||
|
@@ -10,25 +10,33 @@ homepage.workspace = true | |
keywords.workspace = true | ||
|
||
[dependencies] | ||
anyhow.workspace = true | ||
bitflags = { workspace = true } | ||
bitvec = { workspace = true } | ||
bytes = { workspace = true } | ||
ciborium = { workspace = true } | ||
ciborium-io = { workspace = true } | ||
either = { workspace = true } | ||
enum-as-inner = { workspace = true } | ||
enumn = { workspace = true } | ||
ethereum-types = { workspace = true } | ||
evm_arithmetization = { workspace = true } | ||
hex = { workspace = true } | ||
hex-literal = { workspace = true } | ||
itertools.workspace = true | ||
keccak-hash = { workspace = true } | ||
log = { workspace = true } | ||
mpt_trie = { workspace = true } | ||
nunny = { workspace = true, features = ["serde"] } | ||
plonky2 = { workspace = true } | ||
rlp = { workspace = true } | ||
serde = { workspace = true } | ||
serde_with = { workspace = true } | ||
smt_trie = { workspace = true } | ||
thiserror = { workspace = true } | ||
|
||
# Local dependencies | ||
mpt_trie = { workspace = true } | ||
evm_arithmetization = { workspace = true } | ||
u4 = { workspace = true } | ||
winnow = { workspace = true } | ||
|
||
[dev-dependencies] | ||
criterion = { workspace = true } | ||
pretty_env_logger = { workspace = true } | ||
serde_json = { workspace = true } | ||
|
||
[[bench]] | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.