Skip to content
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

chore: add eth68 to default capabilities #1475

Merged
merged 5 commits into from
Feb 21, 2023
Merged

Conversation

mattsse
Copy link
Collaborator

@mattsse mattsse commented Feb 21, 2023

enable 68 as the default caps

Blocked by #1478

@mattsse mattsse requested a review from Rjected as a code owner February 21, 2023 10:44
@mattsse mattsse added the A-networking Related to networking in general label Feb 21, 2023
@mattsse mattsse force-pushed the matt/add-eth68-to-caps branch from abbeaaa to 6c64113 Compare February 21, 2023 11:19
@mattsse mattsse marked this pull request as draft February 21, 2023 11:33
@mattsse mattsse marked this pull request as ready for review February 21, 2023 11:34
Comment on lines +102 to +104
capabilities: capabilities.unwrap_or_else(|| {
vec![EthVersion::Eth68.into(), EthVersion::Eth67.into(), EthVersion::Eth66.into()]
}),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what has changed since this comment?

Copy link
Member

@Rjected Rjected Feb 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The devp2p hive tests expect eth/68 in the Status, which at the time I'm not sure we knew due to other errors in the hive tests. So we need to advertise 68 now in the hello, and send an eth/68 status

Copy link
Member

@Rjected Rjected left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - let's see if we get past the handshake in the devp2p hive tests now

@Rjected Rjected merged commit 1d2bb1f into main Feb 21, 2023
@Rjected Rjected deleted the matt/add-eth68-to-caps branch February 21, 2023 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-networking Related to networking in general
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants