-
Notifications
You must be signed in to change notification settings - Fork 897
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
Replace getByBlockNumber by getByBlockHeader #5020
Merged
gfukushima
merged 18 commits into
hyperledger:main
from
gfukushima:replace-getByBlockNumber-by-getByBlockHeader
Feb 5, 2023
Merged
Replace getByBlockNumber by getByBlockHeader #5020
gfukushima
merged 18 commits into
hyperledger:main
from
gfukushima:replace-getByBlockNumber-by-getByBlockHeader
Feb 5, 2023
Conversation
This file contains 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
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
macfarla
approved these changes
Feb 1, 2023
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.
LGTM. couple of comments
...merge/src/test/java/org/hyperledger/besu/consensus/merge/TransitionProtocolScheduleTest.java
Outdated
Show resolved
Hide resolved
...m/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/DebugReplayBlock.java
Show resolved
Hide resolved
.../src/test/java/org/hyperledger/besu/ethereum/eth/sync/fastsync/FastImportBlocksStepTest.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
jframe
reviewed
Feb 2, 2023
ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/query/BlockchainQueries.java
Show resolved
Hide resolved
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
jframe
approved these changes
Feb 2, 2023
siladu
approved these changes
Feb 2, 2023
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.
LGTM
jframe
added a commit
to jframe/besu
that referenced
this pull request
Feb 8, 2023
This reverts commit 9ceebc4.
jframe
added a commit
to jframe/besu
that referenced
this pull request
Feb 8, 2023
This reverts commit 9ceebc4. Signed-off-by: Jason Frame <jason.frame@consensys.net>
3 tasks
jframe
added a commit
that referenced
this pull request
Feb 8, 2023
shemnon
pushed a commit
to shemnon/besu
that referenced
this pull request
Feb 8, 2023
* Replace getByBlockNumber by getByBlockHeader where trivial Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Fix tests Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Fix tests Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Rolledback change since tests will need non trivial changes Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Rollback replace Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Change other 2 trivial tests Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * spotless Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Pass ProcessableBlockHeader to the mocks Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Replace getByBlockNumber by getByBlockHeader Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Add mock of blockHeader Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Use any() for the tests Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Add unit test for headBlockHeader() Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> --------- Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
Bug found during goerli sync: #5064 |
shemnon
pushed a commit
to shemnon/besu
that referenced
this pull request
Feb 9, 2023
* Replace getByBlockNumber by getByBlockHeader where trivial Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Fix tests Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Fix tests Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Rolledback change since tests will need non trivial changes Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Rollback replace Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Change other 2 trivial tests Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * spotless Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Pass ProcessableBlockHeader to the mocks Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Replace getByBlockNumber by getByBlockHeader Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Add mock of blockHeader Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Use any() for the tests Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Add unit test for headBlockHeader() Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> --------- Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
ensi321
pushed a commit
to ensi321/besu
that referenced
this pull request
Feb 19, 2023
* Replace getByBlockNumber by getByBlockHeader where trivial Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Fix tests Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Fix tests Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Rolledback change since tests will need non trivial changes Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Rollback replace Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Change other 2 trivial tests Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * spotless Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Pass ProcessableBlockHeader to the mocks Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Replace getByBlockNumber by getByBlockHeader Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Add mock of blockHeader Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Use any() for the tests Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Add unit test for headBlockHeader() Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> --------- Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
ensi321
pushed a commit
to ensi321/besu
that referenced
this pull request
Feb 19, 2023
…" (hyperledger#5063) This reverts commit 9ceebc4. Signed-off-by: Jason Frame <jason.frame@consensys.net>
7 tasks
elenduuche
pushed a commit
to elenduuche/besu
that referenced
this pull request
Aug 16, 2023
* Replace getByBlockNumber by getByBlockHeader where trivial Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Fix tests Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Fix tests Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Rolledback change since tests will need non trivial changes Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Rollback replace Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Change other 2 trivial tests Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * spotless Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Pass ProcessableBlockHeader to the mocks Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Replace getByBlockNumber by getByBlockHeader Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Add mock of blockHeader Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Use any() for the tests Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Add unit test for headBlockHeader() Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> --------- Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
elenduuche
pushed a commit
to elenduuche/besu
that referenced
this pull request
Aug 16, 2023
…" (hyperledger#5063) This reverts commit 9ceebc4. Signed-off-by: Jason Frame <jason.frame@consensys.net>
eum602
pushed a commit
to lacchain/besu
that referenced
this pull request
Nov 3, 2023
* Replace getByBlockNumber by getByBlockHeader where trivial Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Fix tests Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Fix tests Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Rolledback change since tests will need non trivial changes Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Rollback replace Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Change other 2 trivial tests Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * spotless Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Pass ProcessableBlockHeader to the mocks Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Replace getByBlockNumber by getByBlockHeader Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Add mock of blockHeader Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Use any() for the tests Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> * Add unit test for headBlockHeader() Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> --------- Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com> Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
eum602
pushed a commit
to lacchain/besu
that referenced
this pull request
Nov 3, 2023
…" (hyperledger#5063) This reverts commit 9ceebc4. Signed-off-by: Jason Frame <jason.frame@consensys.net>
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.
PR description
First batch that replaces getByBlockNumber by getByBlockHeader. These batch includes trivial replacements with none or minimal changes to the logic of the code base.
Fixed Issue(s)
Documentation
doc-change-required
label to this PR ifupdates are required.
Changelog