cmd/devp2p: ethtest suite runnable as unit test#22698
Merged
fjl merged 19 commits intoethereum:masterfrom Apr 23, 2021
Merged
Conversation
cc004df to
1991d65
Compare
0a93952 to
eda866c
Compare
fjl
reviewed
Apr 21, 2021
fjl
reviewed
Apr 21, 2021
fjl
reviewed
Apr 21, 2021
fjl
reviewed
Apr 21, 2021
fjl
reviewed
Apr 21, 2021
fjl
reviewed
Apr 21, 2021
fjl
requested changes
Apr 21, 2021
Contributor
So it passes, but also takes a long time. We need to make it run faster. |
Contributor
The long tests are We need to see why they take so much time. Is it because of large data transfer, or because the test has a large timeout? |
Contributor
|
I tried setting global |
Contributor
|
In |
fjl
reviewed
Apr 22, 2021
| // Send the transaction | ||
| if err := sendConn.Write(&Transactions{tx}); err != nil { | ||
| txMsg := Transactions(txs) | ||
| if err := sendConn.Write(&txMsg); err != nil { |
Contributor
There was a problem hiding this comment.
I think we should announce the txs individually here. Some of them can be large, and the node might reject the entire announcement when the first item is too big.
Contributor
There was a problem hiding this comment.
What I meant is, you can just send them in a loop like
for _, tx := range txs {
if err := sendConn.Write(&Transactions{tx}); err != nil { ... }
}
fjl
reviewed
Apr 22, 2021
atif-konasl
pushed a commit
to frozeman/pandora-execution-engine
that referenced
this pull request
Oct 15, 2021
…#22698) This change adds a Go unit test that runs the protocol test suite against the go-ethereum implementation of the eth protocol.
9 tasks
9 tasks
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
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.
This PR adds a test file to allow the eth test suite to be runnable as independent unit tests for easier testing.
TODO: