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

Run cardano testnet in any era #2833

Merged
merged 1 commit into from
Jun 17, 2021
Merged

Run cardano testnet in any era #2833

merged 1 commit into from
Jun 17, 2021

Conversation

newhoggy
Copy link
Contributor

@newhoggy newhoggy commented Jun 16, 2021

Also upgrades chairman tests to Alonzo.

@newhoggy
Copy link
Contributor Author

newhoggy commented Jun 16, 2021

To run a cardano testnet in a specified era:

$ cd cardano-node-chairman
$ cabal run -- cardano-testnet cardano-alonzo --era Alonzo

@newhoggy
Copy link
Contributor Author

newhoggy commented Jun 16, 2021

Improved CLI help:

$ cabal run -- cardano-testnet
Up to date
Usage: cardano-testnet (COMMAND | COMMAND)

Available options:
  -h,--help                Show this help text

Testnets:
  byron
  cardano
  shelley

General:
  version
$ cabal run -- cardano-testnet cardano --help
Up to date
Usage: cardano-testnet cardano [--testnet-magic INT] [--num-bft-nodes COUNT]
                               [--num-pool-nodes COUNT] [--era ERA]
                               [--epoch-length MILLISECONDS]
                               [--slot-length SECONDS]
                               [--active-slots-coeff DOUBLE]

Available options:
  --testnet-magic INT      Testnet magic
  --num-bft-nodes COUNT    Number of BFT nodes (default: 2)
  --num-pool-nodes COUNT   Number of pool nodes (default: 1)
  --era ERA                Era to upgrade to.
                           [Byron,Shelley,Allegra,Mary,Alonzo] (default: Alonzo)
  --epoch-length MILLISECONDS
                           Epoch length (default: 1500)
  --slot-length SECONDS    Slot length (default: 0.2)
  --active-slots-coeff DOUBLE
                           Active slots co-efficient (default: 0.2)
  -h,--help                Show this help text

@newhoggy newhoggy force-pushed the run-in-any-era branch 2 times, most recently from f2a6a0e to d8c6e1c Compare June 16, 2021 07:18
@newhoggy
Copy link
Contributor Author

bors merge

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Jun 17, 2021

@iohk-bors iohk-bors bot merged commit bd95e90 into master Jun 17, 2021
@iohk-bors iohk-bors bot deleted the run-in-any-era branch June 17, 2021 04:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants