Commit 1ebcb04
blockifier_test_utils: add create_multicall_calldata helper (#14108)
Serializes a sequence of calls as `Array<Call>` for use as Cairo 1 account
multicall calldata. Matches `starknet_rust::accounts::ExecutionEncoding::New`.
Replaces ad-hoc serialization in `prove_and_verify_multicall_tx` and the
private `single_multicall_data` helper in `cende_blob_regression_test`.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 1b941fe commit 1ebcb04
3 files changed
Lines changed: 23 additions & 26 deletions
File tree
- crates
- blockifier_test_utils/src
- central_systest_blobs/src
- starknet_os_flow_tests/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
40 | 53 | | |
41 | 54 | | |
42 | 55 | | |
| |||
Lines changed: 3 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
447 | 447 | | |
448 | 448 | | |
449 | 449 | | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | | - | |
458 | | - | |
459 | 450 | | |
460 | 451 | | |
461 | 452 | | |
| |||
603 | 594 | | |
604 | 595 | | |
605 | 596 | | |
606 | | - | |
| 597 | + | |
| 598 | + | |
607 | 599 | | |
608 | 600 | | |
609 | 601 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | 288 | | |
301 | | - | |
302 | | - | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
303 | 295 | | |
304 | 296 | | |
305 | 297 | | |
| |||
0 commit comments