Skip to content

refactor(specs): move REFUND_AUTH_PER_EXISTING_ACCOUNT and TX_MAX_GAS_LIMIT to gas modules#2700

Open
knQzx wants to merge 1 commit intoethereum:forks/amsterdamfrom
knQzx:move-gas-constants
Open

refactor(specs): move REFUND_AUTH_PER_EXISTING_ACCOUNT and TX_MAX_GAS_LIMIT to gas modules#2700
knQzx wants to merge 1 commit intoethereum:forks/amsterdamfrom
knQzx:move-gas-constants

Conversation

@knQzx
Copy link
Copy Markdown
Contributor

@knQzx knQzx commented Apr 16, 2026

Fixes #2680

Moves these two gas-related constants to their respective gas modules to be consistent with the refactoring done in #2396

@LouisTsai-Csie
Copy link
Copy Markdown
Collaborator

Needs a rebase

@knQzx knQzx force-pushed the move-gas-constants branch from d15a7d4 to 676640a Compare May 6, 2026 16:41
@codecov
Copy link
Copy Markdown

codecov Bot commented May 7, 2026

Codecov Report

❌ Patch coverage is 81.81818% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 88.62%. Comparing base (2e120a0) to head (676640a).
⚠️ Report is 2 commits behind head on forks/amsterdam.

Files with missing lines Patch % Lines
src/ethereum/forks/bpo5/transactions.py 0.00% 2 Missing ⚠️
Additional details and impacted files
@@                 Coverage Diff                 @@
##           forks/amsterdam    #2700      +/-   ##
===================================================
- Coverage            88.62%   88.62%   -0.01%     
===================================================
  Files                  577      577              
  Lines                35659    35661       +2     
  Branches              3490     3490              
===================================================
+ Hits                 31604    31605       +1     
- Misses                3492     3493       +1     
  Partials               563      563              
Flag Coverage Δ
unittests 88.62% <81.81%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@LouisTsai-Csie LouisTsai-Csie changed the title move REFUND_AUTH_PER_EXISTING_ACCOUNT and TX_MAX_GAS_LIMIT to gas modules refactor(specs): move REFUND_AUTH_PER_EXISTING_ACCOUNT and TX_MAX_GAS_LIMIT to gas modules May 7, 2026
Copy link
Copy Markdown
Collaborator

@LouisTsai-Csie LouisTsai-Csie left a comment

Choose a reason for hiding this comment

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

LGTM

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.

Move REFUND_AUTH_PER_EXISTING_ACCOUNT and TX_MAX_GAS_LIMIT with other gas constants

2 participants