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

Turn off libp2p transport by default #2557

Merged
merged 1 commit into from
Feb 28, 2023
Merged

Turn off libp2p transport by default #2557

merged 1 commit into from
Feb 28, 2023

Conversation

acolytec3
Copy link
Contributor

Makes the default transport in the client rlpx only for now since libp2p transport is only semi-functional and can lead to hard to debug port conflicts for code that is not currently being used

@codecov
Copy link

codecov bot commented Feb 28, 2023

Codecov Report

Merging #2557 (0b0441c) into master (295e5a3) will increase coverage by 0.02%.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

Flag Coverage Δ
block 90.13% <ø> (ø)
blockchain 90.40% <ø> (ø)
client 87.68% <100.00%> (-0.02%) ⬇️
common 95.82% <ø> (ø)
devp2p 91.86% <ø> (+0.10%) ⬆️
ethash ∅ <ø> (∅)
evm 83.36% <ø> (ø)
rlp ∅ <ø> (∅)
statemanager 89.61% <ø> (ø)
trie 90.36% <ø> (+0.34%) ⬆️
tx 93.72% <ø> (ø)
util 84.50% <ø> (ø)
vm 83.87% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

packages/tx/tx Outdated
@@ -0,0 +1 @@
./tx
Copy link
Member

Choose a reason for hiding this comment

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

You've got some strange thing in here which (likely) leads the (tx) tests to fail.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Interesting. I must have accidentally committed something else and didn't see it when I was writing the commit message

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OKay, removed the errant commit. Should be good now.

@@ -38,7 +38,7 @@
"clean": "../../config/cli/clean-package.sh",
"client:start": "ts-node bin/cli.ts",
"client:start:dev1": "npm run client:start -- --discDns=false --discV4=false --bootnodes",
"client:start:dev2": "npm run client:start -- --discDns=false --discV4=false --transports=rlpx --port=30304 --dataDir=datadir-dev2",
"client:start:dev2": "npm run client:start -- --discDns=false --discV4=false --port=30304 --dataDir=datadir-dev2",
Copy link
Member

Choose a reason for hiding this comment

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

Oh, THAT'S an impressive catch. 🙂 🙃

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Only because I'm pretty sure I originally added that. 😉

Copy link
Contributor

@g11tech g11tech left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Member

@holgerd77 holgerd77 left a comment

Choose a reason for hiding this comment

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

LGTM

@holgerd77 holgerd77 merged commit 6949e89 into master Feb 28, 2023
@holgerd77 holgerd77 deleted the rlpx-only-please branch February 28, 2023 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants