Back-port EVM Pectra hard-fork to soft finality#816
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the WalkthroughThis update centralizes and refines block number handling, enhances transaction argument processing to support new Ethereum transaction types, and improves logs bloom filter computation. It introduces new constants for special block numbers, updates API and internal method signatures, and adds comprehensive tests for EIP-7702 and pre-Pectra upgrade scenarios. Several dependencies are also upgraded. Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant API
participant Utils
participant DB
participant EVM
participant Tracer
Client->>API: Call method with blockNumber/tag
API->>Utils: resolveBlockNumber(blockNumber)
Utils->>DB: Get latest executed block height
DB-->>Utils: Return block height
Utils-->>API: Return resolved block number
API->>EVM: ToTransaction(args, defaultType, gasLimit)
EVM-->>API: Transaction object
API->>Tracer: (if tracing) Create tracer with chain config
Tracer-->>API: Tracer instance
API-->>Client: Return result (block, tx, trace, etc.)
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
…pectra-upgrade-soft-finality-backport
2fa4139
into
mpeter/poc-index-finalized-block-results
Work towards: onflow/flow-go#7152
Description
Back-port #805 to soft finality branch.
For contributor use:
masterbranchFiles changedin the Github PR explorerSummary by CodeRabbit
New Features
Improvements
Bug Fixes
Dependency Updates
Documentation