Skip to content

Commit 43b1e40

Browse files
committed
Use a static testnet environment
1 parent 42ed5f2 commit 43b1e40

File tree

109 files changed

+1572
-12
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+1572
-12
lines changed

scripts/demo/create_env.sh

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/usr/bin/env bash
2+
3+
set -e
4+
5+
CARDANO_CLI=$(realpath bin/cardano-cli)
6+
CARDANO_NODE=$(realpath bin/cardano-node)
7+
CARDANO_TESTNET=$(realpath bin/cardano-testnet)
8+
STATIC_ENV=$(realpath env)
9+
NUM_POOL_NODES=3
10+
11+
export CARDANO_CLI
12+
export CARDANO_NODE
13+
14+
rm -rf "$STATIC_ENV"
15+
$CARDANO_TESTNET \
16+
create-env \
17+
--output "$STATIC_ENV" \
18+
--num-pool-nodes="$NUM_POOL_NODES"
Lines changed: 375 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,375 @@
1+
{
2+
"collateralPercentage": 150,
3+
"costModels": {
4+
"PlutusV1": [
5+
205665,
6+
812,
7+
1,
8+
1,
9+
1000,
10+
571,
11+
0,
12+
1,
13+
1000,
14+
24177,
15+
4,
16+
1,
17+
1000,
18+
32,
19+
117366,
20+
10475,
21+
4,
22+
23000,
23+
100,
24+
23000,
25+
100,
26+
23000,
27+
100,
28+
23000,
29+
100,
30+
23000,
31+
100,
32+
23000,
33+
100,
34+
100,
35+
100,
36+
23000,
37+
100,
38+
19537,
39+
32,
40+
175354,
41+
32,
42+
46417,
43+
4,
44+
221973,
45+
511,
46+
0,
47+
1,
48+
89141,
49+
32,
50+
497525,
51+
14068,
52+
4,
53+
2,
54+
196500,
55+
453240,
56+
220,
57+
0,
58+
1,
59+
1,
60+
1000,
61+
28662,
62+
4,
63+
2,
64+
245000,
65+
216773,
66+
62,
67+
1,
68+
1060367,
69+
12586,
70+
1,
71+
208512,
72+
421,
73+
1,
74+
187000,
75+
1000,
76+
52998,
77+
1,
78+
80436,
79+
32,
80+
43249,
81+
32,
82+
1000,
83+
32,
84+
80556,
85+
1,
86+
57667,
87+
4,
88+
1000,
89+
10,
90+
197145,
91+
156,
92+
1,
93+
197145,
94+
156,
95+
1,
96+
204924,
97+
473,
98+
1,
99+
208896,
100+
511,
101+
1,
102+
52467,
103+
32,
104+
64832,
105+
32,
106+
65493,
107+
32,
108+
22558,
109+
32,
110+
16563,
111+
32,
112+
76511,
113+
32,
114+
196500,
115+
453240,
116+
220,
117+
0,
118+
1,
119+
1,
120+
69522,
121+
11687,
122+
0,
123+
1,
124+
60091,
125+
32,
126+
196500,
127+
453240,
128+
220,
129+
0,
130+
1,
131+
1,
132+
196500,
133+
453240,
134+
220,
135+
0,
136+
1,
137+
1,
138+
806990,
139+
30482,
140+
4,
141+
1927926,
142+
82523,
143+
4,
144+
265318,
145+
0,
146+
4,
147+
0,
148+
85931,
149+
32,
150+
205665,
151+
812,
152+
1,
153+
1,
154+
41182,
155+
32,
156+
212342,
157+
32,
158+
31220,
159+
32,
160+
32696,
161+
32,
162+
43357,
163+
32,
164+
32247,
165+
32,
166+
38314,
167+
32,
168+
57996947,
169+
18975,
170+
10
171+
],
172+
"PlutusV2": [
173+
205665,
174+
812,
175+
1,
176+
1,
177+
1000,
178+
571,
179+
0,
180+
1,
181+
1000,
182+
24177,
183+
4,
184+
1,
185+
1000,
186+
32,
187+
117366,
188+
10475,
189+
4,
190+
23000,
191+
100,
192+
23000,
193+
100,
194+
23000,
195+
100,
196+
23000,
197+
100,
198+
23000,
199+
100,
200+
23000,
201+
100,
202+
100,
203+
100,
204+
23000,
205+
100,
206+
19537,
207+
32,
208+
175354,
209+
32,
210+
46417,
211+
4,
212+
221973,
213+
511,
214+
0,
215+
1,
216+
89141,
217+
32,
218+
497525,
219+
14068,
220+
4,
221+
2,
222+
196500,
223+
453240,
224+
220,
225+
0,
226+
1,
227+
1,
228+
1000,
229+
28662,
230+
4,
231+
2,
232+
245000,
233+
216773,
234+
62,
235+
1,
236+
1060367,
237+
12586,
238+
1,
239+
208512,
240+
421,
241+
1,
242+
187000,
243+
1000,
244+
52998,
245+
1,
246+
80436,
247+
32,
248+
43249,
249+
32,
250+
1000,
251+
32,
252+
80556,
253+
1,
254+
57667,
255+
4,
256+
1000,
257+
10,
258+
197145,
259+
156,
260+
1,
261+
197145,
262+
156,
263+
1,
264+
204924,
265+
473,
266+
1,
267+
208896,
268+
511,
269+
1,
270+
52467,
271+
32,
272+
64832,
273+
32,
274+
65493,
275+
32,
276+
22558,
277+
32,
278+
16563,
279+
32,
280+
76511,
281+
32,
282+
196500,
283+
453240,
284+
220,
285+
0,
286+
1,
287+
1,
288+
69522,
289+
11687,
290+
0,
291+
1,
292+
60091,
293+
32,
294+
196500,
295+
453240,
296+
220,
297+
0,
298+
1,
299+
1,
300+
196500,
301+
453240,
302+
220,
303+
0,
304+
1,
305+
1,
306+
1159724,
307+
392670,
308+
0,
309+
2,
310+
806990,
311+
30482,
312+
4,
313+
1927926,
314+
82523,
315+
4,
316+
265318,
317+
0,
318+
4,
319+
0,
320+
85931,
321+
32,
322+
205665,
323+
812,
324+
1,
325+
1,
326+
41182,
327+
32,
328+
212342,
329+
32,
330+
31220,
331+
32,
332+
32696,
333+
32,
334+
43357,
335+
32,
336+
32247,
337+
32,
338+
38314,
339+
32,
340+
35892428,
341+
10,
342+
9462713,
343+
1021,
344+
10,
345+
38887044,
346+
32947,
347+
10,
348+
1292075,
349+
24469,
350+
74,
351+
0,
352+
1,
353+
936157,
354+
49601,
355+
237,
356+
0,
357+
1
358+
]
359+
},
360+
"executionPrices": {
361+
"priceMemory": 5.77e-2,
362+
"priceSteps": 7.21e-5
363+
},
364+
"lovelacePerUTxOWord": 34482,
365+
"maxBlockExUnits": {
366+
"memory": 62000000,
367+
"steps": 20000000000
368+
},
369+
"maxCollateralInputs": 3,
370+
"maxTxExUnits": {
371+
"memory": 140000000,
372+
"steps": 10000000000
373+
},
374+
"maxValueSize": 5000
375+
}

scripts/demo/env/byron-gen-command/genesis-keys.000.key

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
X�x��2(��2�����fM���B�S*��i�3\c1��|�O�h���-��<G�����~�?hs�^��4{qr�������f��{ɥC|艊�����%��
2+
�\f^�9�Z�]Q����*g�K7L3�

0 commit comments

Comments
 (0)