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

feat: l1 mpt #72

Merged
merged 98 commits into from
Dec 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
98 commits
Select commit Hold shift + click to select a range
a93f29f
update primitives
lightsing Dec 5, 2024
ff842ac
remove legacy blocks
lightsing Dec 5, 2024
ab3fa4a
update download script
lightsing Dec 5, 2024
5ce8918
scroll gate
lightsing Dec 5, 2024
c9dc9b4
refactor
lightsing Dec 5, 2024
7621ce1
add witness struct
lightsing Dec 6, 2024
7c31650
add kv and trie crate
lightsing Dec 6, 2024
95aaaa5
add trie implementation
lightsing Dec 9, 2024
886baa2
naming
lightsing Dec 9, 2024
9c032ae
prepare for mainnet mode
lightsing Dec 10, 2024
17eabdc
new database
lightsing Dec 10, 2024
640cf84
prepare for mainnet mode
lightsing Dec 10, 2024
2418869
add chainspec crate
lightsing Dec 11, 2024
c53b3c7
add revm_spec
lightsing Dec 12, 2024
bb6ee82
use auto_impl
lightsing Dec 12, 2024
6151e79
support revm-primitives Bytes
lightsing Dec 12, 2024
15e1048
re-export and gate scroll
lightsing Dec 12, 2024
e8c7ba0
bump alloy dep to 0.8
lightsing Dec 12, 2024
ffd5b6f
re-export
lightsing Dec 12, 2024
36aed57
remove genesis replaced by chainspec
lightsing Dec 12, 2024
3d3d00c
remove DatabaseError
lightsing Dec 12, 2024
4cd78f0
update builder
lightsing Dec 12, 2024
2e92f6b
update executor
lightsing Dec 12, 2024
c5515a0
gate
lightsing Dec 12, 2024
0e38961
remove zktrie_delete metric
lightsing Dec 12, 2024
d487f98
upgrade to alloy v0.8
lightsing Dec 13, 2024
27dd887
minor fix
lightsing Dec 13, 2024
4c46462
rename utils to helpers
lightsing Dec 13, 2024
56f7ff5
add command line utils
lightsing Dec 13, 2024
73cfe83
fix storage
lightsing Dec 13, 2024
d239624
add withdrawal
lightsing Dec 13, 2024
83baf0d
update util
lightsing Dec 13, 2024
7a24e7d
log details
lightsing Dec 13, 2024
314ba99
load nodes
lightsing Dec 13, 2024
ebf7d24
add withdrawal
lightsing Dec 13, 2024
0e47c48
update bin
lightsing Dec 13, 2024
caef9a7
update
lightsing Dec 13, 2024
b767bd1
fix
lightsing Dec 13, 2024
9984526
bump reth version
lightsing Dec 16, 2024
fc8e542
impl BlockHeader trait
lightsing Dec 16, 2024
b66f7a7
minimal sample
lightsing Dec 16, 2024
f53e57c
refactor
lightsing Dec 17, 2024
14cf609
refactor
lightsing Dec 17, 2024
ff30d60
fix
lightsing Dec 17, 2024
9a50af1
convert header to alloy Header
lightsing Dec 17, 2024
0368926
impl FillTxEnv for TypedTransaction
lightsing Dec 17, 2024
cf2cc42
add EvmConfig and NodePrimitives
lightsing Dec 17, 2024
864fc1b
clean up
lightsing Dec 17, 2024
3d5a224
clean up x2
lightsing Dec 17, 2024
6f41a65
clean up x3
lightsing Dec 17, 2024
f59a07c
fix trie
lightsing Dec 17, 2024
80af920
patch reth for MSRV 1.81
lightsing Dec 18, 2024
de9fe3e
also manually drop
lightsing Dec 18, 2024
e2fefa3
disable default features
lightsing Dec 18, 2024
ff8ac5c
exact size
lightsing Dec 18, 2024
bc05ab6
add B256HashMap
lightsing Dec 18, 2024
5e6a8d7
add SmallMap
lightsing Dec 18, 2024
823328a
add NoHashMap
lightsing Dec 18, 2024
f302469
generalize
lightsing Dec 18, 2024
d4fde09
hashbrown
lightsing Dec 18, 2024
57aaff9
fix
lightsing Dec 18, 2024
e4b1973
fix
lightsing Dec 18, 2024
b5843ad
zkvm do not support fold hash
lightsing Dec 18, 2024
3957145
update database.rs
lispc Dec 19, 2024
6ff26fe
Update Cargo.toml
lispc Dec 19, 2024
26db353
fix chunk related
lightsing Dec 19, 2024
0c781c7
remove
lightsing Dec 19, 2024
20f35e6
add fixme
lightsing Dec 19, 2024
aa17f5a
add continuous block test data
lightsing Dec 19, 2024
84ba9c1
Merge remote-tracking branch 'origin/feat/l1-mpt' into feat/l1-mpt
lightsing Dec 19, 2024
f00d8eb
recover chunk feature
lightsing Dec 19, 2024
06478d4
remove legacy
lightsing Dec 20, 2024
6fe3c52
add BLOCKHASH support
lightsing Dec 20, 2024
2a25aab
fix kv
lightsing Dec 20, 2024
9c1e974
add cli utils
lightsing Dec 20, 2024
986b521
dump new witness
lightsing Dec 20, 2024
9b5cdf3
recover chunk mode
lightsing Dec 20, 2024
998ebb8
remove run rpc
lightsing Dec 20, 2024
cd9e93e
update readme
lightsing Dec 20, 2024
51cf989
add parallel and concurrent limit
lightsing Dec 20, 2024
acf8ccc
reproducible and deterministic witness file
lightsing Dec 20, 2024
58a18b9
add fixme
lightsing Dec 20, 2024
88a2a23
update reth rev
lightsing Dec 20, 2024
4e0c964
update reth rev
lightsing Dec 20, 2024
6248ea5
fix parallel
lightsing Dec 20, 2024
38b5381
enable map-fxhash in alloy-primitives
lightsing Dec 23, 2024
5de8e19
track more
lightsing Dec 23, 2024
67c1df7
missing features
lightsing Dec 23, 2024
adfe4b1
add chunk builder
lightsing Dec 23, 2024
9206254
pick fix
lightsing Dec 23, 2024
2cccfc6
use FxBuildHasher
lightsing Dec 23, 2024
a7b9958
update
lightsing Dec 23, 2024
3cc0c61
track more trie cycles
lightsing Dec 24, 2024
689d54f
remove
lightsing Dec 25, 2024
529f06e
clippy
lightsing Dec 25, 2024
86eda0d
disable clippy all
lightsing Dec 25, 2024
b430748
fix test
lightsing Dec 25, 2024
39e43fe
fix test
lightsing Dec 25, 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
38 changes: 4 additions & 34 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,39 +63,9 @@ jobs:
run: cargo clippy --workspace --features dev -- -D warnings
- name: clippy metrics
run: cargo clippy --workspace --features metrics -- -D warnings
- name: clippy all
run: cargo clippy --workspace --all-features -- -D warnings
# - name: clippy all
# run: cargo clippy --workspace --all-features -- -D warnings
- name: clippy test
run: cargo clippy --workspace --tests -- -D warnings
- name: clippy test all
run: cargo clippy --workspace --tests --all-features -- -D warnings

integration-tests:
needs: [ clippy ]
if: |
github.event.pull_request.draft == false &&
(github.event.action == 'ready_for_review' || needs.skip_check.outputs.should_skip != 'true')
name: Integration Tests
timeout-minutes: 30
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
network: [ "mainnet" ]
hardfork: [ "pre-bernoulli", "bernoulli", "curie", "darwin" ]
rust: [ "1.81", "nightly-2024-07-07" ]

steps:
- uses: actions/checkout@v4
- name: checkout test data
uses: actions/checkout@v4
with:
repository: 'scroll-tech/block-testdata'
path: 'testdata'
sparse-checkout: '${{ matrix.network }}_blocks/${{ matrix.hardfork }}'
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- uses: Swatinem/rust-cache@v2
- name: Test ${{ matrix.network }} ${{ matrix.hardfork }}
run: cargo run --release --package stateless-block-verifier -- run-file testdata/${{ matrix.network }}_blocks/${{ matrix.hardfork }}/*
# - name: clippy test all
# run: cargo clippy --workspace --tests --all-features -- -D warnings # scroll feature is broken now
48 changes: 0 additions & 48 deletions .github/workflows/trace-update.yml

This file was deleted.

Loading
Loading