Skip to content

Commit b9978bd

Browse files
Update mkfiles.sh
Update mkfiles.sh The current setting on the mkfiles.sh produce a network with negative reserves; therefore as epochs advance the treasury grows negatively. With this change the network starts with positive Reserves of 7,399,988 ADA and a max supply of 10,000,000 ADA "stateBefore": { "esAccountState": { "treasury": 0, "reserves": 7399988000000 },
1 parent d8bb11b commit b9978bd

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)