Skip to content

Commit 8b3103d

Browse files
authored
feat: use modified ssz_types crate that extends to 2^40 root when a magic list size (2^29) is detected (#24)
* debug: temporarily using local tree_hash crate * feat: use magically extended list root * feat: conditional typing TinyBeaconState * feat: use zkvm feature flag in ream-consensus * feat: remove TinyBeaconState * feat: mutate not clone the state * feat: compare pre & post state roots * docs: annotation * fix: removed unused feature flag * fix: remove unused zkvm feature on ream-lib * feat: compare state root against host recompute * fix: cargo fmt * feat: use ream master branch * fix: logging changes
1 parent 4367680 commit 8b3103d

File tree

10 files changed

+267
-430
lines changed

10 files changed

+267
-430
lines changed

Cargo.lock

Lines changed: 13 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@ edition = "2024"
1515

1616
[workspace.dependencies]
1717
ethereum_ssz = "0.9"
18-
ream-consensus = { git = "https://github.com/ReamLabs/ream", package = "ream-consensus" }
18+
ream-consensus = { git = "https://github.com/ReamLabs/ream.git", package = "ream-consensus", features = ["zkvm"] }
1919
tracing = "0.1"
2020
tree_hash = "0.10"
2121
tree_hash_derive = "0.10"
2222

2323
[patch.crates-io]
2424
ethereum_hashing = { git = "https://github.com/ReamLabs/ethereum_hashing" }
25+
ssz_types = { git = "https://github.com/ReamLabs/ssz_types", branch = "magic-extended-list" } # Extends 2^29 to 2^40 list root

0 commit comments

Comments
 (0)