@aztec/simulator 4.0.0-nightly.20260112 → 4.0.0-nightly.20260113

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/dest/public/avm/opcodes/accrued_substate.d.ts +15 -15
  2. package/dest/public/avm/opcodes/accrued_substate.d.ts.map +1 -1
  3. package/dest/public/avm/opcodes/accrued_substate.js +28 -28
  4. package/dest/public/avm/opcodes/arithmetic.js +1 -1
  5. package/dest/public/avm/opcodes/bitwise.d.ts +3 -3
  6. package/dest/public/avm/opcodes/bitwise.d.ts.map +1 -1
  7. package/dest/public/avm/opcodes/bitwise.js +5 -5
  8. package/dest/public/avm/opcodes/comparators.js +1 -1
  9. package/dest/public/avm/opcodes/contract.d.ts +3 -3
  10. package/dest/public/avm/opcodes/contract.d.ts.map +1 -1
  11. package/dest/public/avm/opcodes/contract.js +4 -4
  12. package/dest/public/avm/opcodes/control_flow.d.ts +3 -3
  13. package/dest/public/avm/opcodes/control_flow.d.ts.map +1 -1
  14. package/dest/public/avm/opcodes/control_flow.js +4 -4
  15. package/dest/public/avm/opcodes/conversion.d.ts +3 -3
  16. package/dest/public/avm/opcodes/conversion.d.ts.map +1 -1
  17. package/dest/public/avm/opcodes/conversion.js +4 -4
  18. package/dest/public/avm/opcodes/ec_add.d.ts +3 -3
  19. package/dest/public/avm/opcodes/ec_add.d.ts.map +1 -1
  20. package/dest/public/avm/opcodes/ec_add.js +4 -4
  21. package/dest/public/avm/opcodes/environment_getters.d.ts +3 -3
  22. package/dest/public/avm/opcodes/environment_getters.d.ts.map +1 -1
  23. package/dest/public/avm/opcodes/environment_getters.js +4 -4
  24. package/dest/public/avm/opcodes/external_calls.d.ts +9 -9
  25. package/dest/public/avm/opcodes/external_calls.d.ts.map +1 -1
  26. package/dest/public/avm/opcodes/external_calls.js +16 -16
  27. package/dest/public/avm/opcodes/hashing.d.ts +7 -7
  28. package/dest/public/avm/opcodes/hashing.d.ts.map +1 -1
  29. package/dest/public/avm/opcodes/hashing.js +12 -12
  30. package/dest/public/avm/opcodes/instruction_impl.d.ts +4 -4
  31. package/dest/public/avm/opcodes/instruction_impl.d.ts.map +1 -1
  32. package/dest/public/avm/opcodes/instruction_impl.js +4 -4
  33. package/dest/public/avm/opcodes/memory.d.ts +13 -13
  34. package/dest/public/avm/opcodes/memory.d.ts.map +1 -1
  35. package/dest/public/avm/opcodes/memory.js +24 -24
  36. package/dest/public/avm/opcodes/misc.d.ts +3 -3
  37. package/dest/public/avm/opcodes/misc.d.ts.map +1 -1
  38. package/dest/public/avm/opcodes/misc.js +4 -4
  39. package/dest/public/avm/opcodes/storage.d.ts +5 -5
  40. package/dest/public/avm/opcodes/storage.d.ts.map +1 -1
  41. package/dest/public/avm/opcodes/storage.js +9 -9
  42. package/dest/public/fixtures/custom_bytecode_tests.d.ts +1 -1
  43. package/dest/public/fixtures/custom_bytecode_tests.d.ts.map +1 -1
  44. package/dest/public/fixtures/custom_bytecode_tests.js +18 -18
  45. package/dest/public/fixtures/minimal_public_tx.js +2 -2
  46. package/dest/public/fixtures/opcode_spammer.d.ts +1 -1
  47. package/dest/public/fixtures/opcode_spammer.d.ts.map +1 -1
  48. package/dest/public/fixtures/opcode_spammer.js +76 -76
  49. package/package.json +16 -16
  50. package/src/public/avm/opcodes/accrued_substate.ts +14 -14
  51. package/src/public/avm/opcodes/arithmetic.ts +1 -1
  52. package/src/public/avm/opcodes/bitwise.ts +3 -3
  53. package/src/public/avm/opcodes/comparators.ts +1 -1
  54. package/src/public/avm/opcodes/contract.ts +3 -3
  55. package/src/public/avm/opcodes/control_flow.ts +2 -2
  56. package/src/public/avm/opcodes/conversion.ts +3 -3
  57. package/src/public/avm/opcodes/ec_add.ts +2 -2
  58. package/src/public/avm/opcodes/environment_getters.ts +3 -3
  59. package/src/public/avm/opcodes/external_calls.ts +9 -9
  60. package/src/public/avm/opcodes/hashing.ts +6 -6
  61. package/src/public/avm/opcodes/instruction_impl.ts +2 -2
  62. package/src/public/avm/opcodes/memory.ts +18 -18
  63. package/src/public/avm/opcodes/misc.ts +2 -2
  64. package/src/public/avm/opcodes/storage.ts +7 -7
  65. package/src/public/fixtures/custom_bytecode_tests.ts +27 -18
  66. package/src/public/fixtures/minimal_public_tx.ts +2 -2
  67. package/src/public/fixtures/opcode_spammer.ts +164 -77
@@ -316,11 +316,11 @@ const MAX_U32 = 0xffffffffn;
316
316
  value: new Uint32(MAX_U32)
317
317
  },
318
318
  ()=>[
319
- new CalldataCopy(/*indirect=*/ 0, /*copySizeOffset=*/ CALL_COPY_SIZE_OFFSET, /*cdStartOffset=*/ CALL_CALLDATA_INDEX_OFFSET, /*dstOffset=*/ CALL_ADDR_OFFSET)
319
+ new CalldataCopy(/*addressing_mode=*/ 0, /*copySizeOffset=*/ CALL_COPY_SIZE_OFFSET, /*cdStartOffset=*/ CALL_CALLDATA_INDEX_OFFSET, /*dstOffset=*/ CALL_ADDR_OFFSET)
320
320
  ]
321
321
  ],
322
322
  targetInstructions: ()=>[
323
- new Call(/*indirect=*/ 0, /*l2GasOffset=*/ CALL_L2_GAS_OFFSET, /*daGasOffset=*/ CALL_DA_GAS_OFFSET, /*addrOffset=*/ CALL_ADDR_OFFSET, /*argsSizeOffset=*/ CALL_ARGS_SIZE_OFFSET, /*argsOffset=*/ CALL_ARGS_OFFSET)
323
+ new Call(/*addressing_mode=*/ 0, /*l2GasOffset=*/ CALL_L2_GAS_OFFSET, /*daGasOffset=*/ CALL_DA_GAS_OFFSET, /*addrOffset=*/ CALL_ADDR_OFFSET, /*argsSizeOffset=*/ CALL_ARGS_SIZE_OFFSET, /*argsOffset=*/ CALL_ARGS_OFFSET)
324
324
  ],
325
325
  addressAsCalldata: true
326
326
  };
@@ -340,11 +340,11 @@ const STATIC_CALL_CONFIG = {
340
340
  value: new Uint32(MAX_U32)
341
341
  },
342
342
  ()=>[
343
- new CalldataCopy(/*indirect=*/ 0, /*copySizeOffset=*/ CALL_COPY_SIZE_OFFSET, /*cdStartOffset=*/ CALL_CALLDATA_INDEX_OFFSET, /*dstOffset=*/ CALL_ADDR_OFFSET)
343
+ new CalldataCopy(/*addressing_mode=*/ 0, /*copySizeOffset=*/ CALL_COPY_SIZE_OFFSET, /*cdStartOffset=*/ CALL_CALLDATA_INDEX_OFFSET, /*dstOffset=*/ CALL_ADDR_OFFSET)
344
344
  ]
345
345
  ],
346
346
  targetInstructions: ()=>[
347
- new StaticCall(/*indirect=*/ 0, /*l2GasOffset=*/ CALL_L2_GAS_OFFSET, /*daGasOffset=*/ CALL_DA_GAS_OFFSET, /*addrOffset=*/ CALL_ADDR_OFFSET, /*argsSizeOffset=*/ CALL_ARGS_SIZE_OFFSET, /*argsOffset=*/ CALL_ARGS_OFFSET)
347
+ new StaticCall(/*addressing_mode=*/ 0, /*l2GasOffset=*/ CALL_L2_GAS_OFFSET, /*daGasOffset=*/ CALL_DA_GAS_OFFSET, /*addrOffset=*/ CALL_ADDR_OFFSET, /*argsSizeOffset=*/ CALL_ARGS_SIZE_OFFSET, /*argsOffset=*/ CALL_ARGS_OFFSET)
348
348
  ],
349
349
  addressAsCalldata: true
350
350
  };
@@ -372,7 +372,7 @@ const STATIC_CALL_CONFIG = {
372
372
  }
373
373
  ],
374
374
  targetInstructions: ()=>[
375
- new Add(/*indirect=*/ 0, /*aOffset=*/ 0, /*bOffset=*/ 1, /*dstOffset=*/ 0).as(Opcode.ADD_8, Add.wireFormat8)
375
+ new Add(/*addressing_mode=*/ 0, /*aOffset=*/ 0, /*bOffset=*/ 1, /*dstOffset=*/ 0).as(Opcode.ADD_8, Add.wireFormat8)
376
376
  ]
377
377
  })),
378
378
  [Opcode.SUB_8]: ALL_TAGS.map((tag)=>({
@@ -388,7 +388,7 @@ const STATIC_CALL_CONFIG = {
388
388
  }
389
389
  ],
390
390
  targetInstructions: ()=>[
391
- new Sub(/*indirect=*/ 0, /*aOffset=*/ 0, /*bOffset=*/ 1, /*dstOffset=*/ 0).as(Opcode.SUB_8, Sub.wireFormat8)
391
+ new Sub(/*addressing_mode=*/ 0, /*aOffset=*/ 0, /*bOffset=*/ 1, /*dstOffset=*/ 0).as(Opcode.SUB_8, Sub.wireFormat8)
392
392
  ]
393
393
  })),
394
394
  [Opcode.MUL_8]: ALL_TAGS.map((tag)=>({
@@ -404,7 +404,7 @@ const STATIC_CALL_CONFIG = {
404
404
  }
405
405
  ],
406
406
  targetInstructions: ()=>[
407
- new Mul(/*indirect=*/ 0, /*aOffset=*/ 0, /*bOffset=*/ 1, /*dstOffset=*/ 0).as(Opcode.MUL_8, Mul.wireFormat8)
407
+ new Mul(/*addressing_mode=*/ 0, /*aOffset=*/ 0, /*bOffset=*/ 1, /*dstOffset=*/ 0).as(Opcode.MUL_8, Mul.wireFormat8)
408
408
  ]
409
409
  })),
410
410
  // DIV doesn't support FIELD type
@@ -421,7 +421,7 @@ const STATIC_CALL_CONFIG = {
421
421
  }
422
422
  ],
423
423
  targetInstructions: ()=>[
424
- new Div(/*indirect=*/ 0, /*aOffset=*/ 0, /*bOffset=*/ 1, /*dstOffset=*/ 0).as(Opcode.DIV_8, Div.wireFormat8)
424
+ new Div(/*addressing_mode=*/ 0, /*aOffset=*/ 0, /*bOffset=*/ 1, /*dstOffset=*/ 0).as(Opcode.DIV_8, Div.wireFormat8)
425
425
  ]
426
426
  })),
427
427
  // Field-only
@@ -438,7 +438,7 @@ const STATIC_CALL_CONFIG = {
438
438
  }
439
439
  ],
440
440
  targetInstructions: ()=>[
441
- new FieldDiv(/*indirect=*/ 0, /*aOffset=*/ 0, /*bOffset=*/ 1, /*dstOffset=*/ 0).as(Opcode.FDIV_8, FieldDiv.wireFormat8)
441
+ new FieldDiv(/*addressing_mode=*/ 0, /*aOffset=*/ 0, /*bOffset=*/ 1, /*dstOffset=*/ 0).as(Opcode.FDIV_8, FieldDiv.wireFormat8)
442
442
  ]
443
443
  }
444
444
  ],
@@ -458,7 +458,7 @@ const STATIC_CALL_CONFIG = {
458
458
  }
459
459
  ],
460
460
  targetInstructions: ()=>[
461
- new Eq(/*indirect=*/ 0, /*aOffset=*/ 0, /*bOffset=*/ 1, /*dstOffset=*/ 2).as(Opcode.EQ_8, Eq.wireFormat8)
461
+ new Eq(/*addressing_mode=*/ 0, /*aOffset=*/ 0, /*bOffset=*/ 1, /*dstOffset=*/ 2).as(Opcode.EQ_8, Eq.wireFormat8)
462
462
  ]
463
463
  })),
464
464
  [Opcode.LT_8]: ALL_TAGS.map((tag)=>({
@@ -474,7 +474,7 @@ const STATIC_CALL_CONFIG = {
474
474
  }
475
475
  ],
476
476
  targetInstructions: ()=>[
477
- new Lt(/*indirect=*/ 0, /*aOffset=*/ 0, /*bOffset=*/ 1, /*dstOffset=*/ 2).as(Opcode.LT_8, Lt.wireFormat8)
477
+ new Lt(/*addressing_mode=*/ 0, /*aOffset=*/ 0, /*bOffset=*/ 1, /*dstOffset=*/ 2).as(Opcode.LT_8, Lt.wireFormat8)
478
478
  ]
479
479
  })),
480
480
  [Opcode.LTE_8]: ALL_TAGS.map((tag)=>({
@@ -490,7 +490,7 @@ const STATIC_CALL_CONFIG = {
490
490
  }
491
491
  ],
492
492
  targetInstructions: ()=>[
493
- new Lte(/*indirect=*/ 0, /*aOffset=*/ 0, /*bOffset=*/ 1, /*dstOffset=*/ 2).as(Opcode.LTE_8, Lte.wireFormat8)
493
+ new Lte(/*addressing_mode=*/ 0, /*aOffset=*/ 0, /*bOffset=*/ 1, /*dstOffset=*/ 2).as(Opcode.LTE_8, Lte.wireFormat8)
494
494
  ]
495
495
  })),
496
496
  // ═══════════════════════════════════════════════════════════════════════════
@@ -509,7 +509,7 @@ const STATIC_CALL_CONFIG = {
509
509
  }
510
510
  ],
511
511
  targetInstructions: ()=>[
512
- new And(/*indirect=*/ 0, /*aOffset=*/ 0, /*bOffset=*/ 1, /*dstOffset=*/ 0).as(Opcode.AND_8, And.wireFormat8)
512
+ new And(/*addressing_mode=*/ 0, /*aOffset=*/ 0, /*bOffset=*/ 1, /*dstOffset=*/ 0).as(Opcode.AND_8, And.wireFormat8)
513
513
  ]
514
514
  })),
515
515
  [Opcode.OR_8]: INT_TAGS.map((tag)=>({
@@ -525,7 +525,7 @@ const STATIC_CALL_CONFIG = {
525
525
  }
526
526
  ],
527
527
  targetInstructions: ()=>[
528
- new Or(/*indirect=*/ 0, /*aOffset=*/ 0, /*bOffset=*/ 1, /*dstOffset=*/ 0).as(Opcode.OR_8, Or.wireFormat8)
528
+ new Or(/*addressing_mode=*/ 0, /*aOffset=*/ 0, /*bOffset=*/ 1, /*dstOffset=*/ 0).as(Opcode.OR_8, Or.wireFormat8)
529
529
  ]
530
530
  })),
531
531
  [Opcode.XOR_8]: INT_TAGS.map((tag)=>({
@@ -541,7 +541,7 @@ const STATIC_CALL_CONFIG = {
541
541
  }
542
542
  ],
543
543
  targetInstructions: ()=>[
544
- new Xor(/*indirect=*/ 0, /*aOffset=*/ 0, /*bOffset=*/ 1, /*dstOffset=*/ 0).as(Opcode.XOR_8, Xor.wireFormat8)
544
+ new Xor(/*addressing_mode=*/ 0, /*aOffset=*/ 0, /*bOffset=*/ 1, /*dstOffset=*/ 0).as(Opcode.XOR_8, Xor.wireFormat8)
545
545
  ]
546
546
  })),
547
547
  [Opcode.NOT_8]: INT_TAGS.map((tag)=>({
@@ -553,7 +553,7 @@ const STATIC_CALL_CONFIG = {
553
553
  }
554
554
  ],
555
555
  targetInstructions: ()=>[
556
- new Not(/*indirect=*/ 0, /*srcOffset=*/ 0, /*dstOffset=*/ 0).as(Opcode.NOT_8, Not.wireFormat8)
556
+ new Not(/*addressing_mode=*/ 0, /*srcOffset=*/ 0, /*dstOffset=*/ 0).as(Opcode.NOT_8, Not.wireFormat8)
557
557
  ]
558
558
  })),
559
559
  [Opcode.SHL_8]: INT_TAGS.map((tag)=>({
@@ -569,7 +569,7 @@ const STATIC_CALL_CONFIG = {
569
569
  }
570
570
  ],
571
571
  targetInstructions: ()=>[
572
- new Shl(/*indirect=*/ 0, /*aOffset=*/ 0, /*bOffset=*/ 1, /*dstOffset=*/ 0).as(Opcode.SHL_8, Shl.wireFormat8)
572
+ new Shl(/*addressing_mode=*/ 0, /*aOffset=*/ 0, /*bOffset=*/ 1, /*dstOffset=*/ 0).as(Opcode.SHL_8, Shl.wireFormat8)
573
573
  ]
574
574
  })),
575
575
  [Opcode.SHR_8]: INT_TAGS.map((tag)=>({
@@ -585,7 +585,7 @@ const STATIC_CALL_CONFIG = {
585
585
  }
586
586
  ],
587
587
  targetInstructions: ()=>[
588
- new Shr(/*indirect=*/ 0, /*aOffset=*/ 0, /*bOffset=*/ 1, /*dstOffset=*/ 0).as(Opcode.SHR_8, Shr.wireFormat8)
588
+ new Shr(/*addressing_mode=*/ 0, /*aOffset=*/ 0, /*bOffset=*/ 1, /*dstOffset=*/ 0).as(Opcode.SHR_8, Shr.wireFormat8)
589
589
  ]
590
590
  })),
591
591
  // ═══════════════════════════════════════════════════════════════════════════
@@ -600,7 +600,7 @@ const STATIC_CALL_CONFIG = {
600
600
  }
601
601
  ],
602
602
  targetInstructions: ()=>[
603
- new Cast(/*indirect=*/ 0, /*srcOffset=*/ 0, /*dstOffset=*/ 1, /*dstTag=*/ TypeTag.UINT32).as(Opcode.CAST_8, Cast.wireFormat8)
603
+ new Cast(/*addressing_mode=*/ 0, /*srcOffset=*/ 0, /*dstOffset=*/ 1, /*dstTag=*/ TypeTag.UINT32).as(Opcode.CAST_8, Cast.wireFormat8)
604
604
  ]
605
605
  })),
606
606
  [Opcode.MOV_8]: ALL_TAGS.map((tag)=>({
@@ -612,7 +612,7 @@ const STATIC_CALL_CONFIG = {
612
612
  }
613
613
  ],
614
614
  targetInstructions: ()=>[
615
- new Mov(/*indirect=*/ 0, /*srcOffset=*/ 0, /*dstOffset=*/ 1).as(Opcode.MOV_8, Mov.wireFormat8)
615
+ new Mov(/*addressing_mode=*/ 0, /*srcOffset=*/ 0, /*dstOffset=*/ 1).as(Opcode.MOV_8, Mov.wireFormat8)
616
616
  ]
617
617
  })),
618
618
  // ═══════════════════════════════════════════════════════════════════════════
@@ -648,7 +648,7 @@ const STATIC_CALL_CONFIG = {
648
648
  {
649
649
  setup: [],
650
650
  targetInstructions: ()=>[
651
- new Set(/*indirect=*/ 0, /*dstOffset=*/ 0, /*inTag=*/ TypeTag.UINT128, /*value=*/ 4242424242424242n).as(Opcode.SET_128, Set.wireFormat128)
651
+ new Set(/*addressing_mode=*/ 0, /*dstOffset=*/ 0, /*inTag=*/ TypeTag.UINT128, /*value=*/ 4242424242424242n).as(Opcode.SET_128, Set.wireFormat128)
652
652
  ]
653
653
  }
654
654
  ],
@@ -679,7 +679,7 @@ const STATIC_CALL_CONFIG = {
679
679
  }
680
680
  ],
681
681
  targetInstructions: ()=>[
682
- new JumpI(/*indirect=*/ 0, /*condOffset=*/ 0, /*loc=*/ 0)
682
+ new JumpI(/*addressing_mode=*/ 0, /*condOffset=*/ 0, /*loc=*/ 0)
683
683
  ]
684
684
  }
685
685
  ],
@@ -725,7 +725,7 @@ const STATIC_CALL_CONFIG = {
725
725
  }
726
726
  ],
727
727
  targetInstructions: ()=>[
728
- new Return(/*indirect=*/ 0, /*returnSizeOffset=*/ 0, /*returnOffset=*/ 0)
728
+ new Return(/*addressing_mode=*/ 0, /*returnSizeOffset=*/ 0, /*returnOffset=*/ 0)
729
729
  ],
730
730
  // Use the side-effect-limit pattern (even though it's not a side-effect) as it fits
731
731
  // this case (we want to CALL, RETURN, then CALL again back in parent). We omit "cleanup"
@@ -744,7 +744,7 @@ const STATIC_CALL_CONFIG = {
744
744
  }
745
745
  ],
746
746
  targetInstructions: ()=>[
747
- new Revert(/*indirect=*/ 0, /*retSizeOffset=*/ 0, /*returnOffset=*/ 1).as(Opcode.REVERT_8, Revert.wireFormat8)
747
+ new Revert(/*addressing_mode=*/ 0, /*retSizeOffset=*/ 0, /*returnOffset=*/ 1).as(Opcode.REVERT_8, Revert.wireFormat8)
748
748
  ],
749
749
  limit: 1
750
750
  }
@@ -756,7 +756,7 @@ const STATIC_CALL_CONFIG = {
756
756
  {
757
757
  setup: [],
758
758
  targetInstructions: ()=>[
759
- new GetEnvVar(/*indirect=*/ 0, /*dstOffset=*/ 0, /*varEnum=*/ 0).as(Opcode.GETENVVAR_16, GetEnvVar.wireFormat16)
759
+ new GetEnvVar(/*addressing_mode=*/ 0, /*dstOffset=*/ 0, /*varEnum=*/ 0).as(Opcode.GETENVVAR_16, GetEnvVar.wireFormat16)
760
760
  ]
761
761
  }
762
762
  ],
@@ -776,7 +776,7 @@ const STATIC_CALL_CONFIG = {
776
776
  }
777
777
  ],
778
778
  targetInstructions: ()=>[
779
- new CalldataCopy(/*indirect=*/ 0, /*copySizeOffset=*/ 0, /*cdStartOffset=*/ 1, /*dstOffset=*/ 2)
779
+ new CalldataCopy(/*addressing_mode=*/ 0, /*copySizeOffset=*/ 0, /*cdStartOffset=*/ 1, /*dstOffset=*/ 2)
780
780
  ]
781
781
  },
782
782
  {
@@ -795,7 +795,7 @@ const STATIC_CALL_CONFIG = {
795
795
  }
796
796
  ],
797
797
  targetInstructions: ()=>[
798
- new CalldataCopy(/*indirect=*/ 0, /*copySizeOffset=*/ 0, /*cdStartOffset=*/ 1, /*dstOffset=*/ 2)
798
+ new CalldataCopy(/*addressing_mode=*/ 0, /*copySizeOffset=*/ 0, /*cdStartOffset=*/ 1, /*dstOffset=*/ 2)
799
799
  ]
800
800
  },
801
801
  {
@@ -812,7 +812,7 @@ const STATIC_CALL_CONFIG = {
812
812
  }
813
813
  ],
814
814
  targetInstructions: ()=>[
815
- new CalldataCopy(/*indirect=*/ 0, /*copySizeOffset=*/ 0, /*cdStartOffset=*/ 1, /*dstOffset=*/ 2)
815
+ new CalldataCopy(/*addressing_mode=*/ 0, /*copySizeOffset=*/ 0, /*cdStartOffset=*/ 1, /*dstOffset=*/ 2)
816
816
  ]
817
817
  }
818
818
  ],
@@ -820,7 +820,7 @@ const STATIC_CALL_CONFIG = {
820
820
  {
821
821
  setup: [],
822
822
  targetInstructions: ()=>[
823
- new SuccessCopy(/*indirect=*/ 0, /*dstOffset=*/ 0)
823
+ new SuccessCopy(/*addressing_mode=*/ 0, /*dstOffset=*/ 0)
824
824
  ]
825
825
  }
826
826
  ],
@@ -828,7 +828,7 @@ const STATIC_CALL_CONFIG = {
828
828
  {
829
829
  setup: [],
830
830
  targetInstructions: ()=>[
831
- new ReturndataSize(/*indirect=*/ 0, /*dstOffset=*/ 0)
831
+ new ReturndataSize(/*addressing_mode=*/ 0, /*dstOffset=*/ 0)
832
832
  ]
833
833
  }
834
834
  ],
@@ -847,7 +847,7 @@ const STATIC_CALL_CONFIG = {
847
847
  }
848
848
  ],
849
849
  targetInstructions: ()=>[
850
- new ReturndataCopy(/*indirect=*/ 0, /*copySizeOffset=*/ 0, /*rdStartOffset=*/ 1, /*dstOffset=*/ 2)
850
+ new ReturndataCopy(/*addressing_mode=*/ 0, /*copySizeOffset=*/ 0, /*rdStartOffset=*/ 1, /*dstOffset=*/ 2)
851
851
  ]
852
852
  },
853
853
  {
@@ -866,7 +866,7 @@ const STATIC_CALL_CONFIG = {
866
866
  }
867
867
  ],
868
868
  targetInstructions: ()=>[
869
- new ReturndataCopy(/*indirect=*/ 0, /*copySizeOffset=*/ 0, /*rdStartOffset=*/ 1, /*dstOffset=*/ 2)
869
+ new ReturndataCopy(/*addressing_mode=*/ 0, /*copySizeOffset=*/ 0, /*rdStartOffset=*/ 1, /*dstOffset=*/ 2)
870
870
  ]
871
871
  },
872
872
  {
@@ -883,7 +883,7 @@ const STATIC_CALL_CONFIG = {
883
883
  }
884
884
  ],
885
885
  targetInstructions: ()=>[
886
- new ReturndataCopy(/*indirect=*/ 0, /*copySizeOffset=*/ 0, /*rdStartOffset=*/ 1, /*dstOffset=*/ 2)
886
+ new ReturndataCopy(/*addressing_mode=*/ 0, /*copySizeOffset=*/ 0, /*rdStartOffset=*/ 1, /*dstOffset=*/ 2)
887
887
  ]
888
888
  }
889
889
  ],
@@ -900,7 +900,7 @@ const STATIC_CALL_CONFIG = {
900
900
  }
901
901
  ],
902
902
  targetInstructions: ()=>[
903
- new SLoad(/*indirect=*/ 0, /*slotOffset=*/ 0, /*dstOffset=*/ 1)
903
+ new SLoad(/*addressing_mode=*/ 0, /*slotOffset=*/ 0, /*dstOffset=*/ 1)
904
904
  ]
905
905
  },
906
906
  {
@@ -913,7 +913,7 @@ const STATIC_CALL_CONFIG = {
913
913
  }
914
914
  ],
915
915
  targetInstructions: ()=>[
916
- new SLoad(/*indirect=*/ 0, /*slotOffset=*/ 0, /*dstOffset=*/ 1)
916
+ new SLoad(/*addressing_mode=*/ 0, /*slotOffset=*/ 0, /*dstOffset=*/ 1)
917
917
  ]
918
918
  },
919
919
  {
@@ -938,12 +938,12 @@ const STATIC_CALL_CONFIG = {
938
938
  }
939
939
  ],
940
940
  targetInstructions: ()=>[
941
- new SStore(/*indirect=*/ 0, /*srcOffset=*/ 1, /*slotOffset=*/ 0),
942
- new SLoad(/*indirect=*/ 0, /*slotOffset=*/ 0, /*dstOffset=*/ 4),
943
- new Add(/*indirect=*/ 0, /*aOffset=*/ 0, /*bOffset=*/ 2, /*dstOffset=*/ 0).as(Opcode.ADD_8, Add.wireFormat8)
941
+ new SStore(/*addressing_mode=*/ 0, /*srcOffset=*/ 1, /*slotOffset=*/ 0),
942
+ new SLoad(/*addressing_mode=*/ 0, /*slotOffset=*/ 0, /*dstOffset=*/ 4),
943
+ new Add(/*addressing_mode=*/ 0, /*aOffset=*/ 0, /*bOffset=*/ 2, /*dstOffset=*/ 0).as(Opcode.ADD_8, Add.wireFormat8)
944
944
  ],
945
945
  cleanupInstructions: ()=>[
946
- new Revert(/*indirect=*/ 0, /*retSizeOffset=*/ 3, /*returnOffset=*/ 0).as(Opcode.REVERT_8, Revert.wireFormat8)
946
+ new Revert(/*addressing_mode=*/ 0, /*retSizeOffset=*/ 3, /*returnOffset=*/ 0).as(Opcode.REVERT_8, Revert.wireFormat8)
947
947
  ],
948
948
  limit: MAX_PUBLIC_DATA_UPDATE_REQUESTS_PER_TX
949
949
  }
@@ -964,7 +964,7 @@ const STATIC_CALL_CONFIG = {
964
964
  }
965
965
  ],
966
966
  targetInstructions: ()=>[
967
- new NoteHashExists(/*indirect=*/ 0, /*noteHashOffset=*/ 0, /*leafIndexOffset=*/ 1, /*existsOffset=*/ 2)
967
+ new NoteHashExists(/*addressing_mode=*/ 0, /*noteHashOffset=*/ 0, /*leafIndexOffset=*/ 1, /*existsOffset=*/ 2)
968
968
  ]
969
969
  },
970
970
  {
@@ -981,7 +981,7 @@ const STATIC_CALL_CONFIG = {
981
981
  }
982
982
  ],
983
983
  targetInstructions: ()=>[
984
- new NoteHashExists(/*indirect=*/ 0, /*noteHashOffset=*/ 0, /*leafIndexOffset=*/ 1, /*existsOffset=*/ 2)
984
+ new NoteHashExists(/*addressing_mode=*/ 0, /*noteHashOffset=*/ 0, /*leafIndexOffset=*/ 1, /*existsOffset=*/ 2)
985
985
  ]
986
986
  }
987
987
  ],
@@ -999,7 +999,7 @@ const STATIC_CALL_CONFIG = {
999
999
  }
1000
1000
  ],
1001
1001
  targetInstructions: ()=>[
1002
- new NullifierExists(/*indirect=*/ 0, /*nullifierOffset=*/ 0, /*addressOffset=*/ 1, /*existsOffset=*/ 2)
1002
+ new NullifierExists(/*addressing_mode=*/ 0, /*nullifierOffset=*/ 0, /*addressOffset=*/ 1, /*existsOffset=*/ 2)
1003
1003
  ]
1004
1004
  },
1005
1005
  {
@@ -1016,7 +1016,7 @@ const STATIC_CALL_CONFIG = {
1016
1016
  }
1017
1017
  ],
1018
1018
  targetInstructions: ()=>[
1019
- new NullifierExists(/*indirect=*/ 0, /*nullifierOffset=*/ 0, /*addressOffset=*/ 1, /*existsOffset=*/ 2)
1019
+ new NullifierExists(/*addressing_mode=*/ 0, /*nullifierOffset=*/ 0, /*addressOffset=*/ 1, /*existsOffset=*/ 2)
1020
1020
  ]
1021
1021
  },
1022
1022
  {
@@ -1033,7 +1033,7 @@ const STATIC_CALL_CONFIG = {
1033
1033
  },
1034
1034
  ()=>[
1035
1035
  // Get current contract address into offset 2
1036
- new GetEnvVar(/*indirect=*/ 0, /*dstOffset=*/ 2, /*varEnum=*/ 0).as(Opcode.GETENVVAR_16, GetEnvVar.wireFormat16)
1036
+ new GetEnvVar(/*addressing_mode=*/ 0, /*dstOffset=*/ 2, /*varEnum=*/ 0).as(Opcode.GETENVVAR_16, GetEnvVar.wireFormat16)
1037
1037
  ],
1038
1038
  {
1039
1039
  offset: 3,
@@ -1041,12 +1041,12 @@ const STATIC_CALL_CONFIG = {
1041
1041
  }
1042
1042
  ],
1043
1043
  targetInstructions: ()=>[
1044
- new EmitNullifier(/*indirect=*/ 0, /*nullifierOffset=*/ 0),
1045
- new NullifierExists(/*indirect=*/ 0, /*nullifierOffset=*/ 0, /*addressOffset=*/ 2, /*existsOffset=*/ 4),
1046
- new Add(/*indirect=*/ 0, /*aOffset=*/ 0, /*bOffset=*/ 1, /*dstOffset=*/ 0).as(Opcode.ADD_8, Add.wireFormat8)
1044
+ new EmitNullifier(/*addressing_mode=*/ 0, /*nullifierOffset=*/ 0),
1045
+ new NullifierExists(/*addressing_mode=*/ 0, /*nullifierOffset=*/ 0, /*addressOffset=*/ 2, /*existsOffset=*/ 4),
1046
+ new Add(/*addressing_mode=*/ 0, /*aOffset=*/ 0, /*bOffset=*/ 1, /*dstOffset=*/ 0).as(Opcode.ADD_8, Add.wireFormat8)
1047
1047
  ],
1048
1048
  cleanupInstructions: ()=>[
1049
- new Revert(/*indirect=*/ 0, /*retSizeOffset=*/ 3, /*returnOffset=*/ 0).as(Opcode.REVERT_8, Revert.wireFormat8)
1049
+ new Revert(/*addressing_mode=*/ 0, /*retSizeOffset=*/ 3, /*returnOffset=*/ 0).as(Opcode.REVERT_8, Revert.wireFormat8)
1050
1050
  ],
1051
1051
  limit: MAX_NULLIFIERS_PER_TX - 1
1052
1052
  }
@@ -1065,7 +1065,7 @@ const STATIC_CALL_CONFIG = {
1065
1065
  }
1066
1066
  ],
1067
1067
  targetInstructions: ()=>[
1068
- new L1ToL2MessageExists(/*indirect=*/ 0, /*msgHashOffset=*/ 0, /*msgLeafIndexOffset=*/ 1, /*existsOffset=*/ 2)
1068
+ new L1ToL2MessageExists(/*addressing_mode=*/ 0, /*msgHashOffset=*/ 0, /*msgLeafIndexOffset=*/ 1, /*existsOffset=*/ 2)
1069
1069
  ]
1070
1070
  },
1071
1071
  {
@@ -1082,7 +1082,7 @@ const STATIC_CALL_CONFIG = {
1082
1082
  }
1083
1083
  ],
1084
1084
  targetInstructions: ()=>[
1085
- new L1ToL2MessageExists(/*indirect=*/ 0, /*msgHashOffset=*/ 0, /*msgLeafIndexOffset=*/ 1, /*existsOffset=*/ 2)
1085
+ new L1ToL2MessageExists(/*addressing_mode=*/ 0, /*msgHashOffset=*/ 0, /*msgLeafIndexOffset=*/ 1, /*existsOffset=*/ 2)
1086
1086
  ]
1087
1087
  }
1088
1088
  ],
@@ -1092,12 +1092,12 @@ const STATIC_CALL_CONFIG = {
1092
1092
  // This ensures we're querying a valid deployed contract
1093
1093
  setup: [
1094
1094
  ()=>[
1095
- new GetEnvVar(/*indirect=*/ 0, /*dstOffset=*/ 0, /*varEnum=*/ 0).as(Opcode.GETENVVAR_16, GetEnvVar.wireFormat16)
1095
+ new GetEnvVar(/*addressing_mode=*/ 0, /*dstOffset=*/ 0, /*varEnum=*/ 0).as(Opcode.GETENVVAR_16, GetEnvVar.wireFormat16)
1096
1096
  ]
1097
1097
  ],
1098
1098
  // memberEnum 0 = DEPLOYER
1099
1099
  targetInstructions: ()=>[
1100
- new GetContractInstance(/*indirect=*/ 0, /*addressOffset=*/ 0, /*dstOffset=*/ 1, /*memberEnum=*/ 0)
1100
+ new GetContractInstance(/*addressing_mode=*/ 0, /*addressOffset=*/ 0, /*dstOffset=*/ 1, /*memberEnum=*/ 0)
1101
1101
  ]
1102
1102
  }
1103
1103
  ],
@@ -1117,10 +1117,10 @@ const STATIC_CALL_CONFIG = {
1117
1117
  }
1118
1118
  ],
1119
1119
  targetInstructions: ()=>[
1120
- new EmitNoteHash(/*indirect=*/ 0, /*noteHashOffset=*/ 0)
1120
+ new EmitNoteHash(/*addressing_mode=*/ 0, /*noteHashOffset=*/ 0)
1121
1121
  ],
1122
1122
  cleanupInstructions: ()=>[
1123
- new Revert(/*indirect=*/ 0, /*retSizeOffset=*/ 1, /*returnOffset=*/ 0).as(Opcode.REVERT_8, Revert.wireFormat8)
1123
+ new Revert(/*addressing_mode=*/ 0, /*retSizeOffset=*/ 1, /*returnOffset=*/ 0).as(Opcode.REVERT_8, Revert.wireFormat8)
1124
1124
  ],
1125
1125
  limit: MAX_NOTE_HASHES_PER_TX
1126
1126
  }
@@ -1144,11 +1144,11 @@ const STATIC_CALL_CONFIG = {
1144
1144
  }
1145
1145
  ],
1146
1146
  targetInstructions: ()=>[
1147
- new EmitNullifier(/*indirect=*/ 0, /*nullifierOffset=*/ 0),
1148
- new Add(/*indirect=*/ 0, /*aOffset=*/ 0, /*bOffset=*/ 1, /*dstOffset=*/ 0).as(Opcode.ADD_8, Add.wireFormat8)
1147
+ new EmitNullifier(/*addressing_mode=*/ 0, /*nullifierOffset=*/ 0),
1148
+ new Add(/*addressing_mode=*/ 0, /*aOffset=*/ 0, /*bOffset=*/ 1, /*dstOffset=*/ 0).as(Opcode.ADD_8, Add.wireFormat8)
1149
1149
  ],
1150
1150
  cleanupInstructions: ()=>[
1151
- new Revert(/*indirect=*/ 0, /*retSizeOffset=*/ 2, /*returnOffset=*/ 0).as(Opcode.REVERT_8, Revert.wireFormat8)
1151
+ new Revert(/*addressing_mode=*/ 0, /*retSizeOffset=*/ 2, /*returnOffset=*/ 0).as(Opcode.REVERT_8, Revert.wireFormat8)
1152
1152
  ],
1153
1153
  limit: MAX_NULLIFIERS_PER_TX - 1
1154
1154
  }
@@ -1170,10 +1170,10 @@ const STATIC_CALL_CONFIG = {
1170
1170
  }
1171
1171
  ],
1172
1172
  targetInstructions: ()=>[
1173
- new SendL2ToL1Message(/*indirect=*/ 0, /*recipientOffset=*/ 0, /*contentOffset=*/ 1)
1173
+ new SendL2ToL1Message(/*addressing_mode=*/ 0, /*recipientOffset=*/ 0, /*contentOffset=*/ 1)
1174
1174
  ],
1175
1175
  cleanupInstructions: ()=>[
1176
- new Revert(/*indirect=*/ 0, /*retSizeOffset=*/ 2, /*returnOffset=*/ 0).as(Opcode.REVERT_8, Revert.wireFormat8)
1176
+ new Revert(/*addressing_mode=*/ 0, /*retSizeOffset=*/ 2, /*returnOffset=*/ 0).as(Opcode.REVERT_8, Revert.wireFormat8)
1177
1177
  ],
1178
1178
  limit: MAX_L2_TO_L1_MSGS_PER_TX
1179
1179
  }
@@ -1199,10 +1199,10 @@ const STATIC_CALL_CONFIG = {
1199
1199
  }
1200
1200
  ],
1201
1201
  targetInstructions: ()=>[
1202
- new SStore(/*indirect=*/ 0, /*srcOffset=*/ 0, /*slotOffset=*/ 1)
1202
+ new SStore(/*addressing_mode=*/ 0, /*srcOffset=*/ 0, /*slotOffset=*/ 1)
1203
1203
  ],
1204
1204
  cleanupInstructions: ()=>[
1205
- new Revert(/*indirect=*/ 0, /*retSizeOffset=*/ 2, /*returnOffset=*/ 0).as(Opcode.REVERT_8, Revert.wireFormat8)
1205
+ new Revert(/*addressing_mode=*/ 0, /*retSizeOffset=*/ 2, /*returnOffset=*/ 0).as(Opcode.REVERT_8, Revert.wireFormat8)
1206
1206
  ]
1207
1207
  },
1208
1208
  {
@@ -1226,11 +1226,11 @@ const STATIC_CALL_CONFIG = {
1226
1226
  }
1227
1227
  ],
1228
1228
  targetInstructions: ()=>[
1229
- new SStore(/*indirect=*/ 0, /*srcOffset=*/ 0, /*slotOffset=*/ 1),
1230
- new Add(/*indirect=*/ 0, /*aOffset=*/ 1, /*bOffset=*/ 2, /*dstOffset=*/ 1).as(Opcode.ADD_8, Add.wireFormat8)
1229
+ new SStore(/*addressing_mode=*/ 0, /*srcOffset=*/ 0, /*slotOffset=*/ 1),
1230
+ new Add(/*addressing_mode=*/ 0, /*aOffset=*/ 1, /*bOffset=*/ 2, /*dstOffset=*/ 1).as(Opcode.ADD_8, Add.wireFormat8)
1231
1231
  ],
1232
1232
  cleanupInstructions: ()=>[
1233
- new Revert(/*indirect=*/ 0, /*retSizeOffset=*/ 3, /*returnOffset=*/ 0).as(Opcode.REVERT_8, Revert.wireFormat8)
1233
+ new Revert(/*addressing_mode=*/ 0, /*retSizeOffset=*/ 3, /*returnOffset=*/ 0).as(Opcode.REVERT_8, Revert.wireFormat8)
1234
1234
  ],
1235
1235
  limit: MAX_PUBLIC_DATA_UPDATE_REQUESTS_PER_TX
1236
1236
  }
@@ -1250,10 +1250,10 @@ const STATIC_CALL_CONFIG = {
1250
1250
  }
1251
1251
  ],
1252
1252
  targetInstructions: ()=>[
1253
- new EmitUnencryptedLog(/*indirect=*/ 0, /*logSizeOffset=*/ 0, /*logOffset=*/ 1)
1253
+ new EmitUnencryptedLog(/*addressing_mode=*/ 0, /*logSizeOffset=*/ 0, /*logOffset=*/ 1)
1254
1254
  ],
1255
1255
  cleanupInstructions: ()=>[
1256
- new Revert(/*indirect=*/ 0, /*retSizeOffset=*/ 1, /*returnOffset=*/ 0).as(Opcode.REVERT_8, Revert.wireFormat8)
1256
+ new Revert(/*addressing_mode=*/ 0, /*retSizeOffset=*/ 1, /*returnOffset=*/ 0).as(Opcode.REVERT_8, Revert.wireFormat8)
1257
1257
  ],
1258
1258
  // Max logs with 0-field content: floor(4096 / 2) = 2048
1259
1259
  limit: Math.floor(FLAT_PUBLIC_LOGS_PAYLOAD_LENGTH / PUBLIC_LOG_HEADER_LENGTH)
@@ -1272,10 +1272,10 @@ const STATIC_CALL_CONFIG = {
1272
1272
  }
1273
1273
  ],
1274
1274
  targetInstructions: ()=>[
1275
- new EmitUnencryptedLog(/*indirect=*/ 0, /*logSizeOffset=*/ 0, /*logOffset=*/ 2)
1275
+ new EmitUnencryptedLog(/*addressing_mode=*/ 0, /*logSizeOffset=*/ 0, /*logOffset=*/ 2)
1276
1276
  ],
1277
1277
  cleanupInstructions: ()=>[
1278
- new Revert(/*indirect=*/ 0, /*retSizeOffset=*/ 1, /*returnOffset=*/ 0).as(Opcode.REVERT_8, Revert.wireFormat8)
1278
+ new Revert(/*addressing_mode=*/ 0, /*retSizeOffset=*/ 1, /*returnOffset=*/ 0).as(Opcode.REVERT_8, Revert.wireFormat8)
1279
1279
  ],
1280
1280
  limit: 1
1281
1281
  }
@@ -1294,7 +1294,7 @@ const STATIC_CALL_CONFIG = {
1294
1294
  })),
1295
1295
  // Poseidon hash data at M[0..3], write result to M[0:3] (reuse results as next inputs)
1296
1296
  targetInstructions: ()=>[
1297
- new Poseidon2(/*indirect=*/ 0, /*inputStateOffset=*/ 0, /*outputStateOffset=*/ 0)
1297
+ new Poseidon2(/*addressing_mode=*/ 0, /*inputStateOffset=*/ 0, /*outputStateOffset=*/ 0)
1298
1298
  ]
1299
1299
  }
1300
1300
  ],
@@ -1317,7 +1317,7 @@ const STATIC_CALL_CONFIG = {
1317
1317
  }))
1318
1318
  ],
1319
1319
  targetInstructions: ()=>[
1320
- new Sha256Compression(/*indirect=*/ 0, /*outputOffset=*/ 0, /*stateOffset=*/ 0, /*inputsOffset=*/ 8)
1320
+ new Sha256Compression(/*addressing_mode=*/ 0, /*outputOffset=*/ 0, /*stateOffset=*/ 0, /*inputsOffset=*/ 8)
1321
1321
  ]
1322
1322
  }
1323
1323
  ],
@@ -1331,7 +1331,7 @@ const STATIC_CALL_CONFIG = {
1331
1331
  value: randomWithTag(TypeTag.UINT64)
1332
1332
  })),
1333
1333
  targetInstructions: ()=>[
1334
- new KeccakF1600(/*indirect=*/ 0, /*dstOffset=*/ 0, /*inputOffset=*/ 0)
1334
+ new KeccakF1600(/*addressing_mode=*/ 0, /*dstOffset=*/ 0, /*inputOffset=*/ 0)
1335
1335
  ]
1336
1336
  }
1337
1337
  ],
@@ -1365,7 +1365,7 @@ const STATIC_CALL_CONFIG = {
1365
1365
  }
1366
1366
  ],
1367
1367
  targetInstructions: ()=>[
1368
- new EcAdd(/*indirect=*/ 0, /*p1XOffset=*/ 0, /*p1YOffset=*/ 1, /*p1IsInfiniteOffset=*/ 2, /*p2XOffset=*/ 3, /*p2YOffset=*/ 4, /*p2IsInfiniteOffset=*/ 5, /*dstOffset=*/ 0)
1368
+ new EcAdd(/*addressing_mode=*/ 0, /*p1XOffset=*/ 0, /*p1YOffset=*/ 1, /*p1IsInfiniteOffset=*/ 2, /*p2XOffset=*/ 3, /*p2YOffset=*/ 4, /*p2IsInfiniteOffset=*/ 5, /*dstOffset=*/ 0)
1369
1369
  ]
1370
1370
  }
1371
1371
  ],
@@ -1392,7 +1392,7 @@ const STATIC_CALL_CONFIG = {
1392
1392
  }
1393
1393
  ],
1394
1394
  targetInstructions: ()=>[
1395
- new ToRadixBE(/*indirect=*/ 0, /*srcOffset=*/ 0, /*radixOffset=*/ 1, /*numLimbsOffset=*/ 2, /*outputBitsOffset=*/ 3, /*dstOffset=*/ 4)
1395
+ new ToRadixBE(/*addressing_mode=*/ 0, /*srcOffset=*/ 0, /*radixOffset=*/ 1, /*numLimbsOffset=*/ 2, /*outputBitsOffset=*/ 3, /*dstOffset=*/ 4)
1396
1396
  ]
1397
1397
  },
1398
1398
  {
@@ -1416,7 +1416,7 @@ const STATIC_CALL_CONFIG = {
1416
1416
  }
1417
1417
  ],
1418
1418
  targetInstructions: ()=>[
1419
- new ToRadixBE(/*indirect=*/ 0, /*srcOffset=*/ 0, /*radixOffset=*/ 1, /*numLimbsOffset=*/ 2, /*outputBitsOffset=*/ 3, /*dstOffset=*/ 4)
1419
+ new ToRadixBE(/*addressing_mode=*/ 0, /*srcOffset=*/ 0, /*radixOffset=*/ 1, /*numLimbsOffset=*/ 2, /*outputBitsOffset=*/ 3, /*dstOffset=*/ 4)
1420
1420
  ]
1421
1421
  },
1422
1422
  {
@@ -1442,7 +1442,7 @@ const STATIC_CALL_CONFIG = {
1442
1442
  }
1443
1443
  ],
1444
1444
  targetInstructions: ()=>[
1445
- new ToRadixBE(/*indirect=*/ 0, /*srcOffset=*/ 0, /*radixOffset=*/ 1, /*numLimbsOffset=*/ 2, /*outputBitsOffset=*/ 3, /*dstOffset=*/ 4)
1445
+ new ToRadixBE(/*addressing_mode=*/ 0, /*srcOffset=*/ 0, /*radixOffset=*/ 1, /*numLimbsOffset=*/ 2, /*outputBitsOffset=*/ 3, /*dstOffset=*/ 4)
1446
1446
  ]
1447
1447
  }
1448
1448
  ],
@@ -1473,7 +1473,7 @@ const STATIC_CALL_CONFIG = {
1473
1473
  ],
1474
1474
  // messageSize = 0
1475
1475
  targetInstructions: ()=>[
1476
- new DebugLog(/*indirect=*/ 0, /*levelOffset=*/ 0, /*messageOffset=*/ 1, /*fieldsOffset=*/ 2, /*fieldsSizeOffset=*/ 3, /*messageSize=*/ 0)
1476
+ new DebugLog(/*addressing_mode=*/ 0, /*levelOffset=*/ 0, /*messageOffset=*/ 1, /*fieldsOffset=*/ 2, /*fieldsSizeOffset=*/ 3, /*messageSize=*/ 0)
1477
1477
  ]
1478
1478
  }
1479
1479
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aztec/simulator",
3
- "version": "4.0.0-nightly.20260112",
3
+ "version": "4.0.0-nightly.20260113",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./server": "./dest/server.js",
@@ -64,26 +64,26 @@
64
64
  ]
65
65
  },
66
66
  "dependencies": {
67
- "@aztec/constants": "4.0.0-nightly.20260112",
68
- "@aztec/foundation": "4.0.0-nightly.20260112",
69
- "@aztec/native": "4.0.0-nightly.20260112",
70
- "@aztec/noir-acvm_js": "4.0.0-nightly.20260112",
71
- "@aztec/noir-noirc_abi": "4.0.0-nightly.20260112",
72
- "@aztec/noir-protocol-circuits-types": "4.0.0-nightly.20260112",
73
- "@aztec/noir-types": "4.0.0-nightly.20260112",
74
- "@aztec/protocol-contracts": "4.0.0-nightly.20260112",
75
- "@aztec/stdlib": "4.0.0-nightly.20260112",
76
- "@aztec/telemetry-client": "4.0.0-nightly.20260112",
77
- "@aztec/world-state": "4.0.0-nightly.20260112",
67
+ "@aztec/constants": "4.0.0-nightly.20260113",
68
+ "@aztec/foundation": "4.0.0-nightly.20260113",
69
+ "@aztec/native": "4.0.0-nightly.20260113",
70
+ "@aztec/noir-acvm_js": "4.0.0-nightly.20260113",
71
+ "@aztec/noir-noirc_abi": "4.0.0-nightly.20260113",
72
+ "@aztec/noir-protocol-circuits-types": "4.0.0-nightly.20260113",
73
+ "@aztec/noir-types": "4.0.0-nightly.20260113",
74
+ "@aztec/protocol-contracts": "4.0.0-nightly.20260113",
75
+ "@aztec/stdlib": "4.0.0-nightly.20260113",
76
+ "@aztec/telemetry-client": "4.0.0-nightly.20260113",
77
+ "@aztec/world-state": "4.0.0-nightly.20260113",
78
78
  "lodash.clonedeep": "^4.5.0",
79
79
  "lodash.merge": "^4.6.2",
80
80
  "tslib": "^2.4.0"
81
81
  },
82
82
  "devDependencies": {
83
- "@aztec/kv-store": "4.0.0-nightly.20260112",
84
- "@aztec/merkle-tree": "4.0.0-nightly.20260112",
85
- "@aztec/noir-contracts.js": "4.0.0-nightly.20260112",
86
- "@aztec/noir-test-contracts.js": "4.0.0-nightly.20260112",
83
+ "@aztec/kv-store": "4.0.0-nightly.20260113",
84
+ "@aztec/merkle-tree": "4.0.0-nightly.20260113",
85
+ "@aztec/noir-contracts.js": "4.0.0-nightly.20260113",
86
+ "@aztec/noir-test-contracts.js": "4.0.0-nightly.20260113",
87
87
  "@jest/globals": "^30.0.0",
88
88
  "@types/jest": "^30.0.0",
89
89
  "@types/lodash.clonedeep": "^4.5.7",