-
Notifications
You must be signed in to change notification settings - Fork 18
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
feat: add set code tx support #43
base: main
Are you sure you want to change the base?
Conversation
…n CodecFromConfig
…1 message hash from a given set of blocks
Conflicts: encoding/da.go encoding/interfaces.go go.mod go.sum
* fix: clear 32 bits instead of 36 * fix: test expectations for rolling hash * fix: tests * fix tests --------- Co-authored-by: jonastheis <4181434+jonastheis@users.noreply.github.com>
Co-authored-by: colin <102356659+colinlyguo@users.noreply.github.com>
…MessageQueueHash -> postL1MessageQueueHash
WalkthroughThis pull request updates the handling of "no blocks" test cases in CodecV7 by replacing an error expectation with a specific hash verification in two test functions. It also adjusts a comment alignment in the encoding types file, introduces a distinct handling case for the Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant Converter
participant TxFactory
Client->>Converter: Provide txData with SetCodeTxType
Converter->>TxFactory: Call types.NewTx with parsed txData fields
TxFactory-->>Converter: Return constructed SetCodeTx transaction
Converter-->>Client: Return finalized transaction
Possibly related PRs
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (4)
✅ Files skipped from review due to trivial changes (1)
⏰ Context from checks skipped due to timeout of 90000ms (1)
🔇 Additional comments (5)
✨ 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 (
|
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.
Looks good, thanks! Let's merge after your 7702 PR was merged.
makes sense. |
Purpose or design rationale of this PR
This PR adds set code tx support in the
convertTxDataToRLPEncoding
function.Could change the commit of the l2geth dependency after the l2geth pr is merged.
PR title
Your PR title must follow conventional commits (as we are doing squash merge for each PR), so it must start with one of the following types:
Breaking change label
Does this PR have the
breaking-change
label?Summary by CodeRabbit