Skip to content

Commit 425e504

Browse files
authored
Merge branch 'main' into rianhughes/trie-proof2
2 parents a02b13c + 88b87fa commit 425e504

30 files changed

+29178
-203
lines changed

adapters/sn2core/sn2core_test.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -220,13 +220,13 @@ func TestStateUpdate(t *testing.T) {
220220

221221
func TestClassV0(t *testing.T) {
222222
classHashes := []string{
223-
"0x79e2d211e70594e687f9f788f71302e6eecb61d98efce48fbe8514948c8118",
224-
"0x1924aa4b0bedfd884ea749c7231bafd91650725d44c91664467ffce9bf478d0",
225-
"0x10455c752b86932ce552f2b0fe81a880746649b9aee7e0d842bf3f52378f9f8",
226-
"0x56b96c1d1bbfa01af44b465763d1b71150fa00c6c9d54c3947f57e979ff68c3",
223+
"0x7db5c2c2676c2a5bfc892ee4f596b49514e3056a0eee8ad125870b4fb1dd909",
224+
"0x772164c9d6179a89e7f1167f099219f47d752304b16ed01f081b6e0b45c93c3",
225+
"0x78401746828463e2c3f92ebb261fc82f7d4d4c8d9a80a356c44580dab124cb0",
226+
"0x28d1671fb74ecb54d848d463cefccffaef6df3ae40db52130e19fe8299a7b43",
227227
}
228228

229-
client := feeder.NewTestClient(t, &utils.Goerli)
229+
client := feeder.NewTestClient(t, &utils.Sepolia)
230230
ctx := context.Background()
231231

232232
for _, hashString := range classHashes {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,309 @@
1+
{
2+
"block_hash": "0x5c627d4aeb51280058bed93c7889bce78114d63baad1be0f0aeb32496d5f19c",
3+
"parent_block_hash": "0x0",
4+
"block_number": 0,
5+
"state_root": "0xe005205a1327f3dff98074e528f7b96f30e0624a1dfcf571bdc81948d150a0",
6+
"transaction_commitment": "0x6bc49c465936fa8b19a6773975bef3c1f9793463103ce679d5a2c10b0c3846e",
7+
"event_commitment": "0x63e31e9955086a982d5d1b008c0a1579521d526fcf38445a8daf4799bde362e",
8+
"status": "ACCEPTED_ON_L1",
9+
"l1_da_mode": "CALLDATA",
10+
"l1_gas_price": {
11+
"price_in_wei": "0x3e617dc5",
12+
"price_in_fri": "0x0"
13+
},
14+
"l1_data_gas_price": {
15+
"price_in_wei": "0x1",
16+
"price_in_fri": "0x1"
17+
},
18+
"transactions": [
19+
{
20+
"transaction_hash": "0x656e113cb27707d2147c271a79c51d1069b0273ae447b965e15154a17b3ec01",
21+
"version": "0x0",
22+
"max_fee": "0x0",
23+
"signature": [],
24+
"nonce": "0x0",
25+
"class_hash": "0x5c478ee27f2112411f86f207605b2e2c58cdb647bac0df27f660ef2252359c6",
26+
"sender_address": "0x1",
27+
"type": "DECLARE"
28+
},
29+
{
30+
"transaction_hash": "0x32538718071ad83ccd09fca03fe3a17add776ec12002d1c4e16ad4b92ddf752",
31+
"version": "0x0",
32+
"max_fee": "0x0",
33+
"signature": [],
34+
"nonce": "0x0",
35+
"class_hash": "0xd0e183745e9dae3e4e78a8ffedcce0903fc4900beace4e0abf192d4c202da3",
36+
"sender_address": "0x1",
37+
"type": "DECLARE"
38+
},
39+
{
40+
"transaction_hash": "0x144f41e654d0916810a83df0fe8984043671200f28df1206f58566144e302dd",
41+
"version": "0x1",
42+
"max_fee": "0x0",
43+
"signature": [
44+
"0x13f82fd9238dfc8d01543f89be2b5d5589b3eb93d9c3b888f1f94b089768771",
45+
"0x2c279ec310c4dd58a296fab66b2624640780e79a1c5c87388e6150fb5384a9d"
46+
],
47+
"nonce": "0x0",
48+
"contract_address": "0x43abaa073c768ebf039c0c4f46db9acc39e9ec165690418060a652aab39e7d8",
49+
"contract_address_salt": "0x0",
50+
"class_hash": "0x5c478ee27f2112411f86f207605b2e2c58cdb647bac0df27f660ef2252359c6",
51+
"constructor_calldata": [
52+
"0x12c4df40394d06f157edec8d0e64db61fe0c271149ea860c8fe98def29ecf02"
53+
],
54+
"type": "DEPLOY_ACCOUNT"
55+
},
56+
{
57+
"transaction_hash": "0x6a5a493cf33919e58aa4c75777bffdef97c0e39cac968896d7bee8cc67905a1",
58+
"version": "0x1",
59+
"max_fee": "0x0",
60+
"signature": [
61+
"0x357dbb6c509a7d4b58f8ee7151236278b7959b39f7d05b8f7e2ef20593bdf7e",
62+
"0x64d5f748eef19ca7f1c8cc533e5c9c85f80ef4f040c75da67bda82f5c58328d"
63+
],
64+
"nonce": "0x1",
65+
"sender_address": "0x43abaa073c768ebf039c0c4f46db9acc39e9ec165690418060a652aab39e7d8",
66+
"calldata": [
67+
"0x1",
68+
"0x43abaa073c768ebf039c0c4f46db9acc39e9ec165690418060a652aab39e7d8",
69+
"0x2730079d734ee55315f4f141eaed376bddd8c2133523d223a344c5604e0f7f8",
70+
"0x0",
71+
"0x5",
72+
"0x5",
73+
"0xd0e183745e9dae3e4e78a8ffedcce0903fc4900beace4e0abf192d4c202da3",
74+
"0x322c2610264639f6b2cee681ac53fa65c37e187ea24292d1b21d859c55e1a78",
75+
"0x1",
76+
"0x0",
77+
"0x1"
78+
],
79+
"type": "INVOKE_FUNCTION"
80+
},
81+
{
82+
"transaction_hash": "0x4a5a3a951244f37c97b258465db17ba235dc68fd369c539d763bae99b2cae1",
83+
"version": "0x1",
84+
"max_fee": "0x0",
85+
"signature": [
86+
"0x6b5baf01bf27386f1544efcf2e91aa69a42a41a9781e24b3cd984a91e815de7",
87+
"0x2de46894d2f386d25f2258e80f464e05f08daab78df764d87c4381a7eae6c97"
88+
],
89+
"nonce": "0x2",
90+
"sender_address": "0x43abaa073c768ebf039c0c4f46db9acc39e9ec165690418060a652aab39e7d8",
91+
"calldata": [
92+
"0x1",
93+
"0x43abaa073c768ebf039c0c4f46db9acc39e9ec165690418060a652aab39e7d8",
94+
"0x2730079d734ee55315f4f141eaed376bddd8c2133523d223a344c5604e0f7f8",
95+
"0x0",
96+
"0x5",
97+
"0x5",
98+
"0xd0e183745e9dae3e4e78a8ffedcce0903fc4900beace4e0abf192d4c202da3",
99+
"0x322c2610264639f6b2cee681ac53fa65c37e187ea24292d1b21d859c55e1a78",
100+
"0x1",
101+
"0x0",
102+
"0x0"
103+
],
104+
"type": "INVOKE_FUNCTION"
105+
},
106+
{
107+
"transaction_hash": "0x1bec64a9f5ff52154b560fd489ae2aabbfcb31062f7ea70c3c674ddf14b0add",
108+
"version": "0x1",
109+
"max_fee": "0x0",
110+
"signature": [
111+
"0x44580ba3cd68e5d9509d2fcb8bd09933ae4a7b7dfe6744eaa2329f9a79d7408",
112+
"0x68404a4da22c31d8367f873c043318750a24c669702c72de8518a3d52284b94"
113+
],
114+
"nonce": "0x3",
115+
"sender_address": "0x43abaa073c768ebf039c0c4f46db9acc39e9ec165690418060a652aab39e7d8",
116+
"calldata": [
117+
"0x1",
118+
"0x49d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7",
119+
"0x195d4289b867c3d98c335ea31402667f3592e227faf3d2991308563ed102aab",
120+
"0x0",
121+
"0x0",
122+
"0x0"
123+
],
124+
"type": "INVOKE_FUNCTION"
125+
},
126+
{
127+
"transaction_hash": "0x72b2d3b79b3da51efe860da954a2f50d23da95f028a456c5356a08e61642754",
128+
"version": "0x1",
129+
"max_fee": "0x0",
130+
"signature": [
131+
"0x12ef79a31ed2ff357b290f40c8c1bbe53cbb253866f0dc52b25aabbfb443c2b",
132+
"0x376b2ddfd1ba9c6a0d72e3e4dbc5bbb1f0d2601089999cbf477aed944ae5c03"
133+
],
134+
"nonce": "0x4",
135+
"sender_address": "0x43abaa073c768ebf039c0c4f46db9acc39e9ec165690418060a652aab39e7d8",
136+
"calldata": [
137+
"0x1",
138+
"0x4c5772d1914fe6ce891b64eb35bf3522aeae1315647314aac58b01137607f3f",
139+
"0x195d4289b867c3d98c335ea31402667f3592e227faf3d2991308563ed102aab",
140+
"0x0",
141+
"0x0",
142+
"0x0"
143+
],
144+
"type": "INVOKE_FUNCTION"
145+
}
146+
],
147+
"timestamp": 1700406220,
148+
"sequencer_address": "0x1176a1bd84444c89232ec27754698e5d2e7e1a7f1539f12027f28b23ec9f3d8",
149+
"transaction_receipts": [
150+
{
151+
"execution_status": "SUCCEEDED",
152+
"transaction_index": 0,
153+
"transaction_hash": "0x656e113cb27707d2147c271a79c51d1069b0273ae447b965e15154a17b3ec01",
154+
"l2_to_l1_messages": [],
155+
"events": [],
156+
"execution_resources": {
157+
"n_steps": 2711,
158+
"builtin_instance_counter": {
159+
"pedersen_builtin": 15,
160+
"range_check_builtin": 63
161+
},
162+
"n_memory_holes": 0
163+
},
164+
"actual_fee": "0x0"
165+
},
166+
{
167+
"execution_status": "SUCCEEDED",
168+
"transaction_index": 1,
169+
"transaction_hash": "0x32538718071ad83ccd09fca03fe3a17add776ec12002d1c4e16ad4b92ddf752",
170+
"l2_to_l1_messages": [],
171+
"events": [],
172+
"execution_resources": {
173+
"n_steps": 2711,
174+
"builtin_instance_counter": {
175+
"pedersen_builtin": 15,
176+
"range_check_builtin": 63
177+
},
178+
"n_memory_holes": 0
179+
},
180+
"actual_fee": "0x0"
181+
},
182+
{
183+
"execution_status": "SUCCEEDED",
184+
"transaction_index": 2,
185+
"transaction_hash": "0x144f41e654d0916810a83df0fe8984043671200f28df1206f58566144e302dd",
186+
"l2_to_l1_messages": [],
187+
"events": [],
188+
"execution_resources": {
189+
"n_steps": 3863,
190+
"builtin_instance_counter": {
191+
"pedersen_builtin": 23,
192+
"range_check_builtin": 83,
193+
"ecdsa_builtin": 1
194+
},
195+
"n_memory_holes": 0
196+
},
197+
"actual_fee": "0x0"
198+
},
199+
{
200+
"execution_status": "SUCCEEDED",
201+
"transaction_index": 3,
202+
"transaction_hash": "0x6a5a493cf33919e58aa4c75777bffdef97c0e39cac968896d7bee8cc67905a1",
203+
"l2_to_l1_messages": [],
204+
"events": [],
205+
"execution_resources": {
206+
"n_steps": 5617,
207+
"builtin_instance_counter": {
208+
"pedersen_builtin": 23,
209+
"ecdsa_builtin": 1,
210+
"range_check_builtin": 122
211+
},
212+
"n_memory_holes": 0
213+
},
214+
"actual_fee": "0x0"
215+
},
216+
{
217+
"execution_status": "SUCCEEDED",
218+
"transaction_index": 4,
219+
"transaction_hash": "0x4a5a3a951244f37c97b258465db17ba235dc68fd369c539d763bae99b2cae1",
220+
"l2_to_l1_messages": [],
221+
"events": [],
222+
"execution_resources": {
223+
"n_steps": 5617,
224+
"builtin_instance_counter": {
225+
"pedersen_builtin": 23,
226+
"range_check_builtin": 122,
227+
"ecdsa_builtin": 1
228+
},
229+
"n_memory_holes": 0
230+
},
231+
"actual_fee": "0x0"
232+
},
233+
{
234+
"execution_status": "SUCCEEDED",
235+
"transaction_index": 5,
236+
"transaction_hash": "0x1bec64a9f5ff52154b560fd489ae2aabbfcb31062f7ea70c3c674ddf14b0add",
237+
"l2_to_l1_messages": [],
238+
"events": [
239+
{
240+
"from_address": "0x49d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7",
241+
"keys": [
242+
"0x3774b0545aabb37c45c1eddc6a7dae57de498aae6d5e3589e362d4b4323a533"
243+
],
244+
"data": [
245+
"0x43abaa073c768ebf039c0c4f46db9acc39e9ec165690418060a652aab39e7d8",
246+
"0x43abaa073c768ebf039c0c4f46db9acc39e9ec165690418060a652aab39e7d8"
247+
]
248+
},
249+
{
250+
"from_address": "0x49d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7",
251+
"keys": [
252+
"0x4595132f9b33b7077ebf2e7f3eb746a8e0a6d5c337c71cd8f9bf46cac3cfd7"
253+
],
254+
"data": [
255+
"0x43abaa073c768ebf039c0c4f46db9acc39e9ec165690418060a652aab39e7d8"
256+
]
257+
}
258+
],
259+
"execution_resources": {
260+
"n_steps": 4854,
261+
"builtin_instance_counter": {
262+
"ecdsa_builtin": 1,
263+
"range_check_builtin": 106,
264+
"pedersen_builtin": 17
265+
},
266+
"n_memory_holes": 0
267+
},
268+
"actual_fee": "0x0"
269+
},
270+
{
271+
"execution_status": "SUCCEEDED",
272+
"transaction_index": 6,
273+
"transaction_hash": "0x72b2d3b79b3da51efe860da954a2f50d23da95f028a456c5356a08e61642754",
274+
"l2_to_l1_messages": [],
275+
"events": [
276+
{
277+
"from_address": "0x4c5772d1914fe6ce891b64eb35bf3522aeae1315647314aac58b01137607f3f",
278+
"keys": [
279+
"0x3774b0545aabb37c45c1eddc6a7dae57de498aae6d5e3589e362d4b4323a533"
280+
],
281+
"data": [
282+
"0x43abaa073c768ebf039c0c4f46db9acc39e9ec165690418060a652aab39e7d8",
283+
"0x43abaa073c768ebf039c0c4f46db9acc39e9ec165690418060a652aab39e7d8"
284+
]
285+
},
286+
{
287+
"from_address": "0x4c5772d1914fe6ce891b64eb35bf3522aeae1315647314aac58b01137607f3f",
288+
"keys": [
289+
"0x4595132f9b33b7077ebf2e7f3eb746a8e0a6d5c337c71cd8f9bf46cac3cfd7"
290+
],
291+
"data": [
292+
"0x43abaa073c768ebf039c0c4f46db9acc39e9ec165690418060a652aab39e7d8"
293+
]
294+
}
295+
],
296+
"execution_resources": {
297+
"n_steps": 4854,
298+
"builtin_instance_counter": {
299+
"ecdsa_builtin": 1,
300+
"pedersen_builtin": 17,
301+
"range_check_builtin": 106
302+
},
303+
"n_memory_holes": 0
304+
},
305+
"actual_fee": "0x0"
306+
}
307+
],
308+
"starknet_version": "0.12.3"
309+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{
2+
"block_hash": "0x78b67b11f8c23850041e11fb0f3b39db0bcb2c99d756d5a81321d1b483d79f6",
3+
"parent_block_hash": "0x5c627d4aeb51280058bed93c7889bce78114d63baad1be0f0aeb32496d5f19c",
4+
"block_number": 1,
5+
"state_root": "0xe005205a1327f3dff98074e528f7b96f30e0624a1dfcf571bdc81948d150a0",
6+
"transaction_commitment": "0x301a3e7f3ae29c3463a5f753da62e63dc0b6738c36cb17e3d1696926457a40c",
7+
"event_commitment": "0x0",
8+
"status": "ACCEPTED_ON_L1",
9+
"l1_da_mode": "CALLDATA",
10+
"l1_gas_price": {
11+
"price_in_wei": "0x3b9ada0f",
12+
"price_in_fri": "0x0"
13+
},
14+
"l1_data_gas_price": {
15+
"price_in_wei": "0x1",
16+
"price_in_fri": "0x1"
17+
},
18+
"transactions": [
19+
{
20+
"transaction_hash": "0x30a541df2547ed9f94602c35daf61ce3a8e179ec75d26cbe34e0ec61f823695",
21+
"version": "0x0",
22+
"max_fee": "0x0",
23+
"signature": [],
24+
"nonce": "0x0",
25+
"class_hash": "0x1b661756bf7d16210fc611626e1af4569baa1781ffc964bd018f4585ae241c1",
26+
"sender_address": "0x1",
27+
"type": "DECLARE"
28+
}
29+
],
30+
"timestamp": 1700474724,
31+
"sequencer_address": "0x1176a1bd84444c89232ec27754698e5d2e7e1a7f1539f12027f28b23ec9f3d8",
32+
"transaction_receipts": [
33+
{
34+
"execution_status": "SUCCEEDED",
35+
"transaction_index": 0,
36+
"transaction_hash": "0x30a541df2547ed9f94602c35daf61ce3a8e179ec75d26cbe34e0ec61f823695",
37+
"l2_to_l1_messages": [],
38+
"events": [],
39+
"execution_resources": {
40+
"n_steps": 2711,
41+
"builtin_instance_counter": {
42+
"pedersen_builtin": 15,
43+
"range_check_builtin": 63
44+
},
45+
"n_memory_holes": 0
46+
},
47+
"actual_fee": "0x0"
48+
}
49+
],
50+
"starknet_version": "0.12.3"
51+
}

0 commit comments

Comments
 (0)