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

missing shell scripts and errors when following readme instructions #392

Open
nixinator opened this issue Nov 19, 2021 · 1 comment
Open

Comments

@nixinator
Copy link

nixinator commented Nov 19, 2021

cardano-ops/examples/shelley-testnet/README.md

says to run the shell script

create-shelley-genesis-and-keys

however, this does not exist in the repo, or at least in master, am i using the wrong branch?

however, there is

./scripts/create-genesis-and-keys.sh

however this fails with

`Generating new genesis and keys using following environments variables:

NB_BFT_NODES=1 (number of bft core nodes)
NB_POOL_NODES=3 (number of staking pool nodes)
K=2160 (Security parameter)
F=0.050000 (Active slots coefficient)
MAX_SUPPLY=45000000000000000 (Max Lovelace supply)
SLOT_LENGTH=1
NETWORK_MAGIC=764824073
DELAY=30 (delay in minutes before genesis systemStart)
DPARAM=0.25 (decentralization parameter)
DOMAIN=cardano-ops.dev.cardano.org
RELAYS=relays.cardano-ops.dev.cardano.org

sed: can't read genesis.spec.json: No such file or directory
`

  • sed -Ei 's/^([[:blank:]]"updateQuorum":)([[:blank:]][^,]*,)$/\1 1,/' genesis.spec.json
    sed: can't read genesis.spec.json: No such file or directory

my

GENESIS_PATH=/root/cardano-ops/keys/genesis.json

and the script copies it from there to cardano-ops/scripts/genesis.spec.json

copy genesis.spec.json to caradano-ops/keys doesn't seem to work either.

Command failed: genesis create-staked Error: Error while decoding Shelley genesis at: "./genesis.spec.json" Error: "Error in $: key \"systemStart\" not found"

am i missing something here? or is the repo out of date, where the code has moved on, but the documentation is lagging behind.

i'm going to try the manual method here next. and see what joy i get.

https://github.com/input-output-hk/cardano-node/blob/62485960494d914f8efd06ed0d8357d41a8f9d26/doc/reference/shelley-genesis.md

@nixinator
Copy link
Author

Sometimes i think i'm on the IOHK mothership traveling to the nearest Habitable planet.

i've been woken from hyper sleep early, none of the crew or passengers are around as they are all still in cryo sleep. Current time to destination is 90 years.

https://en.wikipedia.org/wiki/Passengers_(2016_film)

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

No branches or pull requests

1 participant