Skip to content

Commit

Permalink
update sanchonet conway-genesis to match mainnet
Browse files Browse the repository at this point in the history
* single CC member for faster testing
* differs in cc expiration and min cc size
* longer gov action expiry
  • Loading branch information
disassembler committed Oct 21, 2024
1 parent 86c2bd4 commit 884de55
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 20 deletions.
2 changes: 1 addition & 1 deletion cardano-lib/sanchonet-config.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
AlonzoGenesisFile = ./sanchonet + "/alonzo-genesis.json";
AlonzoGenesisHash = "8bedcaea62107d8a79ed5293b0027b3f8706a4bc2422f33380cb1fd01c6fa6ec";
ConwayGenesisFile = ./sanchonet + "/conway-genesis.json";
ConwayGenesisHash = "e85ee5b7af8ca5c273c20746c9f994aef1a72a79c38b4eea230817e7e66c0741";
ConwayGenesisHash = "ff31343b814adddfdcaceb76f635647e2b7d1adfc0ddac7c40b70cbdcd82fed9";

### Core protocol parameters #####
Protocol = "Cardano";
Expand Down
37 changes: 18 additions & 19 deletions cardano-lib/sanchonet/conway-genesis.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"poolVotingThresholds": {
"committeeNormal": 0.65,
"committeeNoConfidence": 0.65,
"committeeNormal": 0.51,
"committeeNoConfidence": 0.51,
"hardForkInitiation": 0.51,
"motionNoConfidence": 0.6,
"ppSecurityGroup": 0.6
"motionNoConfidence": 0.51,
"ppSecurityGroup": 0.51
},
"dRepVotingThresholds": {
"motionNoConfidence": 0.67,
"committeeNormal": 0.67,
"committeeNoConfidence": 0.65,
"committeeNoConfidence": 0.6,
"updateToConstitution": 0.75,
"hardForkInitiation": 0.6,
"ppNetworkGroup": 0.67,
Expand All @@ -18,9 +18,9 @@
"ppGovGroup": 0.75,
"treasuryWithdrawal": 0.67
},
"committeeMinSize": 5,
"committeeMaxTermLength": 146,
"govActionLifetime": 14,
"committeeMinSize": 0,
"committeeMaxTermLength": 1000,
"govActionLifetime": 60,
"govActionDeposit": 100000000000,
"dRepDeposit": 500000000,
"dRepActivity": 20,
Expand Down Expand Up @@ -279,20 +279,19 @@
1
],
"constitution": {
"anchor": {
"url": "ipfs://QmQq5hWDNzvDR1ForEktAHrdCQmfSL2u5yctNpzDwoSBu4",
"dataHash": "23b43bebac48a4acc39e578715aa06635d6d900fa3ea7441dfffd6e43b914f7b"
},
"script": "edcd84c10e36ae810dc50847477083069db796219b39ccde790484e0"
"anchor": {
"dataHash": "ca41a91f399259bcefe57f9858e91f6d00e1a38d6d9c63d4052914ea7bd70cb2",
"url": "ipfs://bafkreifnwj6zpu3ixa4siz2lndqybyc5wnnt3jkwyutci4e2tmbnj3xrdm"
},
"script": "fa24fb305126805cf2164c161d852a0e7330cf988f1fe558cf7d4a64"
},
"committee": {
"members": {
"scriptHash-7ceede7d6a89e006408e6b7c6acb3dd094b3f6817e43b4a36d01535b": 500,
"scriptHash-6095e643ea6f1cccb6e463ec34349026b3a48621aac5d512655ab1bf": 500,
"scriptHash-27999ed757d6dac217471ae61d69b1b067b8b240d9e3ff36eb66b5d0": 500,
"scriptHash-87f867a31c0f81360d4d7dcddb6b025ba8383db9bf77a2af7797799d": 500,
"scriptHash-a19a7ba1caede8f3ab3e5e2a928b3798d7d011af18fbd577f7aeb0ec": 500
"keyHash-77c0a65f9302bccab35b44adc1823cb66c88a66c97cf3de8236dd718": 1000
},
"threshold": 0.67
"threshold": {
"numerator": 2,
"denominator": 3
}
}
}

0 comments on commit 884de55

Please sign in to comment.