Skip to content
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
wants to merge 91 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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 Oct 16, 2024
e70f1fa
remove OP derivation code
hashcashier Oct 16, 2024
f6ab9e9
switch to tiny-keccak
hashcashier Oct 16, 2024
1e632ce
remove more op derive code
hashcashier Oct 16, 2024
56fc8c8
consensus checks
hashcashier Oct 16, 2024
6c3bfa1
(unfinished) refactor into core crate
hashcashier Oct 16, 2024
9067612
post-exec split
hashcashier Oct 17, 2024
ff8a7ea
finalization
hashcashier Oct 17, 2024
b9381f4
StatelessClientStrategy
hashcashier Oct 17, 2024
90fa5e4
reth guest
hashcashier Oct 17, 2024
f695193
preflight providers
hashcashier Oct 17, 2024
d7a77b7
preflight db
hashcashier Oct 17, 2024
eba328b
preflight client
hashcashier Oct 17, 2024
ac54f34
preflight client lib
hashcashier Oct 18, 2024
5688b05
uncle blocks
hashcashier Oct 18, 2024
ac25ef5
reth preflight client
hashcashier Oct 18, 2024
313404c
basic bin lib
hashcashier Oct 18, 2024
b2de53c
rescue db post preflight
hashcashier Oct 21, 2024
17a693d
provider exec fix
hashcashier Oct 21, 2024
811dd96
refactor & fix
hashcashier Oct 21, 2024
225b76d
block building
hashcashier Oct 22, 2024
8bf41f4
zkvm exec
hashcashier Oct 22, 2024
9464cef
time & ordering fix + rpc data
hashcashier Oct 22, 2024
390fcf5
proof generation
hashcashier Oct 23, 2024
4bbf416
add prover opts to receipt file name derivation
hashcashier Oct 23, 2024
401a061
receipt verification
hashcashier Oct 23, 2024
0b3af8b
cleanup: delete old code
hashcashier Oct 23, 2024
bd2e934
downgrade reth msrv + cleanup
hashcashier Oct 23, 2024
da2a99a
block batch journal derivation
hashcashier Oct 24, 2024
b80ef64
GAT in strategies
hashcashier Oct 24, 2024
0f72092
abstract data source
hashcashier Oct 24, 2024
3be9b0f
engine driver abstraction
hashcashier Oct 25, 2024
f2c9981
multi-block input + uncle patch
hashcashier Oct 25, 2024
59cb503
refactor
hashcashier Oct 25, 2024
2724135
unreachable db
hashcashier Oct 25, 2024
c1ddba6
rescue refactor
hashcashier Oct 25, 2024
8e685c3
rescue db
hashcashier Oct 25, 2024
39bcdb0
fix blocking task
hashcashier Oct 25, 2024
4a61c94
batching preflight
hashcashier Oct 28, 2024
9adfefa
batching fixes
hashcashier Oct 28, 2024
53cfee6
cache fix
hashcashier Oct 28, 2024
8bc978e
ommers fix
hashcashier Oct 28, 2024
3ecc7f5
batching patch
hashcashier Oct 28, 2024
f2265dc
nit
hashcashier Oct 28, 2024
91e1de0
cleanup and readme
hashcashier Oct 29, 2024
a1411fc
guest name nit
hashcashier Oct 29, 2024
fcbcbb2
clippies
hashcashier Oct 29, 2024
2618209
CI
hashcashier Oct 29, 2024
90ac6c6
replace serde-brief with pot to downgrade msrv
hashcashier Oct 29, 2024
b354f83
msrv update in CI + readme
hashcashier Oct 29, 2024
cac0185
more clippy + cargo update
hashcashier Oct 29, 2024
befb1a6
bump toolchain to 1.81-rc4
hashcashier Oct 29, 2024
b78f7af
build toolchain
hashcashier Oct 29, 2024
b3f6248
back to 1.81
hashcashier Oct 29, 2024
4c4d3c8
re enable sha2 patch
hashcashier Oct 29, 2024
4a379a0
fmt
hashcashier Oct 29, 2024
7ad0029
rzup in CI
hashcashier Oct 30, 2024
9bf5b39
move block builder to preflight crate
hashcashier Oct 30, 2024
663b7ee
refactor binary to remove reth dep
hashcashier Oct 30, 2024
6025082
refactor out ethereum logic into own crates
hashcashier Oct 30, 2024
47d57ce
optimism strategies
hashcashier Oct 30, 2024
4f7bfe1
unify input type aliases
hashcashier Oct 30, 2024
dd79ea8
merge post-exec strategy with exec
hashcashier Oct 30, 2024
b117bf8
refactor strategy names
hashcashier Oct 30, 2024
157f419
simplify strategy IO
hashcashier Oct 30, 2024
64c6fca
op-reth guest
hashcashier Oct 30, 2024
b87e71f
op zeth
hashcashier Oct 30, 2024
93276d8
refactor
hashcashier Oct 31, 2024
d1d4711
feature unification workaround
hashcashier Oct 31, 2024
337e971
op support
hashcashier Oct 31, 2024
0c9587f
rename eth guest
hashcashier Oct 31, 2024
a361d89
fix code drop from account
hashcashier Nov 1, 2024
705217c
multichain support
hashcashier Nov 1, 2024
5ee963d
readme
hashcashier Nov 1, 2024
3e5014e
preflight speedup
hashcashier Nov 1, 2024
8b2e87c
clipp
hashcashier Nov 1, 2024
8b42557
cache optimizations
hashcashier Nov 1, 2024
2f02b37
fix alloy primitives
hashcashier Nov 5, 2024
db833a0
remove ef tests submodule
hashcashier Nov 5, 2024
7a38b7d
fix ci
hashcashier Nov 6, 2024
00c716a
versioning nit
hashcashier Nov 6, 2024
3caf21a
ci test commands
hashcashier Nov 6, 2024
736909a
fix cli short arg clash
hashcashier Nov 6, 2024
cb05478
profile flag
hashcashier Nov 7, 2024
0583389
benchmark tool + refactor
hashcashier Nov 7, 2024
67a461f
risc0 1.1.3 w/ release builds
hashcashier Nov 11, 2024
2bcf20f
fmt benchmark
hashcashier Nov 11, 2024
496e671
ci nit
hashcashier Nov 11, 2024
ff833d0
ci nit
hashcashier Nov 11, 2024
5bd18b7
refactor
hashcashier Nov 12, 2024
0836298
preflight using debug namespace
hashcashier Nov 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -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'
Expand All @@ -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
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@ target/
tmp/
cache_rpc/
cache_zkp/
profiles/
log.txt
*.pb
*.zkp
.idea
*.opc
*.zip
*.bin
*.txt
*.txt
*.fake
*.out
3 changes: 0 additions & 3 deletions .gitmodules
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
Loading
Loading