Skip to content

Commit bcb4082

Browse files
committed
Fix byron-to-alonzo/mkfiles.sh script for conway
1 parent 590a01f commit bcb4082

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"genDelegs": {}
3+
}

scripts/byron-to-alonzo/mkfiles.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ $SED -i ${ROOT}/configuration.yaml \
100100
-e 's|GenesisFile: genesis.json|ByronGenesisFile: byron/genesis.json|' \
101101
-e '/ByronGenesisFile/ aShelleyGenesisFile: shelley/genesis.json' \
102102
-e '/ByronGenesisFile/ aAlonzoGenesisFile: shelley/genesis.alonzo.json' \
103+
-e '/ByronGenesisFile/ aConwayGenesisFile: shelley/genesis.conway.json' \
103104
-e 's/RequiresNoMagic/RequiresMagic/' \
104105
-e 's/LastKnownBlockVersion-Major: 0/LastKnownBlockVersion-Major: 1/' \
105106
-e 's/LastKnownBlockVersion-Minor: 2/LastKnownBlockVersion-Minor: 0/'
@@ -309,9 +310,10 @@ echo "====================================================================="
309310
# Set up our template
310311
mkdir shelley
311312

312-
# Copy the QA testnet alonzo genesis which is equivalent to the mainnet
313+
# Copy the QA testnet alonzo and conway genesis files which is equivalent to the mainnet
313314

314315
cp ../configuration/cardano/shelley_qa-alonzo-genesis.json shelley/genesis.alonzo.spec.json
316+
cp ../configuration/cardano/shelley_qa-conway-genesis.json shelley/genesis.conway.spec.json
315317

316318
cardano-cli genesis create --testnet-magic ${NETWORK_MAGIC} --genesis-dir shelley
317319

0 commit comments

Comments
 (0)