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

Introduce Scroll Binary Patricia Merkle Trie Components #36

Merged
merged 50 commits into from
Dec 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
258e58e
feat: introduce scroll trie hash builder
frisitano Oct 28, 2024
cfd46fc
refactor: refactor HashBuilder implementation
frisitano Oct 29, 2024
51fa6bb
feat: introduce StateCommitment in StateProviders
frisitano Nov 16, 2024
a3bd117
feat: introduce binary partricia trie state components
frisitano Nov 19, 2024
52426db
refactor: introduce StateCommimentProvider
frisitano Nov 20, 2024
3a9fa49
Merge remote-tracking branch 'upstream/main' into feat/provider-state…
frisitano Nov 20, 2024
10af3b1
feat: introduce HashedPostStateProvider
frisitano Nov 25, 2024
57544dd
Merge remote-tracking branch 'upstream/main' into feat/provider-state…
frisitano Nov 25, 2024
5f6977e
Merge branch 'feat/provider-state-commitment' into feat/hashed-post-s…
frisitano Nov 25, 2024
500f8c2
feat: HashedPostState from reverts
frisitano Nov 25, 2024
8b24bc3
feat: introduce HashedStorageProvider
frisitano Nov 25, 2024
0e79635
lint: revm/test-utils feature propogation
frisitano Nov 25, 2024
9a66c9d
Merge branch 'feat/hashed-post-state-provider' into feat/hashed-stora…
frisitano Nov 25, 2024
593587e
fix: add Send + Sync bound on introduced storage state api methods
frisitano Nov 25, 2024
59a99c8
Merge branch 'feat/hashed-post-state-provider' into feat/hashed-stora…
frisitano Nov 25, 2024
dbeb344
feat: introduce KeyHasherProvider
frisitano Nov 25, 2024
60b4f7a
feat: introduce StateRootProviderExt and integrate it (and StateRootP…
frisitano Nov 26, 2024
f275c6c
chore: address PR feedback and enhance test coverage
frisitano Dec 1, 2024
b638e50
Merge remote-tracking branch 'scroll/scroll' into feat/scroll-hashed-…
frisitano Dec 2, 2024
8cfb70e
fix: add merge files
frisitano Dec 2, 2024
534a907
fix lint
frisitano Dec 2, 2024
d2c9d32
fix lint
frisitano Dec 2, 2024
963eb21
fmt
frisitano Dec 2, 2024
430f7b9
Merge branch 'feat/scroll-hashed-post-state-provider' into feat/scrol…
frisitano Dec 2, 2024
2662104
add KeyHasher generic to DatabaseHashedStorage::from_reverts trait
frisitano Dec 2, 2024
3dbe4db
Merge branch 'feat/scroll-hashed-storage-provider' into feat/scroll-k…
frisitano Dec 2, 2024
893de64
add merge files
frisitano Dec 2, 2024
4970895
Merge branch 'feat/scroll-key-hasher-provider' into feat/scroll-state…
frisitano Dec 2, 2024
810a4f8
add merge files
frisitano Dec 2, 2024
94c9788
fix: propagate feature
frisitano Dec 2, 2024
6278d2e
Merge remote-tracking branch 'frisitano/feat/scroll-state-root-provid…
frisitano Dec 3, 2024
5f143f1
add merge files
frisitano Dec 3, 2024
dc7ae24
cleanup Cargo.toml files
frisitano Dec 4, 2024
b04a441
Merge remote-tracking branch 'origin/scroll' into feat/scroll-bmpt
frisitano Dec 4, 2024
fd062c5
fix: Cargo.toml dependencies
frisitano Dec 4, 2024
fb85220
refactor: refactor Cargo.toml and put tests behind scroll feature
frisitano Dec 5, 2024
5bfafcc
lints and replace keccak with poseidon for HashedStorage instantiation
frisitano Dec 5, 2024
85cf050
fix deny license and add scroll specific tests to ci
frisitano Dec 5, 2024
85266db
fix unit github workflow
frisitano Dec 5, 2024
7639f64
lint and deny
frisitano Dec 5, 2024
d99b1b7
fix Cargo.toml
frisitano Dec 5, 2024
6f6b08f
add go build to allowed sources
frisitano Dec 5, 2024
bacb07f
Merge remote-tracking branch 'origin/scroll' into feat/scroll-bmpt
frisitano Dec 6, 2024
0bd6fe7
update Cargo.lock
frisitano Dec 6, 2024
65de4cd
update unit ci workflow to exclude --workspace by default
frisitano Dec 6, 2024
d7c4438
fix ci and address PR feedback
frisitano Dec 7, 2024
d84a329
replace TODO(frisitano) with TODO(scroll)
frisitano Dec 7, 2024
2cd2da4
replace use of unwrap(..) in library code with expect(..)
frisitano Dec 7, 2024
c960cb7
add zktrie specification to crates/scroll/trie
frisitano Dec 7, 2024
f428081
chore: fix clsoing bracket in Cargo.toml
frisitano Dec 8, 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
20 changes: 12 additions & 8 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,27 @@ jobs:
matrix:
include:
- type: ethereum
args: --features "asm-keccak ethereum" --locked
args: --features "asm-keccak ethereum" --locked --workspace --exclude ef-tests
partition: 1
total_partitions: 2
- type: ethereum
args: --features "asm-keccak ethereum" --locked
args: --features "asm-keccak ethereum" --locked --workspace --exclude ef-tests
partition: 2
total_partitions: 2
- type: optimism
args: --features "asm-keccak optimism" --locked --exclude reth --exclude reth-bench --exclude "example-*" --exclude "reth-ethereum-*" --exclude "*-ethereum"
args: --features "asm-keccak optimism" --locked --exclude reth --exclude reth-bench --exclude "example-*" --exclude "reth-ethereum-*" --exclude "*-ethereum" --workspace --exclude ef-tests
partition: 1
total_partitions: 2
- type: optimism
args: --features "asm-keccak optimism" --locked --exclude reth --exclude reth-bench --exclude "example-*" --exclude "reth-ethereum-*" --exclude "*-ethereum"
args: --features "asm-keccak optimism" --locked --exclude reth --exclude reth-bench --exclude "example-*" --exclude "reth-ethereum-*" --exclude "*-ethereum" --workspace --exclude ef-tests
partition: 2
total_partitions: 2
- type: scroll
args: -p reth-scroll-state-commitment --locked --features "scroll"
partition: 1
total_partitions: 1
- type: book
args: --manifest-path book/sources/Cargo.toml
args: --manifest-path book/sources/Cargo.toml --workspace --exclude ef-tests
partition: 1
total_partitions: 1
timeout-minutes: 30
Expand All @@ -62,9 +66,9 @@ jobs:
- name: Run tests
run: |
cargo nextest run \
${{ matrix.args }} --workspace \
--exclude ef-tests --no-tests=warn \
--partition hash:${{ matrix.partition }}/2 \
${{ matrix.args }} \
--no-tests=warn \
--partition hash:${{ matrix.partition }}/${{ matrix.total_partitions }} \
-E "!kind(test)"

state:
Expand Down
Loading
Loading