-
Notifications
You must be signed in to change notification settings - Fork 727
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
cardano-testnet: add single entrypoint for starting testnets #4544
Conversation
337539f
to
653756a
Compare
2c4966b
to
4f603c2
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. A few comments
7d175cd
to
7afa61a
Compare
This PR is a first step towards |
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.
Couple minor changes. Happy to approve after.
@@ -29,6 +30,6 @@ hprop_chairman = H.integration . H.runFinallies . H.workspace "chairman" $ \temp | |||
configurationTemplate <- H.noteShow $ base </> "configuration/defaults/byron-mainnet/configuration.yaml" | |||
conf <- H.mkConf (H.ProjectBase base) (H.YamlFilePath configurationTemplate) tempAbsPath' Nothing | |||
|
|||
allNodes <- fmap H.nodeName . H.allNodes <$> H.testnet H.defaultTestnetOptions conf | |||
allNodes <- fmap H.nodeName . H.allNodes <$> H.cardanoTestnet H.defaultTestnetOptions conf |
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.
We want to call testnet
here.
import Data.Aeson (FromJSON) | ||
import Data.Either (Either (..)) |
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.
👍
cardano-testnet/src/Testnet/Utils.hs
Outdated
@@ -26,7 +26,6 @@ import Hedgehog.Extras.Test.Process (ExecConfig) | |||
import Hedgehog.Internal.Property (MonadTest) | |||
import qualified Test.Process as H | |||
|
|||
|
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.
Please undo this diff. It just adds noise to the PR.
fd2e3f4
to
cb9f070
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 👍 . Just squash the commits. I think bors is down so devops will need to sort that out.
cb9f070
to
ce8f70a
Compare
bors r+ |
Build failed: |
…nd Cardano testnets
ce8f70a
to
d7e8b73
Compare
bors r+ |
Build succeeded: |
This PR adds a single entry point for starting Shelley, Babbage and Cardano testnets.