-
Notifications
You must be signed in to change notification settings - Fork 240
chore: mock gen only #2853
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
chore: mock gen only #2853
Conversation
Summary of ChangesHello @alpe, 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 performs a targeted cleanup of generated mock files. Specifically, it removes the mock implementations for the 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
|
|
Claude finished @alpe's task —— View job Code Review CompleteTasks
SummaryThis PR correctly removes outdated mock implementations for Review Findings1. Code Quality & Architecture ✅Positive:
Verified:
2. Error Handling & Resilience ✅Not applicable - This is generated mock code removal only. The actual implementations that handle gas price estimation now reside in the Celestia node integration. 3. Security ✅No security concerns identified:
4. Performance & Resource Efficiency ✅Positive:
5. Testing & Reliability ✅Verified:
Context from git history:
6. Documentation & Developer Experience ✅Positive:
Observation:
RecommendationsNo blocking issues identified. This is a straightforward, correct cleanup PR. Optional improvements for future consideration:
ConclusionLGTM ✅ - This PR correctly synchronizes the generated mock files with the current DA interface definition. The removal of The PR completes the cleanup started in the gas price refactoring work and ensures the test infrastructure remains aligned with the production interfaces. |
|
The latest Buf updates on your PR. Results from workflow CI / buf-check (pull_request).
|
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 cleans up generated mock code. The removal of the GasMultiplier and GasPrice methods and their associated mock helpers from da/internal/mocks/da.go and test/mocks/da.go is correct, as these methods are no longer part of the DA interface. I have one suggestion regarding the duplicated mock files to improve the project's maintainability.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2853 +/- ##
==========================================
- Coverage 64.76% 64.69% -0.07%
==========================================
Files 81 81
Lines 7169 7169
==========================================
- Hits 4643 4638 -5
- Misses 1986 1991 +5
Partials 540 540
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:
|
Overview
make mock-genonly to cleanup some left overs.