-
Notifications
You must be signed in to change notification settings - Fork 719
Update TouchAddress and IsFiltered to propagate filtering reasons #4557
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
Merged
diegoximenes
merged 22 commits into
master
from
update-touchaddress-and-hashedaddresscheckerstateisfiltered
Apr 16, 2026
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
d5ebca5
Update TouchAddress and IsFiltered to propagate filtering reasons
MishkaRogachev 820a86e
Add the changelog
MishkaRogachev ba6fdef
Review fixes
MishkaRogachev 04052f8
Merge remote-tracking branch 'origin/master' into update-touchaddress…
MishkaRogachev f1d7a67
Assign proper FilterSetId
MishkaRogachev 6819ceb
Fix a comment in TestHashedAddressCheckerSimple
MishkaRogachev e78fde4
Merge remote-tracking branch 'origin/master' into update-touchaddress…
MishkaRogachev 850f79f
Post-merge and review fixes
MishkaRogachev bf50495
Update AddressesForFiltering signature to use records by value
MishkaRogachev 46d603f
Remove unneeded duplicate-addresses test case
MishkaRogachev e3a14e5
Remove TODO comment
MishkaRogachev 592e13f
Remove FilterSetID from FilteredAddressRecord and put back lint:requi…
MishkaRogachev 46d1081
Merge branch 'master' into update-touchaddress-and-hashedaddresscheck…
MishkaRogachev 185c424
Fill EventRuleMatchfor FilterReason
MishkaRogachev ed4a2b9
Merge remote-tracking branch 'origin/master' into update-touchaddress…
MishkaRogachev 1817c15
Merge remote-tracking branch 'origin/master' into update-touchaddress…
MishkaRogachev e860cec
Change FilteredTxReport's PositionInBlock to int
MishkaRogachev eb45735
Merge remote-tracking branch 'origin/master' into update-touchaddress…
MishkaRogachev a1bb61a
Change FilteredTxReport's PositionInBlock to uint
MishkaRogachev f49ed70
Change PositionInBlock once again, to uint64
MishkaRogachev 273b75e
Merge branch 'master' into update-touchaddress-and-hashedaddresscheck…
MishkaRogachev 654d6a4
Update go-ethereum pin
MishkaRogachev 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
Some comments aren't visible on the classic Files Changed page.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| ### Internal | ||
| - Update TouchAddress to accept FilteredAddressRecord with filtering reason instead of just an address, and update IsFiltered to return filtered address records for use in transaction filtering reports. |
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,31 @@ | ||
| // Copyright 2026, Offchain Labs, Inc. | ||
| // For license information, see https://github.com/OffchainLabs/nitro/blob/master/LICENSE.md | ||
|
|
||
| package addressfilter | ||
|
|
||
| import ( | ||
| "time" | ||
|
|
||
| "github.com/ethereum/go-ethereum/arbitrum/filter" | ||
| "github.com/ethereum/go-ethereum/common" | ||
| "github.com/ethereum/go-ethereum/common/hexutil" | ||
| ) | ||
|
|
||
| // lint:require-exhaustive-initialization | ||
| type DelayedReportData struct { | ||
| InboxRequestId common.Hash `json:"delayedInboxRequestId"` | ||
| } | ||
|
|
||
| // lint:require-exhaustive-initialization | ||
| type FilteredTxReport struct { | ||
| ID string `json:"id"` | ||
| TxHash common.Hash `json:"txHash"` | ||
| TxRLP hexutil.Bytes `json:"txRLP"` | ||
| FilteredAddresses []filter.FilteredAddressRecord `json:"filteredAddresses"` | ||
| BlockNumber uint64 `json:"blockNumber"` | ||
| ParentBlockHash common.Hash `json:"parentBlockHash"` | ||
| PositionInBlock uint64 `json:"positionInBlock"` | ||
| FilteredAt time.Time `json:"filteredAt"` | ||
| IsDelayed bool `json:"isDelayed"` | ||
| *DelayedReportData | ||
| } |
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.
Uh oh!
There was an error while loading. Please reload this page.