-
Notifications
You must be signed in to change notification settings - Fork 389
feat: max tx cost limit for redistribution game #5473
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
Open
sbackend123
wants to merge
23
commits into
feat/new-gas-estimation
Choose a base branch
from
feat/gas-fee-limit
base: feat/new-gas-estimation
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 20 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
cad8b73
feat: gas fee limit draft implementation (refactoring)
sbackend123 8032e8b
fix: clean up
sbackend123 fff9a06
fix: clean up + tests + metrics
sbackend123 a491b62
fix: testing
sbackend123 d43c956
Merge branch 'feat/new-gas-estimation' into feat/gas-fee-limit
sbackend123 217c288
fix: integrate with issue 5114
sbackend123 01ded1e
fix: refactoring, new tests
sbackend123 a4e74cc
fix: fix tests
sbackend123 9535815
fix: fix tests + delay
sbackend123 0ef2517
fix: remove unused params
sbackend123 a9d78b9
fix: fix test
sbackend123 567e957
Merge branch 'feat/new-gas-estimation' into feat/gas-fee-limit
sbackend123 c0e7dab
fix: fix master merge and tests
sbackend123 39045dd
fix: debugging
sbackend123 46901ee
fix: nonce too low
sbackend123 18738c1
fix: normalize errors
sbackend123 eea67b0
Merge branch 'feat/new-gas-estimation' into feat/gas-fee-limit
sbackend123 1f9fc59
fix: simplify + fix merge
sbackend123 ba74cb0
fix: clean up
sbackend123 7cde291
fix: make linter happy
sbackend123 13220da
fix: addressing review issues
sbackend123 d9cb3cf
fix: remove redundant code
sbackend123 9dae21a
Merge branch 'feat/new-gas-estimation' into feat/gas-fee-limit
sbackend123 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| // Copyright 2026 The Swarm Authors. All rights reserved. | ||
| // Use of this source code is governed by a BSD-style | ||
| // license that can be found in the LICENSE file. | ||
|
|
||
| package redistribution | ||
|
|
||
| import "math/big" | ||
|
|
||
| // CanOverrideClaim exposes the unexported canOverrideClaim method for tests. | ||
| func CanOverrideClaim(c Contract, opts *ClaimOpts, gasFeeCap *big.Int) bool { | ||
| return c.(*contract).canOverrideClaim(opts, gasFeeCap) | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
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.
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.
this is intentional and will be updated before the merge?
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.
Only for testing on lighttestnet, will be removed before merge