Skip to content

Commit

Permalink
feat: scroll execution strategy (#63)
Browse files Browse the repository at this point in the history
* add l1_fee field to `Receipt`

Signed-off-by: Gregory Edison <[email protected]>

* scroll consensus

Signed-off-by: Gregory Edison <[email protected]>

* feat: scroll execution strategy

Signed-off-by: Gregory Edison <[email protected]>

* feat: expose `verify_receipts` from reth-ethereum-consensus

Signed-off-by: Gregory Edison <[email protected]>

* feat: add `reth-scroll-evm` crate to avoid cyclic dep

Signed-off-by: Gregory Edison <[email protected]>

* improve curie fork application + test

Signed-off-by: Gregory Edison <[email protected]>

* integrate l1 fee

Signed-off-by: Gregory Edison <[email protected]>

* add `ScrollEvmConfig`

Signed-off-by: Gregory Edison <[email protected]>

* add tests for `ScrollEvmConfig`

Signed-off-by: Gregory Edison <[email protected]>

* add tests for `ScrollExecutionStrategy`

Signed-off-by: Gregory Edison <[email protected]>

* add l1 message test for `ScrollExecutionStrategy`

Signed-off-by: Gregory Edison <[email protected]>

* add legacy tx execution test for `ScrollExecutionStrategy`

Signed-off-by: Gregory Edison <[email protected]>

* use revm scroll fork

Signed-off-by: Gregory Edison <[email protected]>

* introduce `ScrollExecutionStrategyFactory`

Signed-off-by: Gregory Edison <[email protected]>

* feat: patch revm crate to scroll fork

Signed-off-by: Gregory Edison <[email protected]>

* fix: lints

Signed-off-by: Gregory Edison <[email protected]>

* fix: deny

Signed-off-by: Gregory Edison <[email protected]>

* answer comments

Signed-off-by: Gregory Edison <[email protected]>

* fill `TxEnv.rlp_bytes` only for !is_l1_message

Signed-off-by: Gregory Edison <[email protected]>

* lints

Signed-off-by: Gregory Edison <[email protected]>

* switch revm to scroll default branch

Signed-off-by: Gregory Edison <[email protected]>

* fix: deny

Signed-off-by: Gregory Edison <[email protected]>

* fix: remove alloy-sol-types patch

Signed-off-by: Gregory Edison <[email protected]>

* feat: propagate scroll chain spec in execution

Signed-off-by: Gregory Edison <[email protected]>

* fix: scroll ci

Signed-off-by: Gregory Edison <[email protected]>

* chore: bump `trust-dns-resolver` to 0.25 alpha4 to fix deny

Signed-off-by: Gregory Edison <[email protected]>

* fix: propagate serde feature

Signed-off-by: Gregory Edison <[email protected]>

* fix: docs

Signed-off-by: Gregory Edison <[email protected]>

* answer comments

Signed-off-by: Gregory Edison <[email protected]>

* lint

Signed-off-by: Gregory Edison <[email protected]>

* answer comments

Signed-off-by: Gregory Edison <[email protected]>

---------

Signed-off-by: Gregory Edison <[email protected]>
  • Loading branch information
greged93 authored Dec 10, 2024
1 parent 82aa95a commit d953c47
Show file tree
Hide file tree
Showing 34 changed files with 1,583 additions and 129 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ jobs:
cargo udeps --workspace --lib --examples --tests --benches --all-features --locked \
--exclude "reth-optimism-*" --exclude op-reth --exclude "example-*" --exclude reth \
--exclude reth-e2e-test-utils --exclude reth-ethereum-payload-builder --exclude reth-exex-test-utils \
--exclude reth-node-ethereum
--exclude reth-node-ethereum --exclude reth-scroll-evm
book:
name: book
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
partition: 2
total_partitions: 2
- type: scroll
args: -p reth-scroll-state-commitment --locked --features "scroll"
args: -p "reth-scroll-*" --locked --features "scroll"
partition: 1
total_partitions: 1
- type: book
Expand Down
Loading

0 comments on commit d953c47

Please sign in to comment.