-
Notifications
You must be signed in to change notification settings - Fork 721
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 handshake for connection checking when starting cardano-testnet
#5536
Use handshake for connection checking when starting cardano-testnet
#5536
Conversation
64c2da2
to
77ad7f8
Compare
77ad7f8
to
5709c8e
Compare
@carbolymer> please ping me for review when it's ready, I know the |
da6a4c6
to
642858d
Compare
cabal.project
Outdated
@@ -60,3 +60,10 @@ package plutus-scripts-bench | |||
-- temporary! Please read the section in CONTRIBUTING about updating dependencies. | |||
|
|||
-- `smtp-mail` should depend on `crypton-connection` rather than `connection`! | |||
|
|||
source-repository-package |
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.
This PR requires new cardano-ping release with: https://github.com/input-output-hk/ouroboros-network/pull/4743/files
9958beb
to
0f58174
Compare
cardano-testnet/src/Testnet/Ping.hs
Outdated
doHandshakeQuery = True | ||
|
||
-- | Ping the node once | ||
pingNode :: TestnetMagic -- ^ testnet magic |
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.
This is a gutted-out pingClient
from cardano-ping. One alternative to this would be to refactor cardano-ping
to not print directly to stdout and use it here.
0f58174
to
3be7df4
Compare
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.
Looking good but a couple minor changes.
bce7d17
to
eae1d08
Compare
dc2de5e
to
0d2d6d7
Compare
38db71f
to
f5ff4ab
Compare
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.
Nice work 👍
c4768e9
to
2c9e515
Compare
e432901
to
b060b38
Compare
b060b38
to
f714852
Compare
f714852
to
15d9992
Compare
Description
This PR changes how
cardano-testnet
executable checks for node start:NodeToClientVersion
configuration fromcardano-ping
.This PR depends on:
To be merged after new cardano-ping release and without SRP.
Checklist
See Runnings tests for more details
CHANGELOG.md
for affected package.cabal
files are updatedhlint
. See.github/workflows/check-hlint.yml
to get thehlint
versionstylish-haskell
. See.github/workflows/stylish-haskell.yml
to get thestylish-haskell
versionghc-8.10.7
andghc-9.2.7
Note on CI
If your PR is from a fork, the necessary CI jobs won't trigger automatically for security reasons.
You will need to get someone with write privileges. Please contact IOG node developers to do this
for you.