Skip to content

Commit 1f0d856

Browse files
authored
chore: bump fuel-core to 0.24.2, fuel-vm to 0.48.0, sdk to 0.57.0 (#5844)
## Description Updates fuel dependencies: 1. fuel-core to 0.24.2 2. fuel-vm to 0.48.0 3. sdk to 0.57.0
1 parent 2d73d09 commit 1f0d856

File tree

20 files changed

+803
-356
lines changed

20 files changed

+803
-356
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ jobs:
318318
- uses: Swatinem/rust-cache@v2
319319
- name: Cargo Run E2E Tests (Fuel VM)
320320
run: |
321-
fuel-core run --db-type in-memory --debug &
321+
fuel-core run --db-type in-memory --debug --snapshot ./.github/workflows/local-testnode &
322322
sleep 5 &&
323323
cargo run --locked --release --bin test -- --locked
324324
@@ -339,7 +339,7 @@ jobs:
339339
- uses: Swatinem/rust-cache@v2
340340
- name: Cargo Run E2E Tests (Fuel VM)
341341
run: |
342-
fuel-core run --db-type in-memory --debug &
342+
fuel-core run --db-type in-memory --debug --snapshot ./.github/workflows/local-testnode &
343343
sleep 5 &&
344344
cargo run --locked --release --bin test -- --locked --release
345345
Lines changed: 270 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,270 @@
1+
{
2+
"chain_name": "Local Node Test Network",
3+
"consensus_parameters": {
4+
"V1": {
5+
"tx_params": {
6+
"V1": {
7+
"max_inputs": 255,
8+
"max_outputs": 255,
9+
"max_witnesses": 255,
10+
"max_gas_per_tx": 1000000000,
11+
"max_size": 17825792
12+
}
13+
},
14+
"predicate_params": {
15+
"V1": {
16+
"max_predicate_length": 1048576,
17+
"max_predicate_data_length": 1048576,
18+
"max_message_data_length": 1048576,
19+
"max_gas_per_predicate": 1000000000
20+
}
21+
},
22+
"script_params": {
23+
"V1": {
24+
"max_script_length": 1048576,
25+
"max_script_data_length": 1048576
26+
}
27+
},
28+
"contract_params": {
29+
"V1": {
30+
"contract_max_size": 16777216,
31+
"max_storage_slots": 131072
32+
}
33+
},
34+
"fee_params": {
35+
"V1": {
36+
"gas_price_factor": 92,
37+
"gas_per_byte": 63
38+
}
39+
},
40+
"chain_id": 0,
41+
"gas_costs": {
42+
"V1": {
43+
"add": 2,
44+
"addi": 2,
45+
"aloc": 1,
46+
"and": 2,
47+
"andi": 2,
48+
"bal": 366,
49+
"bhei": 2,
50+
"bhsh": 2,
51+
"burn": 33949,
52+
"cb": 2,
53+
"cfei": 2,
54+
"cfsi": 2,
55+
"div": 2,
56+
"divi": 2,
57+
"eck1": 3347,
58+
"ecr1": 46165,
59+
"ed19": 4210,
60+
"eq": 2,
61+
"exp": 2,
62+
"expi": 2,
63+
"flag": 1,
64+
"gm": 2,
65+
"gt": 2,
66+
"gtf": 16,
67+
"ji": 2,
68+
"jmp": 2,
69+
"jne": 2,
70+
"jnei": 2,
71+
"jnzi": 2,
72+
"jmpf": 2,
73+
"jmpb": 2,
74+
"jnzf": 2,
75+
"jnzb": 2,
76+
"jnef": 2,
77+
"jneb": 2,
78+
"lb": 2,
79+
"log": 754,
80+
"lt": 2,
81+
"lw": 2,
82+
"mint": 35718,
83+
"mlog": 2,
84+
"mod": 2,
85+
"modi": 2,
86+
"move": 2,
87+
"movi": 2,
88+
"mroo": 5,
89+
"mul": 2,
90+
"muli": 2,
91+
"mldv": 4,
92+
"noop": 1,
93+
"not": 2,
94+
"or": 2,
95+
"ori": 2,
96+
"poph": 3,
97+
"popl": 3,
98+
"pshh": 4,
99+
"pshl": 4,
100+
"ret_contract": 733,
101+
"rvrt_contract": 722,
102+
"sb": 2,
103+
"sll": 2,
104+
"slli": 2,
105+
"srl": 2,
106+
"srli": 2,
107+
"srw": 253,
108+
"sub": 2,
109+
"subi": 2,
110+
"sw": 2,
111+
"sww": 29053,
112+
"time": 79,
113+
"tr": 46242,
114+
"tro": 33251,
115+
"wdcm": 3,
116+
"wqcm": 3,
117+
"wdop": 3,
118+
"wqop": 3,
119+
"wdml": 3,
120+
"wqml": 4,
121+
"wddv": 5,
122+
"wqdv": 7,
123+
"wdmd": 11,
124+
"wqmd": 18,
125+
"wdam": 9,
126+
"wqam": 12,
127+
"wdmm": 11,
128+
"wqmm": 11,
129+
"xor": 2,
130+
"xori": 2,
131+
"call": {
132+
"LightOperation": {
133+
"base": 21687,
134+
"units_per_gas": 4
135+
}
136+
},
137+
"ccp": {
138+
"LightOperation": {
139+
"base": 59,
140+
"units_per_gas": 20
141+
}
142+
},
143+
"croo": {
144+
"LightOperation": {
145+
"base": 1,
146+
"units_per_gas": 1
147+
}
148+
},
149+
"csiz": {
150+
"LightOperation": {
151+
"base": 59,
152+
"units_per_gas": 195
153+
}
154+
},
155+
"k256": {
156+
"LightOperation": {
157+
"base": 282,
158+
"units_per_gas": 3
159+
}
160+
},
161+
"ldc": {
162+
"LightOperation": {
163+
"base": 45,
164+
"units_per_gas": 65
165+
}
166+
},
167+
"logd": {
168+
"LightOperation": {
169+
"base": 1134,
170+
"units_per_gas": 2
171+
}
172+
},
173+
"mcl": {
174+
"LightOperation": {
175+
"base": 3,
176+
"units_per_gas": 523
177+
}
178+
},
179+
"mcli": {
180+
"LightOperation": {
181+
"base": 3,
182+
"units_per_gas": 526
183+
}
184+
},
185+
"mcp": {
186+
"LightOperation": {
187+
"base": 3,
188+
"units_per_gas": 448
189+
}
190+
},
191+
"mcpi": {
192+
"LightOperation": {
193+
"base": 7,
194+
"units_per_gas": 585
195+
}
196+
},
197+
"meq": {
198+
"LightOperation": {
199+
"base": 11,
200+
"units_per_gas": 1097
201+
}
202+
},
203+
"retd_contract": {
204+
"LightOperation": {
205+
"base": 1086,
206+
"units_per_gas": 2
207+
}
208+
},
209+
"s256": {
210+
"LightOperation": {
211+
"base": 45,
212+
"units_per_gas": 3
213+
}
214+
},
215+
"scwq": {
216+
"HeavyOperation": {
217+
"base": 30375,
218+
"gas_per_unit": 28628
219+
}
220+
},
221+
"smo": {
222+
"LightOperation": {
223+
"base": 64196,
224+
"units_per_gas": 1
225+
}
226+
},
227+
"srwq": {
228+
"HeavyOperation": {
229+
"base": 262,
230+
"gas_per_unit": 249
231+
}
232+
},
233+
"swwq": {
234+
"HeavyOperation": {
235+
"base": 28484,
236+
"gas_per_unit": 26613
237+
}
238+
},
239+
"contract_root": {
240+
"LightOperation": {
241+
"base": 45,
242+
"units_per_gas": 1
243+
}
244+
},
245+
"state_root": {
246+
"HeavyOperation": {
247+
"base": 350,
248+
"gas_per_unit": 176
249+
}
250+
},
251+
"new_storage_per_byte": 63,
252+
"vm_initialization": {
253+
"LightOperation": {
254+
"base": 1645,
255+
"units_per_gas": 14
256+
}
257+
}
258+
}
259+
},
260+
"base_asset_id": "0000000000000000000000000000000000000000000000000000000000000000",
261+
"block_gas_limit": 1000000000,
262+
"privileged_address": "0000000000000000000000000000000000000000000000000000000000000000"
263+
}
264+
},
265+
"consensus": {
266+
"PoA": {
267+
"signing_key": "f65d6448a273b531ee942c133bb91a6f904c7d7f3104cdaf6b9f7f50d3518871"
268+
}
269+
}
270+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"chain_config": "chain_config.json",
3+
"table_encoding": {
4+
"Json": {
5+
"filepath": "state_config.json"
6+
}
7+
}
8+
}

0 commit comments

Comments
 (0)