-
Notifications
You must be signed in to change notification settings - Fork 940
Use eth69 in unit tests #8859
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
Use eth69 in unit tests #8859
Conversation
Signed-off-by: Matilda Clerke <[email protected]>
Signed-off-by: Matilda Clerke <[email protected]>
Signed-off-by: Matilda Clerke <[email protected]>
Signed-off-by: Matilda Clerke <[email protected]>
Signed-off-by: Matilda Clerke <[email protected]>
Signed-off-by: Matilda Clerke <[email protected]>
…g due to old code Signed-off-by: Matilda Clerke <[email protected]>
Signed-off-by: Matilda Clerke <[email protected]>
…69-for-unit-tests
Signed-off-by: Matilda Clerke <[email protected]>
…se-eth69-for-unit-tests
Signed-off-by: Matilda Clerke <[email protected]>
Signed-off-by: Matilda Clerke <[email protected]>
Signed-off-by: Matilda Clerke <[email protected]>
Signed-off-by: Matilda Clerke <[email protected]>
Signed-off-by: Matilda Clerke <[email protected]>
…sSufficientValidators due to flakyness Signed-off-by: Matilda Clerke <[email protected]>
Signed-off-by: Matilda Clerke <[email protected]>
Signed-off-by: Matilda-Clerke <[email protected]>
Signed-off-by: Matilda Clerke <[email protected]>
.../src/test/java/org/hyperledger/besu/ethereum/eth/sync/backwardsync/BackwardSyncStepTest.java
Outdated
Show resolved
Hide resolved
Discussed with Stefan and we decided it'd be best not to remove the total difficulty as I've done in this PR. I'll start work on reverting it now. |
This reverts commit ff4526d. Signed-off-by: Matilda Clerke <[email protected]>
This reverts commit 493b84f. Signed-off-by: Matilda Clerke <[email protected]>
This reverts commit ea0a26c. Signed-off-by: Matilda Clerke <[email protected]>
This reverts commit 40f8af6. Signed-off-by: Matilda Clerke <[email protected]>
…luator" This reverts commit 23ffb26. Signed-off-by: Matilda Clerke <[email protected]>
…e looping due to old code" This reverts commit c430125. Signed-off-by: Matilda Clerke <[email protected]>
Signed-off-by: Matilda Clerke <[email protected]>
Signed-off-by: Matilda Clerke <[email protected]>
…rTest Signed-off-by: Matilda Clerke <[email protected]>
Signed-off-by: Matilda Clerke <[email protected]>
…gerTest Signed-off-by: Matilda Clerke <[email protected]>
…oaderForkTest Signed-off-by: Matilda Clerke <[email protected]>
9cb4860
to
ebec9ae
Compare
…Test Signed-off-by: Matilda Clerke <[email protected]>
@@ -122,6 +122,7 @@ public static RespondingEthPeer createPeer( | |||
return RespondingEthPeer.builder() | |||
.ethProtocolManager(ethProtocolManager) | |||
.totalDifficulty(td) | |||
.capability(EthProtocol.ETH68) |
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.
why do these createPeer methods use ETH68?
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.
Eth69 removes total difficulty from the status message, but many of our tests rely on total difficulty in one way or another so for those tests I created peers using Eth68.
...eum/eth/src/test/java/org/hyperledger/besu/ethereum/eth/messages/Eth69StatusMessageTest.java
Outdated
Show resolved
Hide resolved
…essages/Eth69StatusMessageTest.java Co-authored-by: Sally MacFarlane <[email protected]> Signed-off-by: Matilda-Clerke <[email protected]>
PR description
Use eth/69 in unit tests
Fixed Issue(s)
#8728