Skip to content

Remove nogas deadcode#195

Merged
jhelison merged 2 commits into
mainfrom
refactor/remove-nogas
Jan 2, 2026
Merged

Remove nogas deadcode#195
jhelison merged 2 commits into
mainfrom
refactor/remove-nogas

Conversation

@jhelison

@jhelison jhelison commented Jan 2, 2026

Copy link
Copy Markdown
Contributor

Description

Remove the no gas dead code

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Documentation (updates documentation on the project)
  • chore (Updates on dependencies, gitignore, etc)
  • test (For updates on tests)

How Has This Been Tested?

No changes in test needed

Copilot AI review requested due to automatic review settings January 2, 2026 12:39
@coderabbitai

coderabbitai Bot commented Jan 2, 2026

Copy link
Copy Markdown
Contributor

Walkthrough

This pull request removes dead code related to no gas consumption. The noConsumptionGasMeter type and its public constructor NewNoConsumptionGasMeter are deleted from the ante package, along with all associated method implementations. The CHANGELOG.md is updated to document this removal.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title 'Remove nogas deadcode' clearly and concisely describes the main change of removing dead code related to the no gas consumption implementation.
Description check ✅ Passed The pull request description is related to the changeset, explaining that it removes 'no gas dead code' which aligns with the actual changes removing the noConsumptionGasMeter implementation.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
  • 📝 Generate docstrings

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes dead code by deleting the unused ante/no_gas.go file, which contained a custom gas meter implementation that doesn't consume any gas. The removal has been documented in the CHANGELOG.

Key Changes:

  • Deleted the entire ante/no_gas.go file containing the noConsumptionGasMeter implementation
  • Updated CHANGELOG.md to document the removal under the "Removed" section

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
ante/no_gas.go Removed unused gas meter implementation that never consumed gas
CHANGELOG.md Added entry documenting the removal of dead code under the UNRELEASED section

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
CHANGELOG.md (1)

7-7: Changelog entry could be more specific about what was removed.

The entry "Removed dead code related to no gas consumption" is accurate but somewhat vague. Consider being more explicit about what was removed (e.g., "Removed unused noConsumptionGasMeter type from ante package").

📜 Review details

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 0137e1d and 8353424.

📒 Files selected for processing (2)
  • CHANGELOG.md
  • ante/no_gas.go
💤 Files with no reviewable changes (1)
  • ante/no_gas.go
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: Analyze
🔇 Additional comments (1)
CHANGELOG.md (1)

5-7: Dead code removal is complete with no broken dependencies.

Confirmed that all references to noConsumptionGasMeter, NewNoConsumptionGasMeter, and the ante/no_gas.go file have been removed from the codebase. No remaining code depends on the removed functionality, and test files contain no references to the removed types.

Comment thread CHANGELOG.md
@jhelison

jhelison commented Jan 2, 2026

Copy link
Copy Markdown
Contributor Author

Related to #193

@jhelison jhelison merged commit c94714d into main Jan 2, 2026
14 checks passed
@jhelison jhelison deleted the refactor/remove-nogas branch January 2, 2026 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants