From d68f8a2df064bf558b67d23a77c02c7cc9c41145 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Giraudeau Date: Mon, 11 Oct 2021 16:53:31 +0200 Subject: [PATCH] Decommission obsolete testnets: alonzo-{qa,blue,white} --- cardano-lib/alonzo-blue-config.nix | 52 ----- cardano-lib/alonzo-blue/alonzo-genesis.json | 18 -- cardano-lib/alonzo-blue/byron-genesis.json | 40 ---- cardano-lib/alonzo-blue/shelley-genesis.json | 44 ---- cardano-lib/alonzo-qa-config.nix | 53 ----- cardano-lib/alonzo-qa/alonzo-genesis.json | 196 ------------------ cardano-lib/alonzo-qa/byron-genesis.json | 40 ---- cardano-lib/alonzo-qa/shelley-genesis.json | 108 ---------- cardano-lib/alonzo-white-config.nix | 52 ----- cardano-lib/alonzo-white/alonzo-genesis.json | 118 ----------- cardano-lib/alonzo-white/byron-genesis.json | 40 ---- cardano-lib/alonzo-white/shelley-genesis.json | 44 ---- cardano-lib/default.nix | 39 ---- release.nix | 2 +- 14 files changed, 1 insertion(+), 845 deletions(-) delete mode 100644 cardano-lib/alonzo-blue-config.nix delete mode 100644 cardano-lib/alonzo-blue/alonzo-genesis.json delete mode 100644 cardano-lib/alonzo-blue/byron-genesis.json delete mode 100644 cardano-lib/alonzo-blue/shelley-genesis.json delete mode 100644 cardano-lib/alonzo-qa-config.nix delete mode 100644 cardano-lib/alonzo-qa/alonzo-genesis.json delete mode 100644 cardano-lib/alonzo-qa/byron-genesis.json delete mode 100644 cardano-lib/alonzo-qa/shelley-genesis.json delete mode 100644 cardano-lib/alonzo-white-config.nix delete mode 100644 cardano-lib/alonzo-white/alonzo-genesis.json delete mode 100644 cardano-lib/alonzo-white/byron-genesis.json delete mode 100644 cardano-lib/alonzo-white/shelley-genesis.json diff --git a/cardano-lib/alonzo-blue-config.nix b/cardano-lib/alonzo-blue-config.nix deleted file mode 100644 index fb664892..00000000 --- a/cardano-lib/alonzo-blue-config.nix +++ /dev/null @@ -1,52 +0,0 @@ -########################################################## -############### Alonzo Blue Testnet ############### -############### Cardano Node Configuration ############### -########################################################## - -{ - ##### Locations ##### - - ByronGenesisFile = ./alonzo-blue + "/byron-genesis.json"; - ByronGenesisHash = "954fd1fc35329395ae5ec031d5bd4621d6293d82b922a88132ec1d20c0d648f9"; - ShelleyGenesisFile = ./alonzo-blue + "/shelley-genesis.json"; - ShelleyGenesisHash = "60ba98183b381c933acaa298a815e090bdb86726fd19562e12f6ed6aa78caef2"; - AlonzoGenesisFile = ./alonzo-blue + "/alonzo-genesis.json"; - AlonzoGenesisHash = "06cc024b823b6d20f5dde2faf8de2d895f47983ab584db38ea62111b61038e35"; - - ##### Core protocol parameters ##### - - # This is the instance of the Ouroboros family that we are running. - # The node also supports various test and mock instances. - # "RealPBFT" is the real (ie not mock) (permissive) OBFT protocol, which - # is what we use on mainnet in Byron era. - Protocol = "Cardano"; - - PBftSignatureThreshold = 1.1; - # The mainnet does not include the network magic into addresses. Testnets do. - RequiresNetworkMagic = "RequiresMagic"; - - TestShelleyHardForkAtEpoch = 1; - TestAllegraHardForkAtEpoch = 2; - TestMaryHardForkAtEpoch = 3; - - TestEnableDevelopmentHardForkEras = true; - TestEnableDevelopmentNetworkProtocols = true; - - MaxKnownMajorProtocolVersion = 2; - #### LOGGING Debug - - minSeverity = "Debug"; - - ##### Update system parameters ##### - - # This protocol version number gets used by block producing nodes as part - # part of the system for agreeing on and synchronising protocol updates. - LastKnownBlockVersion-Major = 5; - LastKnownBlockVersion-Minor = 1; - LastKnownBlockVersion-Alt = 0; - - # In the Byron era some software versions are also published on the chain. - # We do this only for Byron compatibility now. - ApplicationName = "cardano-sl"; - ApplicationVersion = 0; -} diff --git a/cardano-lib/alonzo-blue/alonzo-genesis.json b/cardano-lib/alonzo-blue/alonzo-genesis.json deleted file mode 100644 index 1b53c1a4..00000000 --- a/cardano-lib/alonzo-blue/alonzo-genesis.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "adaPerUTxOWord": 0, - "executionPrices": { - "prMem": 1, - "prSteps": 1 - }, - "maxTxExUnits": { - "exUnitsMem": 1, - "exUnitsSteps": 1 - }, - "maxBlockExUnits": { - "exUnitsMem": 1, - "exUnitsSteps": 1 - }, - "maxValueSize": 1000, - "collateralPercentage": 100, - "maxCollateralInputs": 1 -} diff --git a/cardano-lib/alonzo-blue/byron-genesis.json b/cardano-lib/alonzo-blue/byron-genesis.json deleted file mode 100644 index b42f7f39..00000000 --- a/cardano-lib/alonzo-blue/byron-genesis.json +++ /dev/null @@ -1,40 +0,0 @@ -{ "bootStakeholders": - { "365bb8bd4e290ee63acaaf654ffd4bdbe7da44df66bad74c0882cc3c": 1 } -, "heavyDelegation": - { "365bb8bd4e290ee63acaaf654ffd4bdbe7da44df66bad74c0882cc3c": - { "omega": 0 - , "issuerPk": - "IiWEb+RFNq8LgTCGGfJlugw7ncCijWBrpzpdtS0vHdaGzntBOi38F6EYSTmJrJjrvP1OVAl82GzDVs3GL41wAA==" - , "delegatePk": - "erEk627VnLhasLip7j2bhedVNdNQgNoiLtTATcrKiWaw9QCQ5/wWAmksAslFyektdgqGBVBFokTW2pFf1k/TXg==" - , "cert": - "5774bcc39ddb934f795c5af45295637ea2094933ad6d2a01f1666ab53e19559870b9350ad65d696187590b2fb0c4a9c799f3567f7f2ed286e20efa26bf49f30e" - } } -, "startTime": 1622144827 -, "nonAvvmBalances": - { "FHnt4NL7yPXoB12EkAkrSy3Ai1uADTPYH4opZfSXdQgyMjZNKLcf5rHKgf6PF2s": - "30000015000000000" } -, "blockVersionData": - { "scriptVersion": 0 - , "slotDuration": "20000" - , "maxBlockSize": "2000000" - , "maxHeaderSize": "2000000" - , "maxTxSize": "4096" - , "maxProposalSize": "700" - , "mpcThd": "20000000000000" - , "heavyDelThd": "300000000000" - , "updateVoteThd": "1000000000000" - , "updateProposalThd": "100000000000000" - , "updateImplicit": "10000" - , "softforkRule": - { "initThd": "900000000000000" - , "minThd": "600000000000000" - , "thdDecrement": "50000000000000" - } - , "txFeePolicy": - { "summand": "155381000000000" , "multiplier": "43946000000" } - , "unlockStakeEpoch": "18446744073709551615" - } -, "protocolConsts": { "k": 36 , "protocolMagic": 5 } -, "avvmDistr": {} -} \ No newline at end of file diff --git a/cardano-lib/alonzo-blue/shelley-genesis.json b/cardano-lib/alonzo-blue/shelley-genesis.json deleted file mode 100644 index 6ed791b3..00000000 --- a/cardano-lib/alonzo-blue/shelley-genesis.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "maxLovelaceSupply": 45000000000000000, - "securityParam": 36, - "slotsPerKESPeriod": 129600, - "updateQuorum": 1, - "activeSlotsCoeff": 5.0e-2, - "protocolParams": { - "minUTxOValue": 1000000, - "eMax": 18, - "extraEntropy": { - "tag": "NeutralNonce" - }, - "minFeeB": 155381, - "tau": 0.2, - "maxBlockBodySize": 65536, - "maxTxSize": 16384, - "minPoolCost": 340000000, - "minFeeA": 44, - "nOpt": 150, - "maxBlockHeaderSize": 1100, - "keyDeposit": 2000000, - "poolDeposit": 500000000, - "protocolVersion": { - "minor": 0, - "major": 2 - }, - "a0": 0.3, - "rho": 3.0e-3, - "decentralisationParam": 0.25 - }, - "networkMagic": 5, - "initialFunds": {}, - "networkId": "Testnet", - "maxKESEvolutions": 62, - "genDelegs": { - "d7d937e6cfc22f4bfa3ecf3fb64f112360d7fbd32d6aa137a7d695b2": { - "delegate": "3558c284729b24b1714555bd9688461d147b5975da1143ba2e80bc62", - "vrf": "91d2f8efb579ea8314469a90a2c55f9230f2e403b0920a1915004641be8e6fcb" - } - }, - "slotLength": 1, - "systemStart": "2021-05-27T19:47:07Z", - "epochLength": 7200 -} diff --git a/cardano-lib/alonzo-qa-config.nix b/cardano-lib/alonzo-qa-config.nix deleted file mode 100644 index 3299c85b..00000000 --- a/cardano-lib/alonzo-qa-config.nix +++ /dev/null @@ -1,53 +0,0 @@ -########################################################## -############### Alonzo Blue Testnet ############### -############### Cardano Node Configuration ############### -########################################################## - -{ - ##### Locations ##### - - ByronGenesisFile = ./alonzo-qa + "/byron-genesis.json"; - ByronGenesisHash = "b8463f6ff3f703e70240956e6d860f89682b13752af32b36b76a3272adb3ddb0"; - ShelleyGenesisFile = ./alonzo-qa + "/shelley-genesis.json"; - ShelleyGenesisHash = "28933eae65bda7d11c793c5e17fc0d3b83b2b4272ec6c63bd052b4660c97d08a"; - AlonzoGenesisFile = ./alonzo-qa + "/alonzo-genesis.json"; - AlonzoGenesisHash = "7e94a15f55d1e82d10f09203fa1d40f8eede58fd8066542cf6566008068ed874"; - - ##### Core protocol parameters ##### - - # This is the instance of the Ouroboros family that we are running. - # The node also supports various test and mock instances. - # "RealPBFT" is the real (ie not mock) (permissive) OBFT protocol, which - # is what we use on mainnet in Byron era. - Protocol = "Cardano"; - - PBftSignatureThreshold = 1.1; - # The mainnet does not include the network magic into addresses. Testnets do. - RequiresNetworkMagic = "RequiresMagic"; - - TestShelleyHardForkAtEpoch = 0; - TestAllegraHardForkAtEpoch = 0; - TestMaryHardForkAtEpoch = 0; - TestAlonzoHardForkAtEpoch = 0; - - TestEnableDevelopmentHardForkEras = false; - TestEnableDevelopmentNetworkProtocols = false; - - MaxKnownMajorProtocolVersion = 5; - #### LOGGING Debug - - minSeverity = "Debug"; - - ##### Update system parameters ##### - - # This protocol version number gets used by block producing nodes as part - # part of the system for agreeing on and synchronising protocol updates. - LastKnownBlockVersion-Major = 5; - LastKnownBlockVersion-Minor = 1; - LastKnownBlockVersion-Alt = 0; - - # In the Byron era some software versions are also published on the chain. - # We do this only for Byron compatibility now. - ApplicationName = "cardano-sl"; - ApplicationVersion = 0; -} diff --git a/cardano-lib/alonzo-qa/alonzo-genesis.json b/cardano-lib/alonzo-qa/alonzo-genesis.json deleted file mode 100644 index 0fd90dee..00000000 --- a/cardano-lib/alonzo-qa/alonzo-genesis.json +++ /dev/null @@ -1,196 +0,0 @@ -{ - "lovelacePerUTxOWord": 34482, - "executionPrices": { - "prSteps": - { - "numerator" : 721, - "denominator" : 10000000 - }, - "prMem": - { - "numerator" : 577, - "denominator" : 10000 - } - }, - "maxTxExUnits": { - "exUnitsMem": 10000000, - "exUnitsSteps": 10000000000 - }, - "maxBlockExUnits": { - "exUnitsMem": 50000000, - "exUnitsSteps": 40000000000 - }, - "maxValueSize": 5000, - "collateralPercentage": 150, - "maxCollateralInputs": 3, - "costModels": { - "PlutusV1": { - "sha2_256-memory-arguments": 4, - "equalsString-cpu-arguments-constant": 1000, - "cekDelayCost-exBudgetMemory": 100, - "lessThanEqualsByteString-cpu-arguments-intercept": 103599, - "divideInteger-memory-arguments-minimum": 1, - "appendByteString-cpu-arguments-slope": 621, - "blake2b-cpu-arguments-slope": 29175, - "iData-cpu-arguments": 150000, - "encodeUtf8-cpu-arguments-slope": 1000, - "unBData-cpu-arguments": 150000, - "multiplyInteger-cpu-arguments-intercept": 61516, - "cekConstCost-exBudgetMemory": 100, - "nullList-cpu-arguments": 150000, - "equalsString-cpu-arguments-intercept": 150000, - "trace-cpu-arguments": 150000, - "mkNilData-memory-arguments": 32, - "lengthOfByteString-cpu-arguments": 150000, - "cekBuiltinCost-exBudgetCPU": 29773, - "bData-cpu-arguments": 150000, - "subtractInteger-cpu-arguments-slope": 0, - "unIData-cpu-arguments": 150000, - "consByteString-memory-arguments-intercept": 0, - "divideInteger-memory-arguments-slope": 1, - "divideInteger-cpu-arguments-model-arguments-slope": 118, - "listData-cpu-arguments": 150000, - "headList-cpu-arguments": 150000, - "chooseData-memory-arguments": 32, - "equalsInteger-cpu-arguments-intercept": 136542, - "sha3_256-cpu-arguments-slope": 82363, - "sliceByteString-cpu-arguments-slope": 5000, - "unMapData-cpu-arguments": 150000, - "lessThanInteger-cpu-arguments-intercept": 179690, - "mkCons-cpu-arguments": 150000, - "appendString-memory-arguments-intercept": 0, - "modInteger-cpu-arguments-model-arguments-slope": 118, - "ifThenElse-cpu-arguments": 1, - "mkNilPairData-cpu-arguments": 150000, - "lessThanEqualsInteger-cpu-arguments-intercept": 145276, - "addInteger-memory-arguments-slope": 1, - "chooseList-memory-arguments": 32, - "constrData-memory-arguments": 32, - "decodeUtf8-cpu-arguments-intercept": 150000, - "equalsData-memory-arguments": 1, - "subtractInteger-memory-arguments-slope": 1, - "appendByteString-memory-arguments-intercept": 0, - "lengthOfByteString-memory-arguments": 4, - "headList-memory-arguments": 32, - "listData-memory-arguments": 32, - "consByteString-cpu-arguments-intercept": 150000, - "unIData-memory-arguments": 32, - "remainderInteger-memory-arguments-minimum": 1, - "bData-memory-arguments": 32, - "lessThanByteString-cpu-arguments-slope": 248, - "encodeUtf8-memory-arguments-intercept": 0, - "cekStartupCost-exBudgetCPU": 100, - "multiplyInteger-memory-arguments-intercept": 0, - "unListData-memory-arguments": 32, - "remainderInteger-cpu-arguments-model-arguments-slope": 118, - "cekVarCost-exBudgetCPU": 29773, - "remainderInteger-memory-arguments-slope": 1, - "cekForceCost-exBudgetCPU": 29773, - "sha2_256-cpu-arguments-slope": 29175, - "equalsInteger-memory-arguments": 1, - "indexByteString-memory-arguments": 1, - "addInteger-memory-arguments-intercept": 1, - "chooseUnit-cpu-arguments": 150000, - "sndPair-cpu-arguments": 150000, - "cekLamCost-exBudgetCPU": 29773, - "fstPair-cpu-arguments": 150000, - "quotientInteger-memory-arguments-minimum": 1, - "decodeUtf8-cpu-arguments-slope": 1000, - "lessThanInteger-memory-arguments": 1, - "lessThanEqualsInteger-cpu-arguments-slope": 1366, - "fstPair-memory-arguments": 32, - "modInteger-memory-arguments-intercept": 0, - "unConstrData-cpu-arguments": 150000, - "lessThanEqualsInteger-memory-arguments": 1, - "chooseUnit-memory-arguments": 32, - "sndPair-memory-arguments": 32, - "addInteger-cpu-arguments-intercept": 197209, - "decodeUtf8-memory-arguments-slope": 8, - "equalsData-cpu-arguments-intercept": 150000, - "mapData-cpu-arguments": 150000, - "mkPairData-cpu-arguments": 150000, - "quotientInteger-cpu-arguments-constant": 148000, - "consByteString-memory-arguments-slope": 1, - "cekVarCost-exBudgetMemory": 100, - "indexByteString-cpu-arguments": 150000, - "unListData-cpu-arguments": 150000, - "equalsInteger-cpu-arguments-slope": 1326, - "cekStartupCost-exBudgetMemory": 100, - "subtractInteger-cpu-arguments-intercept": 197209, - "divideInteger-cpu-arguments-model-arguments-intercept": 425507, - "divideInteger-memory-arguments-intercept": 0, - "cekForceCost-exBudgetMemory": 100, - "blake2b-cpu-arguments-intercept": 2477736, - "remainderInteger-cpu-arguments-constant": 148000, - "tailList-cpu-arguments": 150000, - "encodeUtf8-cpu-arguments-intercept": 150000, - "equalsString-cpu-arguments-slope": 1000, - "lessThanByteString-memory-arguments": 1, - "multiplyInteger-cpu-arguments-slope": 11218, - "appendByteString-cpu-arguments-intercept": 396231, - "lessThanEqualsByteString-cpu-arguments-slope": 248, - "modInteger-memory-arguments-slope": 1, - "addInteger-cpu-arguments-slope": 0, - "equalsData-cpu-arguments-slope": 10000, - "decodeUtf8-memory-arguments-intercept": 0, - "chooseList-cpu-arguments": 150000, - "constrData-cpu-arguments": 150000, - "equalsByteString-memory-arguments": 1, - "cekApplyCost-exBudgetCPU": 29773, - "quotientInteger-memory-arguments-slope": 1, - "verifySignature-cpu-arguments-intercept": 3345831, - "unMapData-memory-arguments": 32, - "mkCons-memory-arguments": 32, - "sliceByteString-memory-arguments-slope": 1, - "sha3_256-memory-arguments": 4, - "ifThenElse-memory-arguments": 1, - "mkNilPairData-memory-arguments": 32, - "equalsByteString-cpu-arguments-slope": 247, - "appendString-cpu-arguments-intercept": 150000, - "quotientInteger-cpu-arguments-model-arguments-slope": 118, - "cekApplyCost-exBudgetMemory": 100, - "equalsString-memory-arguments": 1, - "multiplyInteger-memory-arguments-slope": 1, - "cekBuiltinCost-exBudgetMemory": 100, - "remainderInteger-memory-arguments-intercept": 0, - "sha2_256-cpu-arguments-intercept": 2477736, - "remainderInteger-cpu-arguments-model-arguments-intercept": 425507, - "lessThanEqualsByteString-memory-arguments": 1, - "tailList-memory-arguments": 32, - "mkNilData-cpu-arguments": 150000, - "chooseData-cpu-arguments": 150000, - "unBData-memory-arguments": 32, - "blake2b-memory-arguments": 4, - "iData-memory-arguments": 32, - "nullList-memory-arguments": 32, - "cekDelayCost-exBudgetCPU": 29773, - "subtractInteger-memory-arguments-intercept": 1, - "lessThanByteString-cpu-arguments-intercept": 103599, - "consByteString-cpu-arguments-slope": 1000, - "appendByteString-memory-arguments-slope": 1, - "trace-memory-arguments": 32, - "divideInteger-cpu-arguments-constant": 148000, - "cekConstCost-exBudgetCPU": 29773, - "encodeUtf8-memory-arguments-slope": 8, - "quotientInteger-cpu-arguments-model-arguments-intercept": 425507, - "mapData-memory-arguments": 32, - "appendString-cpu-arguments-slope": 1000, - "modInteger-cpu-arguments-constant": 148000, - "verifySignature-cpu-arguments-slope": 1, - "unConstrData-memory-arguments": 32, - "quotientInteger-memory-arguments-intercept": 0, - "equalsByteString-cpu-arguments-constant": 150000, - "sliceByteString-memory-arguments-intercept": 0, - "mkPairData-memory-arguments": 32, - "equalsByteString-cpu-arguments-intercept": 112536, - "appendString-memory-arguments-slope": 1, - "lessThanInteger-cpu-arguments-slope": 497, - "modInteger-cpu-arguments-model-arguments-intercept": 425507, - "modInteger-memory-arguments-minimum": 1, - "sha3_256-cpu-arguments-intercept": 0, - "verifySignature-memory-arguments": 1, - "cekLamCost-exBudgetMemory": 100, - "sliceByteString-cpu-arguments-intercept": 150000 - } - } -} diff --git a/cardano-lib/alonzo-qa/byron-genesis.json b/cardano-lib/alonzo-qa/byron-genesis.json deleted file mode 100644 index 63712b5d..00000000 --- a/cardano-lib/alonzo-qa/byron-genesis.json +++ /dev/null @@ -1,40 +0,0 @@ -{ "bootStakeholders": - { "cbadec3ac44ad528e159b6bf68bcc61ba958bd14f3cba5047b6ef9c4": 1 } -, "heavyDelegation": - { "cbadec3ac44ad528e159b6bf68bcc61ba958bd14f3cba5047b6ef9c4": - { "omega": 0 - , "issuerPk": - "xw4yse4+FeSVT5AnQ23P789ciM4T6dPWXWPsiHk1D+MOXlO5jkiTbBZpJBr3eSXAASGKX/lY3R94k5//XQLenw==" - , "delegatePk": - "ozfi6phYOfZc4+H48tFto7YXFfZprr0eMpY7l6vtM7Zzua5tHTk2oxlFKMUVSXa64RLu/mkAwgRAFWgzTZ6tYQ==" - , "cert": - "feb12729f76192e89dcf15bf4e5f21c8822e1a995f80f1840f24e1e2e40766a9de6fb5cbf189e5ce0e073ade061910861f06216c1ce346e5a50f5ede8dc31508" - } } -, "startTime": 1629462900 -, "nonAvvmBalances": - { "FHnt4NL7yPXr57Myrrk8JnEiH2gyQ7J866dVeagZv61FCC9aCXAjTGFnzgYswqv": - "30000015000000000" } -, "blockVersionData": - { "scriptVersion": 0 - , "slotDuration": "20000" - , "maxBlockSize": "2000000" - , "maxHeaderSize": "2000000" - , "maxTxSize": "4096" - , "maxProposalSize": "700" - , "mpcThd": "20000000000000" - , "heavyDelThd": "300000000000" - , "updateVoteThd": "1000000000000" - , "updateProposalThd": "100000000000000" - , "updateImplicit": "10000" - , "softforkRule": - { "initThd": "900000000000000" - , "minThd": "600000000000000" - , "thdDecrement": "50000000000000" - } - , "txFeePolicy": - { "summand": "155381000000000" , "multiplier": "43946000000" } - , "unlockStakeEpoch": "18446744073709551615" - } -, "protocolConsts": { "k": 36 , "protocolMagic": 6 } -, "avvmDistr": {} -} diff --git a/cardano-lib/alonzo-qa/shelley-genesis.json b/cardano-lib/alonzo-qa/shelley-genesis.json deleted file mode 100644 index 8a413dff..00000000 --- a/cardano-lib/alonzo-qa/shelley-genesis.json +++ /dev/null @@ -1,108 +0,0 @@ -{ - "maxLovelaceSupply": 45000000000000000, - "securityParam": 36, - "slotsPerKESPeriod": 129600, - "updateQuorum": 1, - "activeSlotsCoeff": 5.0e-2, - "protocolParams": { - "minUTxOValue": 1000000, - "eMax": 18, - "extraEntropy": { - "tag": "NeutralNonce" - }, - "minFeeB": 155381, - "tau": 0.2, - "maxBlockBodySize": 65536, - "maxTxSize": 16384, - "minPoolCost": 340000000, - "minFeeA": 44, - "nOpt": 150, - "maxBlockHeaderSize": 1100, - "keyDeposit": 2000000, - "poolDeposit": 500000000, - "protocolVersion": { - "minor": 0, - "major": 2 - }, - "a0": 0.3, - "rho": 3.0e-3, - "decentralisationParam": 0.25 - }, - "networkMagic": 6, - "initialFunds": { - "600e17e480de31b328dcac1869bb578206883a6ca2be7f928f406871d9": 9910000000000000, - "60a02a1139644756ee8538b6472776d5523c107a2493e49de2807b8805": 9910000000000000, - "0004048606fd874a3b81e7a3980c7401e8d1d3f07aee4c7bed5a80c583f165e0e4f426085615f466cb373359b7cf4ac6502ac4c0c4cdd1e425": 90000000000000, - "00dc12a087b10e6360a4b7a9871f72ba38049e377ad74c10b9143ad91c8fe068d4f20af463fcc6709ea429fc2082451066117992b6185a3aaf": 90000000000000, - "00f331cff1b5a8f912b09fb8c91772f155706232ecab48e167436bb11ac375d8c1afcbb622f0d5dbb546b7b052c7db96036dfcad3a7ea481be": 90000000000000, - "609b76ccff930831539b1f829158054ace557fb43d6af3fc16f5371617": 9910000000000000 - }, - "networkId": "Testnet", - "maxKESEvolutions": 62, - "genDelegs": { - "2414c612dcacf4785346cceb153daf0681e5a0c5a537e1c4727e559b": { - "delegate": "6fb71f93af4210c460792292599d116b830373587e9309a074b32a30", - "vrf": "c07fd00d7e2d4676f0fbd68cdd8b2ad590955ee49aca7a0cbcc81bb895d764fc" - } - }, - "slotLength": 1, - "systemStart": "2021-08-20T12:35:00Z", - "epochLength": 7200, - "staking": { - "pools": { - "02850f1a0223147d58ea4c05d11dcfe12d24a9360359027a7d06b475": { - "publicKey": "02850f1a0223147d58ea4c05d11dcfe12d24a9360359027a7d06b475", - "cost": 0, - "metadata": null, - "owners": [], - "vrf": "09035749febe8d0fdd069bc352e0ac485dd73ac5b9f4b52b2694e32c8723dc92", - "pledge": 0, - "margin": 0.0, - "rewardAccount": { - "network": "Testnet", - "credential": { - "key hash": "6be56d425fac289b44f4737e27d6ae8824fa2bc1ccd8e4812f377343" - } - }, - "relays": [] - }, - "08cf05ba36c85610424e497b770d8eee2691fbbdd2ea6053b81165b7": { - "publicKey": "08cf05ba36c85610424e497b770d8eee2691fbbdd2ea6053b81165b7", - "cost": 0, - "metadata": null, - "owners": [], - "vrf": "8d35943f4b893cd2ba54f935ebb44f8896627646525afa76a9356b3c407df269", - "pledge": 0, - "margin": 0.0, - "rewardAccount": { - "network": "Testnet", - "credential": { - "key hash": "de977c4822550024022175d39e68f5c3f27be6a5a658710489b261fb" - } - }, - "relays": [] - }, - "6399311e2cf58124cf64ebf6bdfa6bfee8b454c62394234f53218e3b": { - "publicKey": "6399311e2cf58124cf64ebf6bdfa6bfee8b454c62394234f53218e3b", - "cost": 0, - "metadata": null, - "owners": [], - "vrf": "0189a4f96e9bb2196a38cd430ba932427c7a86794cdccb4099eef6b1beceb2ce", - "pledge": 0, - "margin": 0.0, - "rewardAccount": { - "network": "Testnet", - "credential": { - "key hash": "368f58378a8e4f7059cb6dacdea8179c9e241b492e09906aa58db796" - } - }, - "relays": [] - } - }, - "stake": { - "8fe068d4f20af463fcc6709ea429fc2082451066117992b6185a3aaf": "6399311e2cf58124cf64ebf6bdfa6bfee8b454c62394234f53218e3b", - "f165e0e4f426085615f466cb373359b7cf4ac6502ac4c0c4cdd1e425": "08cf05ba36c85610424e497b770d8eee2691fbbdd2ea6053b81165b7", - "c375d8c1afcbb622f0d5dbb546b7b052c7db96036dfcad3a7ea481be": "02850f1a0223147d58ea4c05d11dcfe12d24a9360359027a7d06b475" - } - } -} diff --git a/cardano-lib/alonzo-white-config.nix b/cardano-lib/alonzo-white-config.nix deleted file mode 100644 index 3bd1169f..00000000 --- a/cardano-lib/alonzo-white-config.nix +++ /dev/null @@ -1,52 +0,0 @@ -########################################################## -############### Alonzo White Testnet ############### -############### Cardano Node Configuration ############### -########################################################## - -{ - ##### Locations ##### - - ByronGenesisFile = ./alonzo-white + "/byron-genesis.json"; - ByronGenesisHash = "4ba13e5d77bb5e243f84f50fd851b4957b43ea93a6f7df5616d6bd25b8f11de0"; - ShelleyGenesisFile = ./alonzo-white + "/shelley-genesis.json"; - ShelleyGenesisHash = "b72001cddc21713dd63d899c1993a5b0728cd909eb261fff0e50d10f46340f1f"; - AlonzoGenesisFile = ./alonzo-white + "/alonzo-genesis.json"; - AlonzoGenesisHash = "c7cdcccbc6adec169f74784de720db8414665591d87498b513266d41680c587f"; - - ##### Core protocol parameters ##### - - # This is the instance of the Ouroboros family that we are running. - # The node also supports various test and mock instances. - # "RealPBFT" is the real (ie not mock) (permissive) OBFT protocol, which - # is what we use on mainnet in Byron era. - Protocol = "Cardano"; - - PBftSignatureThreshold = 1.1; - # The mainnet does not include the network magic into addresses. Testnets do. - RequiresNetworkMagic = "RequiresMagic"; - - TestShelleyHardForkAtEpoch = 1; - TestAllegraHardForkAtEpoch = 2; - TestMaryHardForkAtEpoch = 3; - - TestEnableDevelopmentHardForkEras = true; - TestEnableDevelopmentNetworkProtocols = true; - - MaxKnownMajorProtocolVersion = 4; - #### LOGGING Debug - - minSeverity = "Debug"; - - ##### Update system parameters ##### - - # This protocol version number gets used by block producing nodes as part - # part of the system for agreeing on and synchronising protocol updates. - LastKnownBlockVersion-Major = 5; - LastKnownBlockVersion-Minor = 1; - LastKnownBlockVersion-Alt = 0; - - # In the Byron era some software versions are also published on the chain. - # We do this only for Byron compatibility now. - ApplicationName = "cardano-sl"; - ApplicationVersion = 0; -} diff --git a/cardano-lib/alonzo-white/alonzo-genesis.json b/cardano-lib/alonzo-white/alonzo-genesis.json deleted file mode 100644 index c31513a3..00000000 --- a/cardano-lib/alonzo-white/alonzo-genesis.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "collateralPercentage": 1, - "maxBlockExUnits": { - "exUnitsMem": 500000000000, - "exUnitsSteps": 500000000000 - }, - "maxCollateralInputs": 5, - "maxValueSize": 5000, - "costModels": { - "\"PlutusV1\"": { - "cek_startup_cost-_ex_budget_cpu": 1000000, - "cek_force_cost-_ex_budget_cpu": 39000, - "cek_var_cost-_ex_budget_cpu": 39000, - "multiply_integer-memory-arguments-intercept": 0, - "remainder_integer-memory-arguments-intercept": 0, - "cek_builtin_cost-_ex_budget_memory": 10, - "remainder_integer-cpu-arguments-model_split_const_intercept": 330895, - "sha3-cpu-arguments-intercept": 1260296, - "subtract_integer-memory-arguments-slope": 1, - "cek_apply_cost-_ex_budget_memory": 10, - "gt_byte_string-cpu-arguments-intercept": 204537, - "less_than_eq_integer-cpu-arguments-slope": 699, - "concatenate-cpu-arguments-slope": 515, - "less_than_integer-cpu-arguments-intercept": 187278, - "quotient_integer-memory-arguments-slope": 1, - "greater_than_integer-cpu-arguments-slope": 980, - "if_then_else-cpu-arguments": 0, - "quotient_integer-cpu-arguments-model_split_const_slope": 427, - "lt_byte_string-cpu-arguments-slope": 227, - "mod_integer-cpu-arguments-model_split_const_slope": 427, - "eq_byte_string-cpu-arguments-intercept": 188562, - "eq_integer-cpu-arguments-slope": 867, - "multiply_integer-cpu-arguments-slope": 11464, - "cek_builtin_cost-_ex_budget_cpu": 39000, - "cek_startup_cost-_ex_budget_memory": 0, - "sha3-memory-arguments": 4, - "divide_integer-memory-arguments-intercept": 0, - "subtract_integer-cpu-arguments-intercept": 251934, - "cek_var_cost-_ex_budget_memory": 10, - "divide_integer-cpu-arguments-model_split_const_intercept": 330895, - "cek_force_cost-_ex_budget_memory": 10, - "less_than_integer-memory-arguments": 1, - "mod_integer-memory-arguments-minimum": 1, - "gt_byte_string-memory-arguments": 1, - "eq_byte_string-cpu-arguments-slope": 246, - "mod_integer-cpu-arguments-model_split_const_intercept": 330895, - "greater_than_eq_integer-cpu-arguments-slope": 699, - "add_integer-memory-arguments-intercept": 1, - "eq_byte_string-memory-arguments": 1, - "verify_signature-cpu-arguments": 5082989, - "take_byte_string-cpu-arguments": 3420288, - "remainder_integer-cpu-arguments-model_split_const_slope": 427, - "cek_const_cost-_ex_budget_cpu": 39000, - "sha3-cpu-arguments-slope": 81356, - "cek_delay_cost-_ex_budget_cpu": 39000, - "drop_byte_string-memory-arguments": 2, - "remainder_integer-memory-arguments-slope": 1, - "subtract_integer-memory-arguments-intercept": 1, - "eq_integer-memory-arguments": 1, - "multiply_integer-memory-arguments-slope": 1, - "add_integer-memory-arguments-slope": 1, - "sha2-memory-arguments": 4, - "greater_than_eq_integer-cpu-arguments-intercept": 216015, - "less_than_eq_integer-memory-arguments": 1, - "if_then_else-memory-arguments": 0, - "add_integer-cpu-arguments-slope": 1722, - "concatenate-memory-arguments-slope": 1, - "lt_byte_string-memory-arguments": 1, - "sha2-cpu-arguments-slope": 28904, - "mod_integer-memory-arguments-slope": 1, - "cek_apply_cost-_ex_budget_cpu": 39000, - "greater_than_integer-memory-arguments": 1, - "divide_integer-memory-arguments-slope": 1, - "subtract_integer-cpu-arguments-slope": 1194, - "divide_integer-cpu-arguments-model_split_const_slope": 427, - "eq_integer-cpu-arguments-intercept": 211716, - "cek_const_cost-_ex_budget_memory": 10, - "cek_delay_cost-_ex_budget_memory": 10, - "multiply_integer-cpu-arguments-intercept": 78642, - "drop_byte_string-cpu-arguments": 3418326, - "divide_integer-memory-arguments-minimum": 1, - "cek_lam_cost-_ex_budget_memory": 10, - "greater_than_eq_integer-memory-arguments": 1, - "take_byte_string-memory-arguments": 20, - "add_integer-cpu-arguments-intercept": 235735, - "sha2-cpu-arguments-intercept": 2267819, - "mod_integer-memory-arguments-intercept": 0, - "verify_signature-memory-arguments": 1, - "concatenate-memory-arguments-intercept": 0, - "less_than_integer-cpu-arguments-slope": 980, - "lt_byte_string-cpu-arguments-intercept": 204537, - "less_than_eq_integer-cpu-arguments-intercept": 216015, - "concatenate-cpu-arguments-intercept": 420084, - "cek_lam_cost-_ex_budget_cpu": 39000, - "quotient_integer-cpu-arguments-model_split_const_intercept": 330895, - "quotient_integer-memory-arguments-intercept": 0, - "greater_than_integer-cpu-arguments-intercept": 187278, - "gt_byte_string-cpu-arguments-slope": 227 - } - }, - "executionPrices": { - "prMem": { - "numerator": 1, - "denominator": 1 - }, - "prSteps": { - "numerator": 1, - "denominator": 1 - } - }, - "lovelacePerUTxOWord": 1, - "maxTxExUnits": { - "exUnitsMem": 500000000000, - "exUnitsSteps": 500000000000 - }, - "adaPerUTxOWord": 1, - "utxoCostPerWord": 1 -} diff --git a/cardano-lib/alonzo-white/byron-genesis.json b/cardano-lib/alonzo-white/byron-genesis.json deleted file mode 100644 index 2b6de913..00000000 --- a/cardano-lib/alonzo-white/byron-genesis.json +++ /dev/null @@ -1,40 +0,0 @@ -{ "bootStakeholders": - { "0423d65c8bd4d825e4faa2c506d0728c0c4d94b666e569cb5c6f6efd": 1 } -, "heavyDelegation": - { "0423d65c8bd4d825e4faa2c506d0728c0c4d94b666e569cb5c6f6efd": - { "omega": 0 - , "issuerPk": - "I0GJTPVMhAG6ZUtL20l06e/LUyP+ws/iPQBfHcTx2bkCjClRfQQalUaCCJ43GiH9kSAkWw7Gi419jY3PMNpKmQ==" - , "delegatePk": - "bQjmVcWbfuL4PcvYkGfBNZ8Bs6JMtmQM+STueRdYFVLdciok7o3/WWYtJBNwkcXtE6H+4osvBwQyihhopZ6aUA==" - , "cert": - "f948336b2f1680e34c468b452cead5157aef84fbfb514c7d5cb30daaa2bd20cc20aa594f5069402f779de9b9a6454101f5786fbebc4798ab8c40913614b5f302" - } } -, "startTime": 1625593493 -, "nonAvvmBalances": - { "FHnt4NL7yPY1q4kbLp3PVWp66yX7RmgsiGrvY559ozr1G7oJ8dRbsmshee8ZFHy": - "30000015000000000" } -, "blockVersionData": - { "scriptVersion": 0 - , "slotDuration": "20000" - , "maxBlockSize": "2000000" - , "maxHeaderSize": "2000000" - , "maxTxSize": "4096" - , "maxProposalSize": "700" - , "mpcThd": "20000000000000" - , "heavyDelThd": "300000000000" - , "updateVoteThd": "1000000000000" - , "updateProposalThd": "100000000000000" - , "updateImplicit": "10000" - , "softforkRule": - { "initThd": "900000000000000" - , "minThd": "600000000000000" - , "thdDecrement": "50000000000000" - } - , "txFeePolicy": - { "summand": "155381000000000" , "multiplier": "43946000000" } - , "unlockStakeEpoch": "18446744073709551615" - } -, "protocolConsts": { "k": 36 , "protocolMagic": 7 } -, "avvmDistr": {} -} \ No newline at end of file diff --git a/cardano-lib/alonzo-white/shelley-genesis.json b/cardano-lib/alonzo-white/shelley-genesis.json deleted file mode 100644 index 93ea5447..00000000 --- a/cardano-lib/alonzo-white/shelley-genesis.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "maxLovelaceSupply": 45000000000000000, - "securityParam": 36, - "slotsPerKESPeriod": 129600, - "updateQuorum": 1, - "activeSlotsCoeff": 5.0e-2, - "protocolParams": { - "minUTxOValue": 1000000, - "eMax": 18, - "extraEntropy": { - "tag": "NeutralNonce" - }, - "minFeeB": 155381, - "tau": 0.2, - "maxBlockBodySize": 65536, - "maxTxSize": 16384, - "minPoolCost": 340000000, - "minFeeA": 44, - "nOpt": 150, - "maxBlockHeaderSize": 1100, - "keyDeposit": 2000000, - "poolDeposit": 500000000, - "protocolVersion": { - "minor": 0, - "major": 2 - }, - "a0": 0.3, - "rho": 3.0e-3, - "decentralisationParam": 0.25 - }, - "networkMagic": 7, - "initialFunds": {}, - "networkId": "Testnet", - "maxKESEvolutions": 62, - "genDelegs": { - "cd119d3fea1fb03b402f99cfeba2b3ebaf5eb46a6d0484e74de3979f": { - "delegate": "1c83f28128a49c8e43fc40828a00d182d1c8c1c09c75963d00a13975", - "vrf": "a760847040f399adcc586b10af6597b111f0e539908f8d43cd0e12a112214403" - } - }, - "slotLength": 1, - "systemStart": "2021-07-06T17:44:53Z", - "epochLength": 7200 -} diff --git a/cardano-lib/default.nix b/cardano-lib/default.nix index 21c7f3e5..0578bcc3 100644 --- a/cardano-lib/default.nix +++ b/cardano-lib/default.nix @@ -125,32 +125,6 @@ let explorerConfig = mkExplorerConfig "p2p" nodeConfig; usePeersFromLedgerAfterSlot = 14680; }; - alonzo-blue = rec { - useByronWallet = false; - private = false; - relaysNew = "relays.alonzo-blue.dev.cardano.org"; - explorerUrl = "https://explorer.alonzo-blue.dev.cardano.org"; - smashUrl = "https://smash.alonzo-blue.dev.cardano.org"; - metadataUrl = "https://metadata.cardano-testnet.iohkdev.io"; - networkConfig = import ./alonzo-blue-config.nix; - consensusProtocol = networkConfig.Protocol; - nodeConfig = defaultLogConfig // networkConfig; - edgePort = 3001; - explorerConfig = mkExplorerConfig "alonzo-blue" nodeConfig; - }; - alonzo-white = rec { - useByronWallet = false; - private = false; - relaysNew = "relays.alonzo-white.dev.cardano.org"; - explorerUrl = "https://explorer.alonzo-white.dev.cardano.org"; - smashUrl = "https://smash.alonzo-white.dev.cardano.org"; - metadataUrl = "https://metadata.cardano-testnet.iohkdev.io"; - networkConfig = import ./alonzo-white-config.nix; - consensusProtocol = networkConfig.Protocol; - nodeConfig = defaultLogConfig // networkConfig; - edgePort = 3001; - explorerConfig = mkExplorerConfig "alonzo-white" nodeConfig; - }; alonzo-purple = rec { useByronWallet = false; private = false; @@ -164,19 +138,6 @@ let edgePort = 3001; explorerConfig = mkExplorerConfig "alonzo-purple" nodeConfig; }; - alonzo-qa = rec { - useByronWallet = false; - private = false; - relaysNew = "relays.alonzo-qa.dev.cardano.org"; - explorerUrl = "https://explorer.alonzo-qa.dev.cardano.org"; - smashUrl = "https://smash.alonzo-qa.dev.cardano.org"; - metadataUrl = "https://metadata.cardano-testnet.iohkdev.io"; - networkConfig = import ./alonzo-qa-config.nix; - consensusProtocol = networkConfig.Protocol; - nodeConfig = defaultLogConfig // networkConfig; - edgePort = 3001; - explorerConfig = mkExplorerConfig "alonzo-qa" nodeConfig; - }; # used for daedalus/cardano-wallet for local development shelley_qa = rec { useByronWallet = false; diff --git a/release.nix b/release.nix index f8fef6e4..86284308 100644 --- a/release.nix +++ b/release.nix @@ -55,7 +55,7 @@ fix (self: mappedPkgs // { inherit (commonLib) check-hydra; inherit jormungandrConfigs; jormungandr-deployment = jormungandrLib.mkConfigHtml { inherit (jormungandrLib.environments) itn_rewards_v1 beta nightly legacy; }; - cardano-deployment = cardanoLib.mkConfigHtml { inherit (cardanoLib.environments) mainnet testnet p2p alonzo-blue alonzo-white alonzo-purple alonzo-qa staging shelley_qa; }; + cardano-deployment = cardanoLib.mkConfigHtml { inherit (cardanoLib.environments) mainnet testnet p2p alonzo-purple staging shelley_qa; }; forceNewEval = pkgs.writeText "forceNewEval" iohk-nix.rev; required = pkgs.lib.hydraJob (pkgs.releaseTools.aggregate {