-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build blocks using Reth 1.1.0 #115
Open
hashcashier
wants to merge
91
commits into
main
Choose a base branch
from
rkhalil/reth
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
91 commits
Select commit
Hold shift + click to select a range
2c60f0e
update zkvm and add basic reth guest
hashcashier e70f1fa
remove OP derivation code
hashcashier f6ab9e9
switch to tiny-keccak
hashcashier 1e632ce
remove more op derive code
hashcashier 56fc8c8
consensus checks
hashcashier 6c3bfa1
(unfinished) refactor into core crate
hashcashier 9067612
post-exec split
hashcashier ff8a7ea
finalization
hashcashier b9381f4
StatelessClientStrategy
hashcashier 90fa5e4
reth guest
hashcashier f695193
preflight providers
hashcashier d7a77b7
preflight db
hashcashier eba328b
preflight client
hashcashier ac54f34
preflight client lib
hashcashier 5688b05
uncle blocks
hashcashier ac25ef5
reth preflight client
hashcashier 313404c
basic bin lib
hashcashier b2de53c
rescue db post preflight
hashcashier 17a693d
provider exec fix
hashcashier 811dd96
refactor & fix
hashcashier 225b76d
block building
hashcashier 8bf41f4
zkvm exec
hashcashier 9464cef
time & ordering fix + rpc data
hashcashier 390fcf5
proof generation
hashcashier 4bbf416
add prover opts to receipt file name derivation
hashcashier 401a061
receipt verification
hashcashier 0b3af8b
cleanup: delete old code
hashcashier bd2e934
downgrade reth msrv + cleanup
hashcashier da2a99a
block batch journal derivation
hashcashier b80ef64
GAT in strategies
hashcashier 0f72092
abstract data source
hashcashier 3be9b0f
engine driver abstraction
hashcashier f2c9981
multi-block input + uncle patch
hashcashier 59cb503
refactor
hashcashier 2724135
unreachable db
hashcashier c1ddba6
rescue refactor
hashcashier 8e685c3
rescue db
hashcashier 39bcdb0
fix blocking task
hashcashier 4a61c94
batching preflight
hashcashier 9adfefa
batching fixes
hashcashier 53cfee6
cache fix
hashcashier 8bc978e
ommers fix
hashcashier 3ecc7f5
batching patch
hashcashier f2265dc
nit
hashcashier 91e1de0
cleanup and readme
hashcashier a1411fc
guest name nit
hashcashier fcbcbb2
clippies
hashcashier 2618209
CI
hashcashier 90ac6c6
replace serde-brief with pot to downgrade msrv
hashcashier b354f83
msrv update in CI + readme
hashcashier cac0185
more clippy + cargo update
hashcashier befb1a6
bump toolchain to 1.81-rc4
hashcashier b78f7af
build toolchain
hashcashier b3f6248
back to 1.81
hashcashier 4c4d3c8
re enable sha2 patch
hashcashier 4a379a0
fmt
hashcashier 7ad0029
rzup in CI
hashcashier 9bf5b39
move block builder to preflight crate
hashcashier 663b7ee
refactor binary to remove reth dep
hashcashier 6025082
refactor out ethereum logic into own crates
hashcashier 47d57ce
optimism strategies
hashcashier 4f7bfe1
unify input type aliases
hashcashier dd79ea8
merge post-exec strategy with exec
hashcashier b117bf8
refactor strategy names
hashcashier 157f419
simplify strategy IO
hashcashier 64c6fca
op-reth guest
hashcashier b87e71f
op zeth
hashcashier 93276d8
refactor
hashcashier d1d4711
feature unification workaround
hashcashier 337e971
op support
hashcashier 0c9587f
rename eth guest
hashcashier a361d89
fix code drop from account
hashcashier 705217c
multichain support
hashcashier 5ee963d
readme
hashcashier 3e5014e
preflight speedup
hashcashier 8b2e87c
clipp
hashcashier 8b42557
cache optimizations
hashcashier 2f02b37
fix alloy primitives
hashcashier db833a0
remove ef tests submodule
hashcashier 7a38b7d
fix ci
hashcashier 00c716a
versioning nit
hashcashier 3caf21a
ci test commands
hashcashier 736909a
fix cli short arg clash
hashcashier cb05478
profile flag
hashcashier 0583389
benchmark tool + refactor
hashcashier 67a461f
risc0 1.1.3 w/ release builds
hashcashier 2bcf20f
fmt benchmark
hashcashier 496e671
ci nit
hashcashier ff833d0
ci nit
hashcashier 5bd18b7
refactor
hashcashier 0836298
preflight using debug namespace
hashcashier File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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 |
---|---|---|
|
@@ -17,8 +17,6 @@ permissions: | |
env: | ||
CARGO_TERM_COLOR: always | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
RISC0_VERSION: "1.0.5" | ||
RISC0_TOOLCHAIN_VERSION: v2024-04-22.0 | ||
|
||
jobs: | ||
test: | ||
|
@@ -29,14 +27,16 @@ jobs: | |
- uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
- uses: risc0/risc0/.github/actions/rustup@v1.0.5 | ||
- uses: risc0/risc0/.github/actions/sccache@v1.0.5 | ||
- uses: risc0/risc0/.github/actions/rustup@v1.1.3 | ||
- uses: risc0/risc0/.github/actions/sccache@v1.1.3 | ||
- uses: risc0/cargo-install@v1 | ||
with: | ||
crate: cargo-binstall | ||
- run: cargo binstall -y --force cargo-risczero@$RISC0_VERSION | ||
- run: cargo risczero install --version $RISC0_TOOLCHAIN_VERSION | ||
- run: cargo test --workspace --all-targets -F ef-tests,debug-guest-build | ||
- run: cargo binstall -y --force [email protected] | ||
- run: cargo risczero install | ||
- run: cargo test --all-targets -p zeth-core -p zeth-guests -p zeth-preflight -p zeth -p zeth-benchmark -F debug-guest-build | ||
- run: cargo test --all-targets -p zeth-core-ethereum -p zeth-preflight-ethereum -p zeth-ethereum -F debug-guest-build | ||
- run: cargo test --all-targets -p zeth-core-optimism -p zeth-preflight-optimism -p zeth-optimism -F debug-guest-build | ||
|
||
clippy: | ||
name: clippy | ||
|
@@ -60,9 +60,9 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
- if: matrix.feature == 'cuda' | ||
uses: risc0/risc0/.github/actions/cuda@v1.0.5 | ||
- uses: risc0/risc0/.github/actions/rustup@v1.0.5 | ||
- uses: risc0/risc0/.github/actions/sccache@v1.0.5 | ||
uses: risc0/risc0/.github/actions/cuda@v1.1.3 | ||
- uses: risc0/risc0/.github/actions/rustup@v1.1.3 | ||
- uses: risc0/risc0/.github/actions/sccache@v1.1.3 | ||
- uses: risc0/clippy-action@main | ||
with: | ||
reporter: 'github-pr-check' | ||
|
@@ -75,5 +75,5 @@ jobs: | |
timeout-minutes: 10 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: risc0/risc0/.github/actions/rustup@v1.0.5 | ||
- uses: risc0/risc0/.github/actions/rustup@v1.1.3 | ||
- run: cargo fmt --all --check |
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,3 +0,0 @@ | ||
[submodule "testing/ef-tests/testdata"] | ||
path = testing/ef-tests/testdata | ||
url = https://github.com/ethereum/tests.git | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should absolutely not disable the ef-tests. Even when we are now using reth they contain crucial testcases that we must also pass.