-
Notifications
You must be signed in to change notification settings - Fork 94
feat: apply requestsHash and SetCodeTxType to support l1 Pectra upgrade #435
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
Conversation
* add RequestsHash to op-service RPCHeader type * sources.RPCHeader.RequestsHash needs "requestsHash" json struct tag not "requestsHash" as in geth * remove comment This was fixed upstream ethereum/go-ethereum#30926 * add comment * Update op-service/sources/types.go Co-authored-by: protolambda <proto@protolambda.com> --------- Co-authored-by: protolambda <proto@protolambda.com>
WalkthroughThe changes update several functions across Rollup and service packages to include an additional Changes
Sequence Diagram(s)sequenceDiagram
participant O as "open (BlobDataSource)"
participant D as "dataAndHashesFromTxs"
participant V as "isValidBatchTx"
participant L as "Logger"
O->>D: Call dataAndHashesFromTxs(txs, config, batcherAddr, logger)
D->>L: Log start of processing
D->>V: Validate transaction passing logger
V->>L: Log warnings/errors during validation
V-->>D: Return validation result
D-->>O: Return data and blob hashes
📜 Recent review detailsConfiguration used: CodeRabbit UI ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (5)
🔇 Additional comments (9)
✨ Finishing Touches
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
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 (
|
View your CI Pipeline Execution ↗ for commit 7131e31.
☁️ Nx Cloud last updated this comment at |
The title of this commit doesn’t seem to match its actual changes. Could you clarify what the intended purpose of the commit was? It might help to adjust the title to better reflect the modifications made. @kangsorang |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
This PR includes modifications to ensure that the current version of Kroma (Cancun and OP Ecotone) is compatible with the L1 Pectra upgrade.
Pair with PR : kroma-network/go-ethereum#150