Skip to content

Commit 7b5e194

Browse files
authoredSep 6, 2023
Merge pull request #5461 from input-output-hk/mkfiles
Update mkfiles.sh
2 parents d8bb11b + b9978bd commit 7b5e194

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎scripts/babbage/mkfiles.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ CARDANO_CLI="${CARDANO_CLI:-cardano-cli}"
3535
NETWORK_MAGIC=42
3636
SECURITY_PARAM=10
3737
NUM_SPO_NODES=3
38-
INIT_SUPPLY=10020000000
38+
INIT_SUPPLY=12000000
3939
START_TIME="$(${DATE} -d "now + 30 seconds" +%s)"
4040
ROOT=example
4141
mkdir -p "${ROOT}"
@@ -109,8 +109,8 @@ $SED -i "${ROOT}/configuration.yaml" \
109109
$CARDANO_CLI genesis create-staked --genesis-dir "${ROOT}" \
110110
--testnet-magic "${NETWORK_MAGIC}" \
111111
--gen-pools 3 \
112-
--supply 1000000000000 \
113-
--supply-delegated 1000000000000 \
112+
--supply 2000000000000 \
113+
--supply-delegated 240000000002 \
114114
--gen-stake-delegs 3 \
115115
--gen-utxo-keys 3
116116

@@ -141,7 +141,7 @@ rm "${ROOT}/genesis/byron/genesis-wrong.json"
141141

142142
cp "${ROOT}/genesis/shelley/genesis.json" "${ROOT}/genesis/shelley/copy-genesis.json"
143143

144-
jq -M '. + {slotLength:0.1, securityParam:10, activeSlotsCoeff:0.1, securityParam:10, epochLength:500, maxLovelaceSupply:1000000000000, updateQuorum:2}' "${ROOT}/genesis/shelley/copy-genesis.json" > "${ROOT}/genesis/shelley/copy2-genesis.json"
144+
jq -M '. + {slotLength:0.1, securityParam:10, activeSlotsCoeff:0.1, securityParam:10, epochLength:500, maxLovelaceSupply:10000000000000, updateQuorum:2}' "${ROOT}/genesis/shelley/copy-genesis.json" > "${ROOT}/genesis/shelley/copy2-genesis.json"
145145
jq --raw-output '.protocolParams.protocolVersion.major = 7 | .protocolParams.minFeeA = 44 | .protocolParams.minFeeB = 155381 | .protocolParams.minUTxOValue = 1000000 | .protocolParams.decentralisationParam = 0.7 | .protocolParams.rho = 0.1 | .protocolParams.tau = 0.1' "${ROOT}/genesis/shelley/copy2-genesis.json" > "${ROOT}/genesis/shelley/genesis.json"
146146

147147
rm "${ROOT}/genesis/shelley/copy2-genesis.json"

0 commit comments

Comments
 (0)
Please sign in to comment.