-
Notifications
You must be signed in to change notification settings - Fork 245
chore!: move sequencers to pkg #2931
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
|
The latest Buf updates on your PR. Results from workflow CI / buf-check (pull_request).
|
|
Claude finished @tac0turtle's task in 3m 0s —— View job Code Review CompleteI've performed a comprehensive code review of this PR. The refactoring successfully moves the sequencer implementations from the root Tasks
SummaryThis PR performs a structural refactoring with minimal functional changes:
Detailed Findings✅ What's Good
|
Summary of ChangesHello @tac0turtle, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request undertakes a structural refactoring by relocating the sequencer-related modules into a dedicated Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
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.
Code Review
This pull request refactors the project structure by moving the sequencer implementations into the pkg directory, which is a good change for improving code organization. The changes are mostly mechanical, involving file moves and updates to import paths and documentation. These have been done correctly and consistently across the codebase. I've found one minor issue in the documentation that could be addressed to improve clarity for developers.
CLAUDE.md
Outdated
| - **Executor** (core/executor.go) - Handles state transitions | ||
| - **Sequencer** (core/sequencer.go) - Orders transactions | ||
| - **DA** (core/da.go) - Data availability layer abstraction | ||
| - **Execution** (`core/execution/execution.go`) - State transition interface and types |
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.
There seems to be a typo in the documentation for the Execution component. The interface defined in core/execution/execution.go is named Executor, but it's documented here as Execution. To avoid confusion for developers, this should be corrected to Executor.
| - **Execution** (`core/execution/execution.go`) - State transition interface and types | |
| - **Executor** (`core/execution/execution.go`) - State transition interface and types |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2931 +/- ##
==========================================
- Coverage 58.86% 58.73% -0.13%
==========================================
Files 90 90
Lines 8720 8720
==========================================
- Hits 5133 5122 -11
- Misses 3000 3011 +11
Partials 587 587
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
The changes look good. Please don't merge now to avoid conflicts |
yes will hold off, this isnt high priority |
* main: (34 commits) feat: make reaper poll duration configurable (#2951) chore!: move sequencers to pkg (#2931) feat: Ensure Header integrity on DA (#2948) feat(testda): add header support with GetHeaderByHeight method (#2946) chore: improve code comments clarity (#2947) chore(sequencers): optimize store check (#2945) fix: make evm_execution more robust (#2942) fix(sequencers/single): deterministic queue (#2938) fix(block): fix init logic sequencer for da epoch fetching (#2926) feat: use DA timestamp (#2939) chore: improve code comments clarity (#2943) build(deps): bump libp2p (#2937) build(deps): Bump actions/cache from 4 to 5 (#2934) build(deps): Bump actions/download-artifact from 6 to 7 (#2933) build(deps): Bump actions/upload-artifact from 5 to 6 (#2932) feat: DA Client remove interface part 3, replace types with new code (#2910) DA Client remove interface: Part 2.5, create e2e test to validate that a blob is posted in DA layer. (#2920) fix(syncing): skip forced txs checks for p2p blocks (#2922) build(deps): Bump the all-go group across 5 directories with 5 updates (#2919) chore: loosen syncer state check (#2927) ...
Overview
This pr moves sequencers to pkg, its a nit, we should probably hold off on merging to avoid lots merge conflicts with da removal