Skip to content

Commit

Permalink
iohkNix: update configs for conway genesis plutusV3CostModel
Browse files Browse the repository at this point in the history
  • Loading branch information
disassembler authored and Lucsanszky committed May 14, 2024
1 parent ad55976 commit fa6b0cc
Show file tree
Hide file tree
Showing 8 changed files with 484 additions and 11 deletions.
2 changes: 1 addition & 1 deletion configuration/cardano/mainnet-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"ByronGenesisFile": "mainnet-byron-genesis.json",
"ByronGenesisHash": "5f20df933584822601f9e3f8c024eb5eb252fe8cefb24d1317dc3d432e940ebb",
"ConwayGenesisFile": "mainnet-conway-genesis.json",
"ConwayGenesisHash": "40bca1ded6a9cf924f4a228123c102a14ea4b9d211822aabca0b7c22cdb7431b",
"ConwayGenesisHash": "91bedad42212c07f6abdafedb7e7c8577fbd07152c695ffae1ab2a528741c6e4",
"EnableP2P": true,
"LastKnownBlockVersion-Alt": 0,
"LastKnownBlockVersion-Major": 3,
Expand Down
2 changes: 1 addition & 1 deletion configuration/cardano/mainnet-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ AlonzoGenesisHash: 7e94a15f55d1e82d10f09203fa1d40f8eede58fd8066542cf6566008068ed
ByronGenesisFile: mainnet-byron-genesis.json
ByronGenesisHash: 5f20df933584822601f9e3f8c024eb5eb252fe8cefb24d1317dc3d432e940ebb
ConwayGenesisFile: mainnet-conway-genesis.json
ConwayGenesisHash: 40bca1ded6a9cf924f4a228123c102a14ea4b9d211822aabca0b7c22cdb7431b
ConwayGenesisHash: 91bedad42212c07f6abdafedb7e7c8577fbd07152c695ffae1ab2a528741c6e4
ShelleyGenesisFile: mainnet-shelley-genesis.json
ShelleyGenesisHash: 1a3be38bcbb7911969283716ad7aa550250226b76a61fc51cc9a9a35d9276d81

Expand Down
238 changes: 236 additions & 2 deletions configuration/cardano/mainnet-conway-genesis.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"dRepDeposit": 500000000,
"dRepActivity": 20,
"minFeeRefScriptCostPerByte": 44,
"plutusV3CostModel": [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
"constitution": {
"anchor": {
"url": "",
Expand All @@ -36,5 +35,240 @@
"members": {
},
"threshold": 0.67
}
},
"plutusV3CostModel": [
100788,
420,
1,
1,
1000,
173,
0,
1,
1000,
59957,
4,
1,
11183,
32,
207616,
8310,
4,
201305,
8356,
4,
962335,
18,
2780678,
6,
442008,
1,
52538055,
3756,
18,
267929,
18,
76433006,
8868,
18,
52948122,
18,
1995836,
36,
3227919,
12,
901022,
1,
166917843,
4307,
36,
284546,
36,
158221314,
26549,
36,
74698472,
36,
333849714,
1,
254006273,
72,
2174038,
72,
1006041,
43623,
251,
0,
1,
16000,
100,
16000,
100,
16000,
100,
16000,
100,
16000,
100,
16000,
100,
16000,
100,
16000,
100,
100,
100,
16000,
100,
94375,
32,
132994,
32,
61462,
4,
72010,
178,
0,
1,
22151,
32,
91189,
769,
4,
2,
85848,
228465,
122,
0,
1,
1,
1000,
42921,
4,
2,
24548,
29498,
38,
1,
898148,
27279,
1,
51775,
558,
1,
39184,
1000,
60594,
1,
141895,
32,
83150,
32,
15299,
32,
76049,
1,
13169,
4,
1293828,
28716,
63,
0,
1,
2261318,
64571,
4,
22100,
10,
28999,
74,
1,
28999,
74,
1,
43285,
552,
1,
44749,
541,
1,
33852,
32,
68246,
32,
72362,
32,
7243,
32,
7391,
32,
11546,
32,
85848,
228465,
122,
0,
1,
1,
90434,
519,
0,
1,
74433,
32,
85848,
228465,
122,
0,
1,
1,
85848,
228465,
122,
0,
1,
1,
955506,
213312,
0,
2,
270652,
22588,
4,
1457325,
64566,
4,
20467,
1,
4,
0,
141992,
32,
100788,
420,
1,
1,
81663,
32,
59498,
32,
20142,
32,
24588,
32,
20744,
32,
25933,
32,
24623,
32,
43053543,
10,
53384111,
14333,
10,
43574283,
26308,
10
]
}
4 changes: 4 additions & 0 deletions configuration/cardano/mainnet-topology.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
{
"address": "backbone.mainnet.emurgornd.com",
"port": 3001
},
{
"address": "backbone.mainnet.cardanofoundation.org",
"port": 3001
}
],
"localRoots": [
Expand Down
2 changes: 1 addition & 1 deletion configuration/cardano/shelley_qa-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"ByronGenesisFile": "shelley_qa-byron-genesis.json",
"ByronGenesisHash": "273cd12237b98d02f108c9c50063d29a8d1d7f32e9a75ade7cd48e08b3070258",
"ConwayGenesisFile": "shelley_qa-conway-genesis.json",
"ConwayGenesisHash": "40bca1ded6a9cf924f4a228123c102a14ea4b9d211822aabca0b7c22cdb7431b",
"ConwayGenesisHash": "91bedad42212c07f6abdafedb7e7c8577fbd07152c695ffae1ab2a528741c6e4",
"EnableP2P": true,
"ExperimentalHardForksEnabled": true,
"ExperimentalProtocolsEnabled": true,
Expand Down
Loading

0 comments on commit fa6b0cc

Please sign in to comment.