Skip to content

Commit f310bb0

Browse files
committed
update testnet key generation script for conway (broken)
1 parent 57b9104 commit f310bb0

File tree

2 files changed

+251
-49
lines changed

2 files changed

+251
-49
lines changed

apps/testnet-template/configuration.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ RequiresNetworkMagic: RequiresMagic
3939
# This protocol version number gets used by block producing nodes as part
4040
# of the system for agreeing on and synchronising protocol updates.
4141
LastKnownBlockVersion-Alt: 0
42-
LastKnownBlockVersion-Major: 7
42+
LastKnownBlockVersion-Major: 8
4343
LastKnownBlockVersion-Minor: 0
4444

4545
# In the Byron era some software versions are also published on the chain.
@@ -300,5 +300,6 @@ TestAllegraHardForkAtEpoch: 0
300300
TestMaryHardForkAtEpoch: 0
301301
TestAlonzoHardForkAtEpoch: 0
302302
TestBabbageHardForkAtEpoch: 0
303+
TestConwayHardForkAtEpoch: 0
303304
ExperimentalProtocolsEnabled: True
304305
EnableP2P: True
Lines changed: 249 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,72 +1,273 @@
11
{
2-
"genDelegs": {},
32
"poolVotingThresholds": {
4-
"committeeNormal": 0.51,
3+
"committeeNormal": 0.60,
54
"committeeNoConfidence": 0.51,
65
"hardForkInitiation": 0.51,
7-
"motionNoConfidence": 0.51,
8-
"ppSecurityGroup": 0.51
6+
"motionNoConfidence": 0.60,
7+
"ppSecurityGroup": 0.60
98
},
109
"dRepVotingThresholds": {
1110
"motionNoConfidence": 0.67,
1211
"committeeNormal": 0.67,
13-
"committeeNoConfidence": 0.6,
12+
"committeeNoConfidence": 0.60,
1413
"updateToConstitution": 0.75,
15-
"hardForkInitiation": 0.6,
14+
"hardForkInitiation": 0.60,
1615
"ppNetworkGroup": 0.67,
1716
"ppEconomicGroup": 0.67,
1817
"ppTechnicalGroup": 0.67,
1918
"ppGovGroup": 0.75,
2019
"treasuryWithdrawal": 0.67
2120
},
2221
"committeeMinSize": 7,
23-
"committeeMaxTermLength": 146,
22+
"committeeMaxTermLength": 73,
2423
"govActionLifetime": 6,
25-
"govActionDeposit": 100000000000,
24+
"govActionDeposit": 50000000000,
2625
"dRepDeposit": 500000000,
2726
"dRepActivity": 20,
28-
"minFeeRefScriptCostPerByte": 15,
29-
"plutusV3CostModel": [
30-
100788, 420, 1, 1, 1000, 173, 0, 1, 1000, 59957, 4, 1, 11183, 32, 201305,
31-
8356, 4, 16000, 100, 16000, 100, 16000, 100, 16000, 100, 16000, 100, 16000,
32-
100, 100, 100, 16000, 100, 94375, 32, 132994, 32, 61462, 4, 72010, 178, 0,
33-
1, 22151, 32, 91189, 769, 4, 2, 85848, 123203, 7305, -900, 1716, 549, 57,
34-
85848, 0, 1, 1, 1000, 42921, 4, 2, 24548, 29498, 38, 1, 898148, 27279, 1,
35-
51775, 558, 1, 39184, 1000, 60594, 1, 141895, 32, 83150, 32, 15299, 32,
36-
76049, 1, 13169, 4, 22100, 10, 28999, 74, 1, 28999, 74, 1, 43285, 552, 1,
37-
44749, 541, 1, 33852, 32, 68246, 32, 72362, 32, 7243, 32, 7391, 32, 11546,
38-
32, 85848, 123203, 7305, -900, 1716, 549, 57, 85848, 0, 1, 90434, 519, 0, 1,
39-
74433, 32, 85848, 123203, 7305, -900, 1716, 549, 57, 85848, 0, 1, 1, 85848,
40-
123203, 7305, -900, 1716, 549, 57, 85848, 0, 1, 955506, 213312, 0, 2,
41-
270652, 22588, 4, 1457325, 64566, 4, 20467, 1, 4, 0, 141992, 32, 100788,
42-
420, 1, 1, 81663, 32, 59498, 32, 20142, 32, 24588, 32, 20744, 32, 25933, 32,
43-
24623, 32, 43053543, 10, 53384111, 14333, 10, 43574283, 26308, 10, 16000,
44-
100, 16000, 100, 962335, 18, 2780678, 6, 442008, 1, 52538055, 3756, 18,
45-
267929, 18, 76433006, 8868, 18, 52948122, 18, 1995836, 36, 3227919, 12,
46-
901022, 1, 166917843, 4307, 36, 284546, 36, 158221314, 26549, 36, 74698472,
47-
36, 333849714, 1, 254006273, 72, 2174038, 72, 2261318, 64571, 4, 207616,
48-
8310, 4, 1293828, 28716, 63, 0, 1, 1006041, 43623, 251, 0, 1
49-
],
27+
"minFeeRefScriptCostPerByte": 44,
5028
"constitution": {
5129
"anchor": {
52-
"dataHash": "ca41a91f399259bcefe57f9858e91f6d00e1a38d6d9c63d4052914ea7bd70cb2",
53-
"url": "ipfs://bafkreifnwj6zpu3ixa4siz2lndqybyc5wnnt3jkwyutci4e2tmbnj3xrdm"
54-
},
55-
"script": "fa24fb305126805cf2164c161d852a0e7330cf988f1fe558cf7d4a64"
30+
"url": "",
31+
"dataHash": "0000000000000000000000000000000000000000000000000000000000000000"
32+
}
5633
},
5734
"committee": {
58-
"members": {
59-
"scriptHash-df0e83bde65416dade5b1f97e7f115cc1ff999550ad968850783fe50": 580,
60-
"scriptHash-b6012034ba0a7e4afbbf2c7a1432f8824aee5299a48e38e41a952686": 580,
61-
"scriptHash-ce8b37a72b178a37bbd3236daa7b2c158c9d3604e7aa667e6c6004b7": 580,
62-
"scriptHash-f0dc2c00d92a45521267be2d5de1c485f6f9d14466d7e16062897cf7": 580,
63-
"scriptHash-349e55f83e9af24813e6cb368df6a80d38951b2a334dfcdf26815558": 580,
64-
"scriptHash-84aebcfd3e00d0f87af918fc4b5e00135f407e379893df7e7d392c6a": 580,
65-
"scriptHash-e8165b3328027ee0d74b1f07298cb092fd99aa7697a1436f5997f625": 580
66-
},
67-
"threshold": {
68-
"numerator": 2,
69-
"denominator": 3
70-
}
71-
}
35+
"members": {},
36+
"threshold": 0.67
37+
},
38+
"plutusV3CostModel": [
39+
100788,
40+
420,
41+
1,
42+
1,
43+
1000,
44+
173,
45+
0,
46+
1,
47+
1000,
48+
59957,
49+
4,
50+
1,
51+
11183,
52+
32,
53+
207616,
54+
8310,
55+
4,
56+
201305,
57+
8356,
58+
4,
59+
962335,
60+
18,
61+
2780678,
62+
6,
63+
442008,
64+
1,
65+
52538055,
66+
3756,
67+
18,
68+
267929,
69+
18,
70+
76433006,
71+
8868,
72+
18,
73+
52948122,
74+
18,
75+
1995836,
76+
36,
77+
3227919,
78+
12,
79+
901022,
80+
1,
81+
166917843,
82+
4307,
83+
36,
84+
284546,
85+
36,
86+
158221314,
87+
26549,
88+
36,
89+
74698472,
90+
36,
91+
333849714,
92+
1,
93+
254006273,
94+
72,
95+
2174038,
96+
72,
97+
1006041,
98+
43623,
99+
251,
100+
0,
101+
1,
102+
16000,
103+
100,
104+
16000,
105+
100,
106+
16000,
107+
100,
108+
16000,
109+
100,
110+
16000,
111+
100,
112+
16000,
113+
100,
114+
16000,
115+
100,
116+
16000,
117+
100,
118+
100,
119+
100,
120+
16000,
121+
100,
122+
94375,
123+
32,
124+
132994,
125+
32,
126+
61462,
127+
4,
128+
72010,
129+
178,
130+
0,
131+
1,
132+
22151,
133+
32,
134+
91189,
135+
769,
136+
4,
137+
2,
138+
85848,
139+
228465,
140+
122,
141+
0,
142+
1,
143+
1,
144+
1000,
145+
42921,
146+
4,
147+
2,
148+
24548,
149+
29498,
150+
38,
151+
1,
152+
898148,
153+
27279,
154+
1,
155+
51775,
156+
558,
157+
1,
158+
39184,
159+
1000,
160+
60594,
161+
1,
162+
141895,
163+
32,
164+
83150,
165+
32,
166+
15299,
167+
32,
168+
76049,
169+
1,
170+
13169,
171+
4,
172+
1293828,
173+
28716,
174+
63,
175+
0,
176+
1,
177+
2261318,
178+
64571,
179+
4,
180+
22100,
181+
10,
182+
28999,
183+
74,
184+
1,
185+
28999,
186+
74,
187+
1,
188+
43285,
189+
552,
190+
1,
191+
44749,
192+
541,
193+
1,
194+
33852,
195+
32,
196+
68246,
197+
32,
198+
72362,
199+
32,
200+
7243,
201+
32,
202+
7391,
203+
32,
204+
11546,
205+
32,
206+
85848,
207+
228465,
208+
122,
209+
0,
210+
1,
211+
1,
212+
90434,
213+
519,
214+
0,
215+
1,
216+
74433,
217+
32,
218+
85848,
219+
228465,
220+
122,
221+
0,
222+
1,
223+
1,
224+
85848,
225+
228465,
226+
122,
227+
0,
228+
1,
229+
1,
230+
955506,
231+
213312,
232+
0,
233+
2,
234+
270652,
235+
22588,
236+
4,
237+
1457325,
238+
64566,
239+
4,
240+
20467,
241+
1,
242+
4,
243+
0,
244+
141992,
245+
32,
246+
100788,
247+
420,
248+
1,
249+
1,
250+
81663,
251+
32,
252+
59498,
253+
32,
254+
20142,
255+
32,
256+
24588,
257+
32,
258+
20744,
259+
32,
260+
25933,
261+
32,
262+
24623,
263+
32,
264+
43053543,
265+
10,
266+
53384111,
267+
14333,
268+
10,
269+
43574283,
270+
26308,
271+
10
272+
]
72273
}

0 commit comments

Comments
 (0)