-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Support log reordring from reorgs in LogSubscriptionService
#86
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
Merged
Changes from all commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
42601c4
rework filters to use less mocking
RatanRSur 7bac2c4
use checkArgument
RatanRSur fd1cb7b
move LogWithMetadata to core
RatanRSur 5169788
use getOrThrow
RatanRSur 4ad7d1f
move BlockWithReceipts to core
RatanRSur b87cc5c
thread logs with metadata through `DefaultBlockchain` into the `Block…
RatanRSur a561e25
reorder
RatanRSur 8639ed4
make tests compile
RatanRSur 8293dc2
wip: wire `LogSubscriptionService to use new event
RatanRSur 57ad75a
cont: thread BlockWithReceipts further into call stack because new ch…
RatanRSur bd2c76b
singleton list
RatanRSur 45be5ec
assertThat
RatanRSur bc28ce1
implement the chronological ordering of `LogWithMetadata` with `Compa…
RatanRSur 7d26d11
clean up reorg
RatanRSur ca86acc
fix bug in test
RatanRSur ad6d114
remove unnecessary separation between (added|removed)LogsWithMetadata
RatanRSur 64d14d9
use Deque instead of sorting
RatanRSur 271a2ae
fix typo and remove abbrev.
RatanRSur fa09780
typo
RatanRSur 33c9403
remove var
RatanRSur a955f84
override `getChainHeadBlock`
RatanRSur b7d4f15
base reorg iteration off of `BlockWithReceipt`s
RatanRSur 733e396
move `List<LogWithMetadata>` logic from `BlockWithReceipts` to `LogWi…
RatanRSur 2a853a2
imports and stuff
RatanRSur 575fac6
functional style
RatanRSur 08d7c1c
cleanup
RatanRSur 7cd9ddd
add tests for log ordering
RatanRSur f37f627
imports
RatanRSur 3b6f613
make it compile after rebase
RatanRSur de24d3e
consolidate LogWithMetadata creation
RatanRSur 4ceefca
functional style
RatanRSur 31e2fe7
remove parens
RatanRSur e4b0266
wip: more tests
RatanRSur 8b76d6e
testing and bugfix
RatanRSur 257e1d6
remove comparison
RatanRSur e02f37e
findAny
RatanRSur d481a0b
final
RatanRSur 0e2a402
bytesValue size range
RatanRSur 64675cd
return up to to block in query matching
RatanRSur 3aa15ce
Merge branch 'master' into rework-filters
RatanRSur ac95246
fix toBlock spec test
RatanRSur 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
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
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.
What is the motivation for the underscore (
_) as the input parameter name?Uh oh!
There was an error while loading. Please reload this page.
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.
It's to signify that the argument is not used