-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(l1): refactor withdrawals and beacon root call (#1871)
**Motivation** <!-- Why does this pull request exist? What are its goals? --> This pull request includes updates to the `crates/blockchain/payload.rs` file, grouping the withdrawal for the different evm implementations. Additionally, there are minor changes in `crates/vm/vm.rs` related to state transitions. **Description** <!-- A clear and concise general description of the changes this PR introduces --> * Added a new function `make_beacon_root_call` to handle beacon root contract calls within the `build_payload` function. * Removed withdrawal processing code from the `finalize_payload` function, as it is now handled within the `apply_withdrawals` function. * Updated the `apply_plain_transaction` function to use `get_state_transitions_levm` for account updates, ensuring consistency with the new beacon root call integration. <!-- Link to issues: Resolves #111, Resolves #222 --> --------- Co-authored-by: Francisco Krause Arnim <56402156+fkrause98@users.noreply.github.com> Co-authored-by: Federico Borello <156438142+fborello-lambda@users.noreply.github.com>
- Loading branch information
1 parent
2e66c11
commit aa58d4c
Showing
1 changed file
with
56 additions
and
40 deletions.
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