-
Notifications
You must be signed in to change notification settings - Fork 20.7k
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
cmd/devp2p: add eth/66 protocol test suite #22286
Comments
@fjl re:
can I just send two simultaneous |
Yeah, that's kind of the idea. Basically, the peer needs to be able to deal with concurrent requests in some way. |
Some follow-up ideas:
|
I checked the results on hive and it looks like the 66 tests continue even if the remote node does not support 66. |
one more idea: test the behavior of eth/65 where a peer requests 2000 tx, but only 1000 are sent (because of response limit). if some txs are missing on the remote node, then the list should be truncated in a certain way. |
Okay, will add a check for highest protocol supported by node to proceed with 66 tests. |
for block hash -- doesn't |
There are two ways to announce a block: with |
Hmm, looks like after receiving the |
Can this be closed now? |
It's kind of an ongoing effort, but I'd say the base is in place so likely yes. |
After #22241 is merged, we should extend the protocol test suite to cover the new
message types in eth/66. What needs to be done:
65
in name66
name and change messages to use eth/66 request IDSince we now have eth message definitions in package
eth/protocols/eth
, we might beable to remove the message type definitions in package ethtest and use the 'real' message
types instead.
The text was updated successfully, but these errors were encountered: