Skip to content

Commit c1c4d3b

Browse files
committed
Upgraded devnet with new consensus parameters:
- 10 got a new privileged address - 11 new privileged changed the default block gas limit to be 30M instead of 100M
1 parent 290cda9 commit c1c4d3b

File tree

2 files changed

+594
-0
lines changed

2 files changed

+594
-0
lines changed
Lines changed: 297 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,297 @@
1+
{
2+
"V2": {
3+
"tx_params": {
4+
"V1": {
5+
"max_inputs": 255,
6+
"max_outputs": 255,
7+
"max_witnesses": 255,
8+
"max_gas_per_tx": 100000000,
9+
"max_size": 262144,
10+
"max_bytecode_subsections": 256
11+
}
12+
},
13+
"predicate_params": {
14+
"V1": {
15+
"max_predicate_length": 102400,
16+
"max_predicate_data_length": 102400,
17+
"max_message_data_length": 102400,
18+
"max_gas_per_predicate": 100000000
19+
}
20+
},
21+
"script_params": {
22+
"V1": {
23+
"max_script_length": 102400,
24+
"max_script_data_length": 102400
25+
}
26+
},
27+
"contract_params": {
28+
"V1": {
29+
"contract_max_size": 262144,
30+
"max_storage_slots": 1760
31+
}
32+
},
33+
"fee_params": {
34+
"V1": {
35+
"gas_price_factor": 92000,
36+
"gas_per_byte": 233
37+
}
38+
},
39+
"chain_id": 0,
40+
"gas_costs": {
41+
"V4": {
42+
"add": 2,
43+
"addi": 2,
44+
"and": 2,
45+
"andi": 2,
46+
"bal": 274,
47+
"bhei": 2,
48+
"bhsh": 2,
49+
"burn": 7566,
50+
"cb": 2,
51+
"cfsi": 2,
52+
"div": 2,
53+
"divi": 2,
54+
"eck1": 1489,
55+
"ecr1": 20513,
56+
"eq": 2,
57+
"exp": 2,
58+
"expi": 2,
59+
"flag": 1,
60+
"gm": 2,
61+
"gt": 2,
62+
"gtf": 3,
63+
"ji": 2,
64+
"jmp": 2,
65+
"jne": 2,
66+
"jnei": 2,
67+
"jnzi": 2,
68+
"jmpf": 2,
69+
"jmpb": 2,
70+
"jnzf": 2,
71+
"jnzb": 2,
72+
"jnef": 2,
73+
"jneb": 2,
74+
"lb": 2,
75+
"log": 80,
76+
"lt": 2,
77+
"lw": 2,
78+
"mint": 6566,
79+
"mlog": 2,
80+
"mod": 2,
81+
"modi": 2,
82+
"move": 2,
83+
"movi": 1,
84+
"mroo": 3,
85+
"mul": 2,
86+
"muli": 2,
87+
"mldv": 3,
88+
"noop": 1,
89+
"not": 2,
90+
"or": 1,
91+
"ori": 2,
92+
"poph": 2,
93+
"popl": 2,
94+
"pshh": 3073,
95+
"pshl": 3016,
96+
"ret_contract": 43,
97+
"rvrt_contract": 39,
98+
"sb": 2,
99+
"sll": 2,
100+
"slli": 2,
101+
"srl": 2,
102+
"srli": 2,
103+
"srw": 237,
104+
"sub": 2,
105+
"subi": 2,
106+
"sw": 2,
107+
"sww": 5708,
108+
"time": 106,
109+
"tr": 9253,
110+
"tro": 7199,
111+
"wdcm": 2,
112+
"wqcm": 2,
113+
"wdop": 2,
114+
"wqop": 3,
115+
"wdml": 3,
116+
"wqml": 3,
117+
"wddv": 3,
118+
"wqdv": 4,
119+
"wdmd": 6,
120+
"wqmd": 9,
121+
"wdam": 6,
122+
"wqam": 6,
123+
"wdmm": 6,
124+
"wqmm": 6,
125+
"xor": 2,
126+
"xori": 2,
127+
"aloc": {
128+
"LightOperation": {
129+
"base": 2,
130+
"units_per_gas": 35
131+
}
132+
},
133+
"bsiz": {
134+
"LightOperation": {
135+
"base": 25,
136+
"units_per_gas": 564
137+
}
138+
},
139+
"bldd": {
140+
"LightOperation": {
141+
"base": 33,
142+
"units_per_gas": 130
143+
}
144+
},
145+
"cfe": {
146+
"LightOperation": {
147+
"base": 10,
148+
"units_per_gas": 62
149+
}
150+
},
151+
"cfei": {
152+
"LightOperation": {
153+
"base": 10,
154+
"units_per_gas": 66
155+
}
156+
},
157+
"call": {
158+
"LightOperation": {
159+
"base": 6934,
160+
"units_per_gas": 14
161+
}
162+
},
163+
"ccp": {
164+
"LightOperation": {
165+
"base": 21,
166+
"units_per_gas": 155
167+
}
168+
},
169+
"croo": {
170+
"LightOperation": {
171+
"base": 69,
172+
"units_per_gas": 4
173+
}
174+
},
175+
"csiz": {
176+
"LightOperation": {
177+
"base": 25,
178+
"units_per_gas": 580
179+
}
180+
},
181+
"ed19": {
182+
"LightOperation": {
183+
"base": 3232,
184+
"units_per_gas": 7
185+
}
186+
},
187+
"k256": {
188+
"LightOperation": {
189+
"base": 21,
190+
"units_per_gas": 6
191+
}
192+
},
193+
"ldc": {
194+
"LightOperation": {
195+
"base": 84,
196+
"units_per_gas": 113
197+
}
198+
},
199+
"logd": {
200+
"LightOperation": {
201+
"base": 278,
202+
"units_per_gas": 5
203+
}
204+
},
205+
"mcl": {
206+
"LightOperation": {
207+
"base": 2,
208+
"units_per_gas": 1282
209+
}
210+
},
211+
"mcli": {
212+
"LightOperation": {
213+
"base": 2,
214+
"units_per_gas": 1250
215+
}
216+
},
217+
"mcp": {
218+
"LightOperation": {
219+
"base": 3,
220+
"units_per_gas": 385
221+
}
222+
},
223+
"mcpi": {
224+
"LightOperation": {
225+
"base": 7,
226+
"units_per_gas": 585
227+
}
228+
},
229+
"meq": {
230+
"LightOperation": {
231+
"base": 2,
232+
"units_per_gas": 1234
233+
}
234+
},
235+
"retd_contract": {
236+
"LightOperation": {
237+
"base": 227,
238+
"units_per_gas": 5
239+
}
240+
},
241+
"s256": {
242+
"LightOperation": {
243+
"base": 25,
244+
"units_per_gas": 5
245+
}
246+
},
247+
"scwq": {
248+
"HeavyOperation": {
249+
"base": 5666,
250+
"gas_per_unit": 6628
251+
}
252+
},
253+
"smo": {
254+
"LightOperation": {
255+
"base": 14635,
256+
"units_per_gas": 3
257+
}
258+
},
259+
"srwq": {
260+
"HeavyOperation": {
261+
"base": 245,
262+
"gas_per_unit": 243
263+
}
264+
},
265+
"swwq": {
266+
"HeavyOperation": {
267+
"base": 5661,
268+
"gas_per_unit": 5776
269+
}
270+
},
271+
"contract_root": {
272+
"LightOperation": {
273+
"base": 24,
274+
"units_per_gas": 3
275+
}
276+
},
277+
"state_root": {
278+
"HeavyOperation": {
279+
"base": 189,
280+
"gas_per_unit": 96
281+
}
282+
},
283+
"new_storage_per_byte": 233,
284+
"vm_initialization": {
285+
"LightOperation": {
286+
"base": 3127,
287+
"units_per_gas": 61
288+
}
289+
}
290+
}
291+
},
292+
"base_asset_id": "f8f8b6283d7fa5b672b530cbb84fcccb4ff8dc40f8176ef4544ddb1f1952ad07",
293+
"block_gas_limit": 100000000,
294+
"block_transaction_size_limit": 129024,
295+
"privileged_address": "b0c319eb0751b33b57e3b3fcc1a960ca5a1e239cccc1b45ce40fdae8fcb989d7"
296+
}
297+
}

0 commit comments

Comments
 (0)