refactor(gas_limiter): canonical + overlay design with epoch tag#488
Merged
Conversation
b951e01 to
f7c1bf1
Compare
Contributor
|
This conflicts hugely with my existing PR (#487). Can you describe to me
Then we can build on top of each other and streamline the work properly |
Member
Author
Yes that's why I extracted it from continuous PR, so that we can merge it first and we can update 487 with this foundation. There's detailed "What was missing" and "What this fixes for continuous mode" sections in the description upper, but tldr we need cheap copy/overlay as only the winning candidate should consume budgets. |
c7f0ea2 to
595ab27
Compare
akundaz
requested changes
May 15, 2026
595ab27 to
393c338
Compare
akundaz
reviewed
May 21, 2026
Contributor
akundaz
left a comment
There was a problem hiding this comment.
Looks much better thank you! Just get CI passing and I think this should be good to go
393c338 to
9fcac85
Compare
akundaz
approved these changes
May 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refactor the per-address gas/compute limiter to use per-payload overlays over a shared canonical limiter.
Each payload job now records limiter usage in its own overlay and commits it back when the job finishes. This keeps in-flight payload builds isolated while preserving persistent sender debt across jobs. The
limiter also rejects stale overlay commits when the canonical state has already advanced.
Changes