-
Notifications
You must be signed in to change notification settings - Fork 676
/
executor.pb.go
5772 lines (5290 loc) · 274 KB
/
executor.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.32.0
// protoc v4.25.3
// source: executor.proto
package executor
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
emptypb "google.golang.org/protobuf/types/known/emptypb"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type RomError int32
const (
RomError_ROM_ERROR_UNSPECIFIED RomError = 0
// ROM_ERROR_NO_ERROR indicates the execution ended successfully
RomError_ROM_ERROR_NO_ERROR RomError = 1
// ROM_ERROR_OUT_OF_GAS indicates there is not enough balance to continue the execution
RomError_ROM_ERROR_OUT_OF_GAS RomError = 2
// ROM_ERROR_STACK_OVERFLOW indicates a stack overflow has happened
RomError_ROM_ERROR_STACK_OVERFLOW RomError = 3
// ROM_ERROR_STACK_UNDERFLOW indicates a stack overflow has happened
RomError_ROM_ERROR_STACK_UNDERFLOW RomError = 4
// ROM_ERROR_MAX_CODE_SIZE_EXCEEDED indicates the code size is beyond the maximum
RomError_ROM_ERROR_MAX_CODE_SIZE_EXCEEDED RomError = 5
// ROM_ERROR_CONTRACT_ADDRESS_COLLISION there is a collision regarding contract addresses
RomError_ROM_ERROR_CONTRACT_ADDRESS_COLLISION RomError = 6
// ROM_ERROR_EXECUTION_REVERTED indicates the execution has been reverted
RomError_ROM_ERROR_EXECUTION_REVERTED RomError = 7
// ROM_ERROR_OUT_OF_COUNTERS_STEP indicates there is not enough step counters to continue the execution
RomError_ROM_ERROR_OUT_OF_COUNTERS_STEP RomError = 8
// ROM_ERROR_OUT_OF_COUNTERS_KECCAK indicates there is not enough keccak counters to continue the execution
RomError_ROM_ERROR_OUT_OF_COUNTERS_KECCAK RomError = 9
// ROM_ERROR_OUT_OF_COUNTERS_BINARY indicates there is not enough binary counters to continue the execution
RomError_ROM_ERROR_OUT_OF_COUNTERS_BINARY RomError = 10
// ROM_ERROR_OUT_OF_COUNTERS_MEM indicates there is not enough memory aligncounters to continue the execution
RomError_ROM_ERROR_OUT_OF_COUNTERS_MEM RomError = 11
// ROM_ERROR_OUT_OF_COUNTERS_ARITH indicates there is not enough arith counters to continue the execution
RomError_ROM_ERROR_OUT_OF_COUNTERS_ARITH RomError = 12
// ROM_ERROR_OUT_OF_COUNTERS_PADDING indicates there is not enough padding counters to continue the execution
RomError_ROM_ERROR_OUT_OF_COUNTERS_PADDING RomError = 13
// ROM_ERROR_OUT_OF_COUNTERS_POSEIDON indicates there is not enough poseidon counters to continue the execution
RomError_ROM_ERROR_OUT_OF_COUNTERS_POSEIDON RomError = 14
// ROM_ERROR_OUT_OF_COUNTERS_SHA indicates there is not enough sha counters to continue the execution
RomError_ROM_ERROR_OUT_OF_COUNTERS_SHA RomError = 15
// ROM_ERROR_INVALID_JUMP indicates there is an invalid jump opcode
RomError_ROM_ERROR_INVALID_JUMP RomError = 16
// ROM_ERROR_INVALID_OPCODE indicates there is an invalid opcode
RomError_ROM_ERROR_INVALID_OPCODE RomError = 17
// ROM_ERROR_INVALID_STATIC indicates there is an invalid static call
RomError_ROM_ERROR_INVALID_STATIC RomError = 18
// ROM_ERROR_INVALID_BYTECODE_STARTS_EF indicates there is a bytecode starting with 0xEF
RomError_ROM_ERROR_INVALID_BYTECODE_STARTS_EF RomError = 19
// ROM_ERROR_INTRINSIC_INVALID_SIGNATURE indicates the transaction is failing at the signature intrinsic check
RomError_ROM_ERROR_INTRINSIC_INVALID_SIGNATURE RomError = 20
// ROM_ERROR_INTRINSIC_INVALID_CHAIN_ID indicates the transaction is failing at the chain id intrinsic check
RomError_ROM_ERROR_INTRINSIC_INVALID_CHAIN_ID RomError = 21
// ROM_ERROR_INTRINSIC_INVALID_NONCE indicates the transaction is failing at the nonce intrinsic check
RomError_ROM_ERROR_INTRINSIC_INVALID_NONCE RomError = 22
// ROM_ERROR_INTRINSIC_INVALID_GAS indicates the transaction is failing at the gas limit intrinsic check
RomError_ROM_ERROR_INTRINSIC_INVALID_GAS_LIMIT RomError = 23
// ROM_ERROR_INTRINSIC_INVALID_BALANCE indicates the transaction is failing at balance intrinsic check
RomError_ROM_ERROR_INTRINSIC_INVALID_BALANCE RomError = 24
// ROM_ERROR_INTRINSIC_INVALID_BATCH_GAS_LIMIT indicates the batch is exceeding the batch gas limit
RomError_ROM_ERROR_INTRINSIC_INVALID_BATCH_GAS_LIMIT RomError = 25
// ROM_ERROR_INTRINSIC_INVALID_SENDER_CODE indicates the transaction sender is invalid
RomError_ROM_ERROR_INTRINSIC_INVALID_SENDER_CODE RomError = 26
// ROM_ERROR_INTRINSIC_TX_GAS_OVERFLOW indicates the transaction gasLimit*gasPrice > MAX_UINT_256 - 1
RomError_ROM_ERROR_INTRINSIC_TX_GAS_OVERFLOW RomError = 27
// ROM_ERROR_BATCH_DATA_TOO_BIG indicates the batch_l2_data is too big to be processed
RomError_ROM_ERROR_BATCH_DATA_TOO_BIG RomError = 28
// ROM_ERROR_UNSUPPORTED_FORK_ID indicates that the fork id is not supported
RomError_ROM_ERROR_UNSUPPORTED_FORK_ID RomError = 29
// ROM_ERROR_INVALID_RLP indicates that there has been an error while parsing the RLP
RomError_ROM_ERROR_INVALID_RLP RomError = 30
// START V2 ROM ERRORS
// ROM_ERROR_INVALID_DECODE_CHANGE_L2_BLOCK indicates that there has been an error while parsing decoding a change l2 block transaction
RomError_ROM_ERROR_INVALID_DECODE_CHANGE_L2_BLOCK RomError = 31
// ROM_ERROR_INVALID_NOT_FIRST_TX_CHANGE_L2_BLOCK indicates that the first transaction in a batch is not a change l2 block transaction
RomError_ROM_ERROR_INVALID_NOT_FIRST_TX_CHANGE_L2_BLOCK RomError = 32
// ROM_ERROR_INVALID_TX_CHANGE_L2_BLOCK_LIMIT_TIMESTAMP indicates that the change l2 block transaction has trigger an error during while executing
RomError_ROM_ERROR_INVALID_TX_CHANGE_L2_BLOCK_LIMIT_TIMESTAMP RomError = 33
// ROM_ERROR_INVALID_TX_CHANGE_L2_BLOCK_MIN_TIMESTAMP indicates that the change l2 block transaction has trigger an error during while executing
RomError_ROM_ERROR_INVALID_TX_CHANGE_L2_BLOCK_MIN_TIMESTAMP RomError = 34
)
// Enum value maps for RomError.
var (
RomError_name = map[int32]string{
0: "ROM_ERROR_UNSPECIFIED",
1: "ROM_ERROR_NO_ERROR",
2: "ROM_ERROR_OUT_OF_GAS",
3: "ROM_ERROR_STACK_OVERFLOW",
4: "ROM_ERROR_STACK_UNDERFLOW",
5: "ROM_ERROR_MAX_CODE_SIZE_EXCEEDED",
6: "ROM_ERROR_CONTRACT_ADDRESS_COLLISION",
7: "ROM_ERROR_EXECUTION_REVERTED",
8: "ROM_ERROR_OUT_OF_COUNTERS_STEP",
9: "ROM_ERROR_OUT_OF_COUNTERS_KECCAK",
10: "ROM_ERROR_OUT_OF_COUNTERS_BINARY",
11: "ROM_ERROR_OUT_OF_COUNTERS_MEM",
12: "ROM_ERROR_OUT_OF_COUNTERS_ARITH",
13: "ROM_ERROR_OUT_OF_COUNTERS_PADDING",
14: "ROM_ERROR_OUT_OF_COUNTERS_POSEIDON",
15: "ROM_ERROR_OUT_OF_COUNTERS_SHA",
16: "ROM_ERROR_INVALID_JUMP",
17: "ROM_ERROR_INVALID_OPCODE",
18: "ROM_ERROR_INVALID_STATIC",
19: "ROM_ERROR_INVALID_BYTECODE_STARTS_EF",
20: "ROM_ERROR_INTRINSIC_INVALID_SIGNATURE",
21: "ROM_ERROR_INTRINSIC_INVALID_CHAIN_ID",
22: "ROM_ERROR_INTRINSIC_INVALID_NONCE",
23: "ROM_ERROR_INTRINSIC_INVALID_GAS_LIMIT",
24: "ROM_ERROR_INTRINSIC_INVALID_BALANCE",
25: "ROM_ERROR_INTRINSIC_INVALID_BATCH_GAS_LIMIT",
26: "ROM_ERROR_INTRINSIC_INVALID_SENDER_CODE",
27: "ROM_ERROR_INTRINSIC_TX_GAS_OVERFLOW",
28: "ROM_ERROR_BATCH_DATA_TOO_BIG",
29: "ROM_ERROR_UNSUPPORTED_FORK_ID",
30: "ROM_ERROR_INVALID_RLP",
31: "ROM_ERROR_INVALID_DECODE_CHANGE_L2_BLOCK",
32: "ROM_ERROR_INVALID_NOT_FIRST_TX_CHANGE_L2_BLOCK",
33: "ROM_ERROR_INVALID_TX_CHANGE_L2_BLOCK_LIMIT_TIMESTAMP",
34: "ROM_ERROR_INVALID_TX_CHANGE_L2_BLOCK_MIN_TIMESTAMP",
}
RomError_value = map[string]int32{
"ROM_ERROR_UNSPECIFIED": 0,
"ROM_ERROR_NO_ERROR": 1,
"ROM_ERROR_OUT_OF_GAS": 2,
"ROM_ERROR_STACK_OVERFLOW": 3,
"ROM_ERROR_STACK_UNDERFLOW": 4,
"ROM_ERROR_MAX_CODE_SIZE_EXCEEDED": 5,
"ROM_ERROR_CONTRACT_ADDRESS_COLLISION": 6,
"ROM_ERROR_EXECUTION_REVERTED": 7,
"ROM_ERROR_OUT_OF_COUNTERS_STEP": 8,
"ROM_ERROR_OUT_OF_COUNTERS_KECCAK": 9,
"ROM_ERROR_OUT_OF_COUNTERS_BINARY": 10,
"ROM_ERROR_OUT_OF_COUNTERS_MEM": 11,
"ROM_ERROR_OUT_OF_COUNTERS_ARITH": 12,
"ROM_ERROR_OUT_OF_COUNTERS_PADDING": 13,
"ROM_ERROR_OUT_OF_COUNTERS_POSEIDON": 14,
"ROM_ERROR_OUT_OF_COUNTERS_SHA": 15,
"ROM_ERROR_INVALID_JUMP": 16,
"ROM_ERROR_INVALID_OPCODE": 17,
"ROM_ERROR_INVALID_STATIC": 18,
"ROM_ERROR_INVALID_BYTECODE_STARTS_EF": 19,
"ROM_ERROR_INTRINSIC_INVALID_SIGNATURE": 20,
"ROM_ERROR_INTRINSIC_INVALID_CHAIN_ID": 21,
"ROM_ERROR_INTRINSIC_INVALID_NONCE": 22,
"ROM_ERROR_INTRINSIC_INVALID_GAS_LIMIT": 23,
"ROM_ERROR_INTRINSIC_INVALID_BALANCE": 24,
"ROM_ERROR_INTRINSIC_INVALID_BATCH_GAS_LIMIT": 25,
"ROM_ERROR_INTRINSIC_INVALID_SENDER_CODE": 26,
"ROM_ERROR_INTRINSIC_TX_GAS_OVERFLOW": 27,
"ROM_ERROR_BATCH_DATA_TOO_BIG": 28,
"ROM_ERROR_UNSUPPORTED_FORK_ID": 29,
"ROM_ERROR_INVALID_RLP": 30,
"ROM_ERROR_INVALID_DECODE_CHANGE_L2_BLOCK": 31,
"ROM_ERROR_INVALID_NOT_FIRST_TX_CHANGE_L2_BLOCK": 32,
"ROM_ERROR_INVALID_TX_CHANGE_L2_BLOCK_LIMIT_TIMESTAMP": 33,
"ROM_ERROR_INVALID_TX_CHANGE_L2_BLOCK_MIN_TIMESTAMP": 34,
}
)
func (x RomError) Enum() *RomError {
p := new(RomError)
*p = x
return p
}
func (x RomError) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (RomError) Descriptor() protoreflect.EnumDescriptor {
return file_executor_proto_enumTypes[0].Descriptor()
}
func (RomError) Type() protoreflect.EnumType {
return &file_executor_proto_enumTypes[0]
}
func (x RomError) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use RomError.Descriptor instead.
func (RomError) EnumDescriptor() ([]byte, []int) {
return file_executor_proto_rawDescGZIP(), []int{0}
}
type ExecutorError int32
const (
ExecutorError_EXECUTOR_ERROR_UNSPECIFIED ExecutorError = 0
// EXECUTOR_ERROR_NO_ERROR indicates there was no error
ExecutorError_EXECUTOR_ERROR_NO_ERROR ExecutorError = 1
// EXECUTOR_ERROR_DB_ERROR indicates that there is an error connecting to the database
ExecutorError_EXECUTOR_ERROR_DB_ERROR ExecutorError = 2
// EXECUTOR_ERROR_SM_MAIN_COUNTERS_OVERFLOW_STEPS indicates that the main execution exceeded the maximum number of steps
ExecutorError_EXECUTOR_ERROR_SM_MAIN_COUNTERS_OVERFLOW_STEPS ExecutorError = 3
// EXECUTOR_ERROR_COUNTERS_OVERFLOW_KECCAK indicates that the keccak counter exceeded the maximum
ExecutorError_EXECUTOR_ERROR_SM_MAIN_COUNTERS_OVERFLOW_KECCAK ExecutorError = 4
// EXECUTOR_ERROR_COUNTERS_OVERFLOW_BINARY indicates that the binary counter exceeded the maximum
ExecutorError_EXECUTOR_ERROR_SM_MAIN_COUNTERS_OVERFLOW_BINARY ExecutorError = 5
// EXECUTOR_ERROR_COUNTERS_OVERFLOW_MEM indicates that the memory align counter exceeded the maximum
ExecutorError_EXECUTOR_ERROR_SM_MAIN_COUNTERS_OVERFLOW_MEM ExecutorError = 6
// EXECUTOR_ERROR_COUNTERS_OVERFLOW_ARITH indicates that the arith counter exceeded the maximum
ExecutorError_EXECUTOR_ERROR_SM_MAIN_COUNTERS_OVERFLOW_ARITH ExecutorError = 7
// EXECUTOR_ERROR_COUNTERS_OVERFLOW_PADDING indicates that the padding counter exceeded the maximum
ExecutorError_EXECUTOR_ERROR_SM_MAIN_COUNTERS_OVERFLOW_PADDING ExecutorError = 8
// EXECUTOR_ERROR_COUNTERS_OVERFLOW_POSEIDON indicates that the poseidon counter exceeded the maximum
ExecutorError_EXECUTOR_ERROR_SM_MAIN_COUNTERS_OVERFLOW_POSEIDON ExecutorError = 9
// EXECUTOR_ERROR_UNSUPPORTED_FORK_ID indicates that the fork id is not supported
ExecutorError_EXECUTOR_ERROR_UNSUPPORTED_FORK_ID ExecutorError = 10
// EXECUTOR_ERROR_BALANCE_MISMATCH indicates that there is a balance mismatch error in the ROM
ExecutorError_EXECUTOR_ERROR_BALANCE_MISMATCH ExecutorError = 11
// EXECUTOR_ERROR_FEA2SCALAR indicates that there is a fea2scalar error in the execution
ExecutorError_EXECUTOR_ERROR_FEA2SCALAR ExecutorError = 12
// EXECUTOR_ERROR_TOS32 indicates that there is a TOS32 error in the execution
ExecutorError_EXECUTOR_ERROR_TOS32 ExecutorError = 13
// EXECUTOR_ERROR_SM_MAIN_INVALID_UNSIGNED_TX indicates that there is an unsigned TX in a non-process batch (i.e. in a prover request)
ExecutorError_EXECUTOR_ERROR_SM_MAIN_INVALID_UNSIGNED_TX ExecutorError = 14
// EXECUTOR_ERROR_SM_MAIN_INVALID_NO_COUNTERS indicates that there is a no-counters request in a non-process batch (i.e. in a prover request)
ExecutorError_EXECUTOR_ERROR_SM_MAIN_INVALID_NO_COUNTERS ExecutorError = 15
// EXECUTOR_ERROR_SM_MAIN_ARITH_ECRECOVER_DIVIDE_BY_ZERO indicates that there is a divide-by-zero situation during an ECRecover
ExecutorError_EXECUTOR_ERROR_SM_MAIN_ARITH_ECRECOVER_DIVIDE_BY_ZERO ExecutorError = 16
// EXECUTOR_ERROR_SM_MAIN_ADDRESS_OUT_OF_RANGE indicates that an address is out of valid memory space range
ExecutorError_EXECUTOR_ERROR_SM_MAIN_ADDRESS_OUT_OF_RANGE ExecutorError = 17
// EXECUTOR_ERROR_SM_MAIN_ADDRESS_NEGATIVE indicates that an address is negative
ExecutorError_EXECUTOR_ERROR_SM_MAIN_ADDRESS_NEGATIVE ExecutorError = 18
// EXECUTOR_ERROR_SM_MAIN_STORAGE_INVALID_KEY indicates that a register value is out of range while building storage key
ExecutorError_EXECUTOR_ERROR_SM_MAIN_STORAGE_INVALID_KEY ExecutorError = 19
// EXECUTOR_ERROR_SM_MAIN_HASHK indicates that a register value is out of range while calculating a Keccak hash
ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHK ExecutorError = 20
// EXECUTOR_ERROR_SM_MAIN_HASHK_SIZE_OUT_OF_RANGE indicates that a size register value is out of range while calculating a Keccak hash
ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHK_SIZE_OUT_OF_RANGE ExecutorError = 21
// EXECUTOR_ERROR_SM_MAIN_HASHK_POSITION_NEGATIVE indicates that a position register value is negative while calculating a Keccak hash
ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHK_POSITION_NEGATIVE ExecutorError = 22
// EXECUTOR_ERROR_SM_MAIN_HASHK_POSITION_PLUS_SIZE_OUT_OF_RANGE indicates that a position register value plus a size register value is out of range while calculating a Keccak hash
ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHK_POSITION_PLUS_SIZE_OUT_OF_RANGE ExecutorError = 23
// EXECUTOR_ERROR_SM_MAIN_HASHKDIGEST_ADDRESS_NOT_FOUND indicates that an address has not been found while calculating a Keccak hash digest
ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHKDIGEST_ADDRESS_NOT_FOUND ExecutorError = 24
// EXECUTOR_ERROR_SM_MAIN_HASHKDIGEST_NOT_COMPLETED indicates that the hash has not been completed while calling a Keccak hash digest
ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHKDIGEST_NOT_COMPLETED ExecutorError = 25
// EXECUTOR_ERROR_SM_MAIN_HASHP indicates that a register value is out of range while calculating a Poseidon hash
ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHP ExecutorError = 26
// EXECUTOR_ERROR_SM_MAIN_HASHP_SIZE_OUT_OF_RANGE indicates that a size register value is out of range while calculating a Poseidon hash
ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHP_SIZE_OUT_OF_RANGE ExecutorError = 27
// EXECUTOR_ERROR_SM_MAIN_HASHP_POSITION_NEGATIVE indicates that a position register value is negative while calculating a Poseidon hash
ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHP_POSITION_NEGATIVE ExecutorError = 28
// EXECUTOR_ERROR_SM_MAIN_HASHP_POSITION_PLUS_SIZE_OUT_OF_RANGE indicates that a position register value plus a size register value is out of range while calculating a Poseidon hash
ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHP_POSITION_PLUS_SIZE_OUT_OF_RANGE ExecutorError = 29
// EXECUTOR_ERROR_SM_MAIN_HASHPDIGEST_ADDRESS_NOT_FOUND indicates that an address has not been found while calculating a Poseidon hash digest
ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHPDIGEST_ADDRESS_NOT_FOUND ExecutorError = 30
// EXECUTOR_ERROR_SM_MAIN_HASHPDIGEST_NOT_COMPLETED indicates that the hash has not been completed while calling a Poseidon hash digest
ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHPDIGEST_NOT_COMPLETED ExecutorError = 31
// EXECUTOR_ERROR_SM_MAIN_MEMALIGN_OFFSET_OUT_OF_RANGE indicates that the an offset register value is out of range while doing a mem align operation
ExecutorError_EXECUTOR_ERROR_SM_MAIN_MEMALIGN_OFFSET_OUT_OF_RANGE ExecutorError = 32
// EXECUTOR_ERROR_SM_MAIN_MULTIPLE_FREEIN indicates that we got more than one free inputs in one ROM instruction
ExecutorError_EXECUTOR_ERROR_SM_MAIN_MULTIPLE_FREEIN ExecutorError = 33
// EXECUTOR_ERROR_SM_MAIN_ASSERT indicates that the ROM assert instruction failed
ExecutorError_EXECUTOR_ERROR_SM_MAIN_ASSERT ExecutorError = 34
// EXECUTOR_ERROR_SM_MAIN_MEMORY indicates that the memory instruction check failed
ExecutorError_EXECUTOR_ERROR_SM_MAIN_MEMORY ExecutorError = 35
// EXECUTOR_ERROR_SM_MAIN_STORAGE_READ_MISMATCH indicates that the storage read instruction check failed
ExecutorError_EXECUTOR_ERROR_SM_MAIN_STORAGE_READ_MISMATCH ExecutorError = 36
// EXECUTOR_ERROR_SM_MAIN_STORAGE_WRITE_MISMATCH indicates that the storage read instruction check failed
ExecutorError_EXECUTOR_ERROR_SM_MAIN_STORAGE_WRITE_MISMATCH ExecutorError = 37
// EXECUTOR_ERROR_SM_MAIN_HASHK_VALUE_MISMATCH indicates that the Keccak hash instruction value check failed
ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHK_VALUE_MISMATCH ExecutorError = 38
// EXECUTOR_ERROR_SM_MAIN_HASHK_PADDING_MISMATCH indicates that the Keccak hash instruction padding check failed
ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHK_PADDING_MISMATCH ExecutorError = 39
// EXECUTOR_ERROR_SM_MAIN_HASHK_SIZE_MISMATCH indicates that the Keccak hash instruction size check failed
ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHK_SIZE_MISMATCH ExecutorError = 40
// EXECUTOR_ERROR_SM_MAIN_HASHKLEN_LENGTH_MISMATCH indicates that the Keccak hash length instruction length check failed
ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHKLEN_LENGTH_MISMATCH ExecutorError = 41
// EXECUTOR_ERROR_SM_MAIN_HASHKLEN_CALLED_TWICE indicates that the Keccak hash length instruction called once check failed
ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHKLEN_CALLED_TWICE ExecutorError = 42
// EXECUTOR_ERROR_SM_MAIN_HASHKDIGEST_NOT_FOUND indicates that the Keccak hash digest instruction slot not found
ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHKDIGEST_NOT_FOUND ExecutorError = 43
// EXECUTOR_ERROR_SM_MAIN_HASHKDIGEST_DIGEST_MISMATCH indicates that the Keccak hash digest instruction digest check failed
ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHKDIGEST_DIGEST_MISMATCH ExecutorError = 44
// EXECUTOR_ERROR_SM_MAIN_HASHKDIGEST_CALLED_TWICE indicates that the Keccak hash digest instruction called once check failed
ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHKDIGEST_CALLED_TWICE ExecutorError = 45
// EXECUTOR_ERROR_SM_MAIN_HASHP_VALUE_MISMATCH indicates that the Poseidon hash instruction value check failed
ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHP_VALUE_MISMATCH ExecutorError = 46
// EXECUTOR_ERROR_SM_MAIN_HASHP_PADDING_MISMATCH indicates that the Poseidon hash instruction padding check failed
ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHP_PADDING_MISMATCH ExecutorError = 47
// EXECUTOR_ERROR_SM_MAIN_HASHP_SIZE_MISMATCH indicates that the Poseidon hash instruction size check failed
ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHP_SIZE_MISMATCH ExecutorError = 48
// EXECUTOR_ERROR_SM_MAIN_HASHPLEN_LENGTH_MISMATCH indicates that the Poseidon hash length instruction length check failed
ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHPLEN_LENGTH_MISMATCH ExecutorError = 49
// EXECUTOR_ERROR_SM_MAIN_HASHPLEN_CALLED_TWICE indicates that the Poseidon hash length instruction called once check failed
ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHPLEN_CALLED_TWICE ExecutorError = 50
// EXECUTOR_ERROR_SM_MAIN_HASHPDIGEST_DIGEST_MISMATCH indicates that the Poseidon hash digest instruction digest check failed
ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHPDIGEST_DIGEST_MISMATCH ExecutorError = 51
// EXECUTOR_ERROR_SM_MAIN_HASHPDIGEST_CALLED_TWICE indicates that the Poseidon hash digest instruction called once check failed
ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHPDIGEST_CALLED_TWICE ExecutorError = 52
// EXECUTOR_ERROR_SM_MAIN_ARITH_MISMATCH indicates that the arith instruction check failed
ExecutorError_EXECUTOR_ERROR_SM_MAIN_ARITH_MISMATCH ExecutorError = 53
// EXECUTOR_ERROR_SM_MAIN_ARITH_ECRECOVER_MISMATCH indicates that the arith ECRecover instruction check failed
ExecutorError_EXECUTOR_ERROR_SM_MAIN_ARITH_ECRECOVER_MISMATCH ExecutorError = 54
// EXECUTOR_ERROR_SM_MAIN_BINARY_ADD_MISMATCH indicates that the binary add instruction check failed
ExecutorError_EXECUTOR_ERROR_SM_MAIN_BINARY_ADD_MISMATCH ExecutorError = 55
// EXECUTOR_ERROR_SM_MAIN_BINARY_SUB_MISMATCH indicates that the binary sub instruction check failed
ExecutorError_EXECUTOR_ERROR_SM_MAIN_BINARY_SUB_MISMATCH ExecutorError = 56
// EXECUTOR_ERROR_SM_MAIN_BINARY_LT_MISMATCH indicates that the binary less than instruction check failed
ExecutorError_EXECUTOR_ERROR_SM_MAIN_BINARY_LT_MISMATCH ExecutorError = 57
// EXECUTOR_ERROR_SM_MAIN_BINARY_SLT_MISMATCH indicates that the binary signed less than instruction check failed
ExecutorError_EXECUTOR_ERROR_SM_MAIN_BINARY_SLT_MISMATCH ExecutorError = 58
// EXECUTOR_ERROR_SM_MAIN_BINARY_EQ_MISMATCH indicates that the binary equal instruction check failed
ExecutorError_EXECUTOR_ERROR_SM_MAIN_BINARY_EQ_MISMATCH ExecutorError = 59
// EXECUTOR_ERROR_SM_MAIN_BINARY_AND_MISMATCH indicates that the binary and instruction check failed
ExecutorError_EXECUTOR_ERROR_SM_MAIN_BINARY_AND_MISMATCH ExecutorError = 60
// EXECUTOR_ERROR_SM_MAIN_BINARY_OR_MISMATCH indicates that the binary or instruction check failed
ExecutorError_EXECUTOR_ERROR_SM_MAIN_BINARY_OR_MISMATCH ExecutorError = 61
// EXECUTOR_ERROR_SM_MAIN_BINARY_XOR_MISMATCH indicates that the binary xor instruction check failed
ExecutorError_EXECUTOR_ERROR_SM_MAIN_BINARY_XOR_MISMATCH ExecutorError = 62
// EXECUTOR_ERROR_SM_MAIN_MEMALIGN_WRITE_MISMATCH indicates that the memory align write instruction check failed
ExecutorError_EXECUTOR_ERROR_SM_MAIN_MEMALIGN_WRITE_MISMATCH ExecutorError = 63
// EXECUTOR_ERROR_SM_MAIN_MEMALIGN_WRITE8_MISMATCH indicates that the memory align write 8 instruction check failed
ExecutorError_EXECUTOR_ERROR_SM_MAIN_MEMALIGN_WRITE8_MISMATCH ExecutorError = 64
// EXECUTOR_ERROR_SM_MAIN_MEMALIGN_READ_MISMATCH indicates that the memory align read instruction check failed
ExecutorError_EXECUTOR_ERROR_SM_MAIN_MEMALIGN_READ_MISMATCH ExecutorError = 65
// EXECUTOR_ERROR_SM_MAIN_JMPN_OUT_OF_RANGE indicates that the JMPN instruction found a jump position out of range
ExecutorError_EXECUTOR_ERROR_SM_MAIN_JMPN_OUT_OF_RANGE ExecutorError = 66
// EXECUTOR_ERROR_SM_MAIN_HASHK_READ_OUT_OF_RANGE indicates that the main execution Keccak check found read out of range
ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHK_READ_OUT_OF_RANGE ExecutorError = 67
// EXECUTOR_ERROR_SM_MAIN_HASHP_READ_OUT_OF_RANGE indicates that the main execution Poseidon check found read out of range
ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHP_READ_OUT_OF_RANGE ExecutorError = 68
// EXECUTOR_ERROR_INVALID_OLD_STATE_ROOT indicates that the input parameter old_state_root is invalid
ExecutorError_EXECUTOR_ERROR_INVALID_OLD_STATE_ROOT ExecutorError = 69
// EXECUTOR_ERROR_INVALID_OLD_ACC_INPUT_HASH indicates that the input parameter old_acc_input_hash is invalid
ExecutorError_EXECUTOR_ERROR_INVALID_OLD_ACC_INPUT_HASH ExecutorError = 70
// EXECUTOR_ERROR_INVALID_CHAIN_ID indicates that the input parameter chain_id is invalid
ExecutorError_EXECUTOR_ERROR_INVALID_CHAIN_ID ExecutorError = 71
// EXECUTOR_ERROR_INVALID_BATCH_L2_DATA indicates that the input parameter batch_l2_data is invalid
ExecutorError_EXECUTOR_ERROR_INVALID_BATCH_L2_DATA ExecutorError = 72
// EXECUTOR_ERROR_INVALID_GLOBAL_EXIT_ROOT indicates that the input parameter global_exit_root is invalid
ExecutorError_EXECUTOR_ERROR_INVALID_GLOBAL_EXIT_ROOT ExecutorError = 73
// EXECUTOR_ERROR_INVALID_COINBASE indicates that the input parameter coinbase (i.e. sequencer address) is invalid
ExecutorError_EXECUTOR_ERROR_INVALID_COINBASE ExecutorError = 74
// EXECUTOR_ERROR_INVALID_FROM indicates that the input parameter from is invalid
ExecutorError_EXECUTOR_ERROR_INVALID_FROM ExecutorError = 75
// EXECUTOR_ERROR_INVALID_DB_KEY indicates that the input parameter db key is invalid
ExecutorError_EXECUTOR_ERROR_INVALID_DB_KEY ExecutorError = 76
// EXECUTOR_ERROR_INVALID_DB_VALUE indicates that the input parameter db value is invalid
ExecutorError_EXECUTOR_ERROR_INVALID_DB_VALUE ExecutorError = 77
// EXECUTOR_ERROR_INVALID_CONTRACTS_BYTECODE_KEY indicates that the input parameter contracts_bytecode key is invalid
ExecutorError_EXECUTOR_ERROR_INVALID_CONTRACTS_BYTECODE_KEY ExecutorError = 78
// EXECUTOR_ERROR_INVALID_CONTRACTS_BYTECODE_VALUE indicates that the input parameter contracts_bytecode value is invalid
ExecutorError_EXECUTOR_ERROR_INVALID_CONTRACTS_BYTECODE_VALUE ExecutorError = 79
// EXECUTOR_ERROR_INVALID_GET_KEY indicates that the input parameter get key is invalid, e.g. is true but fork_id<5
ExecutorError_EXECUTOR_ERROR_INVALID_GET_KEY ExecutorError = 80
// START V2 EXECUTOR ERRORS
// EXECUTOR_ERROR_COUNTERS_OVERFLOW_SHA256 indicates that the SHA-256 counter exceeded the maximum
ExecutorError_EXECUTOR_ERROR_SM_MAIN_COUNTERS_OVERFLOW_SHA256 ExecutorError = 81
// EXECUTOR_ERROR_SM_MAIN_HASHS indicates that a register value is out of range while calculating a SHA-256 hash
ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHS ExecutorError = 82
// EXECUTOR_ERROR_SM_MAIN_HASHS_SIZE_OUT_OF_RANGE indicates that a size register value is out of range while calculating a SHA-256 hash
ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHS_SIZE_OUT_OF_RANGE ExecutorError = 83
// EXECUTOR_ERROR_SM_MAIN_HASHS_POSITION_NEGATIVE indicates that a position register value is negative while calculating a SHA-256 hash
ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHS_POSITION_NEGATIVE ExecutorError = 84
// EXECUTOR_ERROR_SM_MAIN_HASHS_POSITION_PLUS_SIZE_OUT_OF_RANGE indicates that a position register value plus a size register value is out of range while calculating a SHA-256 hash
ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHS_POSITION_PLUS_SIZE_OUT_OF_RANGE ExecutorError = 85
// EXECUTOR_ERROR_SM_MAIN_HASHSDIGEST_ADDRESS_NOT_FOUND indicates that an address has not been found while calculating a SHA-256 hash digest
ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHSDIGEST_ADDRESS_NOT_FOUND ExecutorError = 86
// EXECUTOR_ERROR_SM_MAIN_HASHSDIGEST_NOT_COMPLETED indicates that the hash has not been completed while calling a SHA-256 hash digest
ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHSDIGEST_NOT_COMPLETED ExecutorError = 87
// EXECUTOR_ERROR_SM_MAIN_HASHS_VALUE_MISMATCH indicates that the SHA-256 hash instruction value check failed
ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHS_VALUE_MISMATCH ExecutorError = 88
// EXECUTOR_ERROR_SM_MAIN_HASHS_PADDING_MISMATCH indicates that the SHA-256 hash instruction padding check failed
ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHS_PADDING_MISMATCH ExecutorError = 89
// EXECUTOR_ERROR_SM_MAIN_HASHS_SIZE_MISMATCH indicates that the SHA-256 hash instruction size check failed
ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHS_SIZE_MISMATCH ExecutorError = 90
// EXECUTOR_ERROR_SM_MAIN_HASHSLEN_LENGTH_MISMATCH indicates that the SHA-256 hash length instruction length check failed
ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHSLEN_LENGTH_MISMATCH ExecutorError = 91
// EXECUTOR_ERROR_SM_MAIN_HASHSLEN_CALLED_TWICE indicates that the SHA-256 hash length instruction called once check failed
ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHSLEN_CALLED_TWICE ExecutorError = 92
// EXECUTOR_ERROR_SM_MAIN_HASHSDIGEST_NOT_FOUND indicates that the SHA-256 hash digest instruction slot not found
ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHSDIGEST_NOT_FOUND ExecutorError = 93
// EXECUTOR_ERROR_SM_MAIN_HASHSDIGEST_DIGEST_MISMATCH indicates that the SHA-256 hash digest instruction digest check failed
ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHSDIGEST_DIGEST_MISMATCH ExecutorError = 94
// EXECUTOR_ERROR_SM_MAIN_HASHSDIGEST_CALLED_TWICE indicates that the SHA-256 hash digest instruction called once check failed
ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHSDIGEST_CALLED_TWICE ExecutorError = 95
// EXECUTOR_ERROR_SM_MAIN_HASHS_READ_OUT_OF_RANGE indicates that the main execution SHA-256 check found read out of range
ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHS_READ_OUT_OF_RANGE ExecutorError = 96
// EXECUTOR_ERROR_INVALID_L1_INFO_ROOT indicates that the input parameter L1 info root value is invalid
ExecutorError_EXECUTOR_ERROR_INVALID_L1_INFO_ROOT ExecutorError = 97
// EXECUTOR_ERROR_INVALID_FORCED_BLOCKHASH_L1 indicates that the input parameter forced blockhash L1 value is invalid
ExecutorError_EXECUTOR_ERROR_INVALID_FORCED_BLOCKHASH_L1 ExecutorError = 98
// EXECUTOR_ERROR_INVALID_L1_DATA_V2_GLOBAL_EXIT_ROOT indicates that the input parameter L1 data V2 global exit root value is invalid
ExecutorError_EXECUTOR_ERROR_INVALID_L1_DATA_V2_GLOBAL_EXIT_ROOT ExecutorError = 99
// EXECUTOR_ERROR_INVALID_L1_DATA_V2_BLOCK_HASH_L1 indicates that the input parameter L1 data V2 block hash L1 value is invalid
ExecutorError_EXECUTOR_ERROR_INVALID_L1_DATA_V2_BLOCK_HASH_L1 ExecutorError = 100
// EXECUTOR_ERROR_INVALID_L1_SMT_PROOF indicates that the input parameter L1 data V2 SMT proof value is invalid
ExecutorError_EXECUTOR_ERROR_INVALID_L1_SMT_PROOF ExecutorError = 101
// EXECUTOR_ERROR_INVALID_BALANCE indicates that the input parameter balance value is invalid
ExecutorError_EXECUTOR_ERROR_INVALID_BALANCE ExecutorError = 102
// EXECUTOR_ERROR_SM_MAIN_BINARY_LT4_MISMATCH indicates that the binary instruction less than four opcode failed
ExecutorError_EXECUTOR_ERROR_SM_MAIN_BINARY_LT4_MISMATCH ExecutorError = 103
// EXECUTOR_ERROR_INVALID_NEW_STATE_ROOT indicates that the input parameter new_state_root is invalid
ExecutorError_EXECUTOR_ERROR_INVALID_NEW_STATE_ROOT ExecutorError = 104
// EXECUTOR_ERROR_INVALID_NEW_ACC_INPUT_HASH indicates that the input parameter new_acc_input_hash is invalid
ExecutorError_EXECUTOR_ERROR_INVALID_NEW_ACC_INPUT_HASH ExecutorError = 105
// EXECUTOR_ERROR_INVALID_NEW_LOCAL_EXIT_ROOT indicates that the input parameter new_local_exit_root is invalid
ExecutorError_EXECUTOR_ERROR_INVALID_NEW_LOCAL_EXIT_ROOT ExecutorError = 106
// EXECUTOR_ERROR_DB_KEY_NOT_FOUND indicates that the requested key was not found in the database
ExecutorError_EXECUTOR_ERROR_DB_KEY_NOT_FOUND ExecutorError = 107
// EXECUTOR_ERROR_SMT_INVALID_DATA_SIZE indicates that the SMT data returned from the database does not have a valid size
ExecutorError_EXECUTOR_ERROR_SMT_INVALID_DATA_SIZE ExecutorError = 108
// EXECUTOR_ERROR_HASHDB_GRPC_ERROR indicates that the executor failed calling the HashDB service via GRPC, when configured
ExecutorError_EXECUTOR_ERROR_HASHDB_GRPC_ERROR ExecutorError = 109
// EXECUTOR_ERROR_STATE_MANAGER indicates an error in the State Manager
ExecutorError_EXECUTOR_ERROR_STATE_MANAGER ExecutorError = 110
// EXECUTOR_ERROR_INVALID_L1_INFO_TREE_INDEX indicates that the ROM asked for an L1InfoTree index that was not present in the input
ExecutorError_EXECUTOR_ERROR_INVALID_L1_INFO_TREE_INDEX ExecutorError = 111
// EXECUTOR_ERROR_INVALID_L1_INFO_TREE_SMT_PROOF_VALUE indicates that the ROM asked for an L1InfoTree SMT proof that was not present in the input
ExecutorError_EXECUTOR_ERROR_INVALID_L1_INFO_TREE_SMT_PROOF_VALUE ExecutorError = 112
// EXECUTOR_ERROR_INVALID_WITNESS indicates that the provided witness data is invalid
ExecutorError_EXECUTOR_ERROR_INVALID_WITNESS ExecutorError = 113
// EXECUTOR_ERROR_INVALID_CBOR indicates that the provided CBOR data is invalid
ExecutorError_EXECUTOR_ERROR_INVALID_CBOR ExecutorError = 114
// EXECUTOR_ERROR_INVALID_DATA_STREAM indicates that the provided data stream data is invalid
ExecutorError_EXECUTOR_ERROR_INVALID_DATA_STREAM ExecutorError = 115
// EXECUTOR_ERROR_INVALID_UPDATE_MERKLE_TREE indicates that the provided update merkle tree is invalid, e.g. because the executor is configured not to write to database
ExecutorError_EXECUTOR_ERROR_INVALID_UPDATE_MERKLE_TREE ExecutorError = 116
// EXECUTOR_ERROR_SM_MAIN_INVALID_TX_STATUS_ERROR indicates that a TX has an invalid status-error combination
ExecutorError_EXECUTOR_ERROR_SM_MAIN_INVALID_TX_STATUS_ERROR ExecutorError = 117
)
// Enum value maps for ExecutorError.
var (
ExecutorError_name = map[int32]string{
0: "EXECUTOR_ERROR_UNSPECIFIED",
1: "EXECUTOR_ERROR_NO_ERROR",
2: "EXECUTOR_ERROR_DB_ERROR",
3: "EXECUTOR_ERROR_SM_MAIN_COUNTERS_OVERFLOW_STEPS",
4: "EXECUTOR_ERROR_SM_MAIN_COUNTERS_OVERFLOW_KECCAK",
5: "EXECUTOR_ERROR_SM_MAIN_COUNTERS_OVERFLOW_BINARY",
6: "EXECUTOR_ERROR_SM_MAIN_COUNTERS_OVERFLOW_MEM",
7: "EXECUTOR_ERROR_SM_MAIN_COUNTERS_OVERFLOW_ARITH",
8: "EXECUTOR_ERROR_SM_MAIN_COUNTERS_OVERFLOW_PADDING",
9: "EXECUTOR_ERROR_SM_MAIN_COUNTERS_OVERFLOW_POSEIDON",
10: "EXECUTOR_ERROR_UNSUPPORTED_FORK_ID",
11: "EXECUTOR_ERROR_BALANCE_MISMATCH",
12: "EXECUTOR_ERROR_FEA2SCALAR",
13: "EXECUTOR_ERROR_TOS32",
14: "EXECUTOR_ERROR_SM_MAIN_INVALID_UNSIGNED_TX",
15: "EXECUTOR_ERROR_SM_MAIN_INVALID_NO_COUNTERS",
16: "EXECUTOR_ERROR_SM_MAIN_ARITH_ECRECOVER_DIVIDE_BY_ZERO",
17: "EXECUTOR_ERROR_SM_MAIN_ADDRESS_OUT_OF_RANGE",
18: "EXECUTOR_ERROR_SM_MAIN_ADDRESS_NEGATIVE",
19: "EXECUTOR_ERROR_SM_MAIN_STORAGE_INVALID_KEY",
20: "EXECUTOR_ERROR_SM_MAIN_HASHK",
21: "EXECUTOR_ERROR_SM_MAIN_HASHK_SIZE_OUT_OF_RANGE",
22: "EXECUTOR_ERROR_SM_MAIN_HASHK_POSITION_NEGATIVE",
23: "EXECUTOR_ERROR_SM_MAIN_HASHK_POSITION_PLUS_SIZE_OUT_OF_RANGE",
24: "EXECUTOR_ERROR_SM_MAIN_HASHKDIGEST_ADDRESS_NOT_FOUND",
25: "EXECUTOR_ERROR_SM_MAIN_HASHKDIGEST_NOT_COMPLETED",
26: "EXECUTOR_ERROR_SM_MAIN_HASHP",
27: "EXECUTOR_ERROR_SM_MAIN_HASHP_SIZE_OUT_OF_RANGE",
28: "EXECUTOR_ERROR_SM_MAIN_HASHP_POSITION_NEGATIVE",
29: "EXECUTOR_ERROR_SM_MAIN_HASHP_POSITION_PLUS_SIZE_OUT_OF_RANGE",
30: "EXECUTOR_ERROR_SM_MAIN_HASHPDIGEST_ADDRESS_NOT_FOUND",
31: "EXECUTOR_ERROR_SM_MAIN_HASHPDIGEST_NOT_COMPLETED",
32: "EXECUTOR_ERROR_SM_MAIN_MEMALIGN_OFFSET_OUT_OF_RANGE",
33: "EXECUTOR_ERROR_SM_MAIN_MULTIPLE_FREEIN",
34: "EXECUTOR_ERROR_SM_MAIN_ASSERT",
35: "EXECUTOR_ERROR_SM_MAIN_MEMORY",
36: "EXECUTOR_ERROR_SM_MAIN_STORAGE_READ_MISMATCH",
37: "EXECUTOR_ERROR_SM_MAIN_STORAGE_WRITE_MISMATCH",
38: "EXECUTOR_ERROR_SM_MAIN_HASHK_VALUE_MISMATCH",
39: "EXECUTOR_ERROR_SM_MAIN_HASHK_PADDING_MISMATCH",
40: "EXECUTOR_ERROR_SM_MAIN_HASHK_SIZE_MISMATCH",
41: "EXECUTOR_ERROR_SM_MAIN_HASHKLEN_LENGTH_MISMATCH",
42: "EXECUTOR_ERROR_SM_MAIN_HASHKLEN_CALLED_TWICE",
43: "EXECUTOR_ERROR_SM_MAIN_HASHKDIGEST_NOT_FOUND",
44: "EXECUTOR_ERROR_SM_MAIN_HASHKDIGEST_DIGEST_MISMATCH",
45: "EXECUTOR_ERROR_SM_MAIN_HASHKDIGEST_CALLED_TWICE",
46: "EXECUTOR_ERROR_SM_MAIN_HASHP_VALUE_MISMATCH",
47: "EXECUTOR_ERROR_SM_MAIN_HASHP_PADDING_MISMATCH",
48: "EXECUTOR_ERROR_SM_MAIN_HASHP_SIZE_MISMATCH",
49: "EXECUTOR_ERROR_SM_MAIN_HASHPLEN_LENGTH_MISMATCH",
50: "EXECUTOR_ERROR_SM_MAIN_HASHPLEN_CALLED_TWICE",
51: "EXECUTOR_ERROR_SM_MAIN_HASHPDIGEST_DIGEST_MISMATCH",
52: "EXECUTOR_ERROR_SM_MAIN_HASHPDIGEST_CALLED_TWICE",
53: "EXECUTOR_ERROR_SM_MAIN_ARITH_MISMATCH",
54: "EXECUTOR_ERROR_SM_MAIN_ARITH_ECRECOVER_MISMATCH",
55: "EXECUTOR_ERROR_SM_MAIN_BINARY_ADD_MISMATCH",
56: "EXECUTOR_ERROR_SM_MAIN_BINARY_SUB_MISMATCH",
57: "EXECUTOR_ERROR_SM_MAIN_BINARY_LT_MISMATCH",
58: "EXECUTOR_ERROR_SM_MAIN_BINARY_SLT_MISMATCH",
59: "EXECUTOR_ERROR_SM_MAIN_BINARY_EQ_MISMATCH",
60: "EXECUTOR_ERROR_SM_MAIN_BINARY_AND_MISMATCH",
61: "EXECUTOR_ERROR_SM_MAIN_BINARY_OR_MISMATCH",
62: "EXECUTOR_ERROR_SM_MAIN_BINARY_XOR_MISMATCH",
63: "EXECUTOR_ERROR_SM_MAIN_MEMALIGN_WRITE_MISMATCH",
64: "EXECUTOR_ERROR_SM_MAIN_MEMALIGN_WRITE8_MISMATCH",
65: "EXECUTOR_ERROR_SM_MAIN_MEMALIGN_READ_MISMATCH",
66: "EXECUTOR_ERROR_SM_MAIN_JMPN_OUT_OF_RANGE",
67: "EXECUTOR_ERROR_SM_MAIN_HASHK_READ_OUT_OF_RANGE",
68: "EXECUTOR_ERROR_SM_MAIN_HASHP_READ_OUT_OF_RANGE",
69: "EXECUTOR_ERROR_INVALID_OLD_STATE_ROOT",
70: "EXECUTOR_ERROR_INVALID_OLD_ACC_INPUT_HASH",
71: "EXECUTOR_ERROR_INVALID_CHAIN_ID",
72: "EXECUTOR_ERROR_INVALID_BATCH_L2_DATA",
73: "EXECUTOR_ERROR_INVALID_GLOBAL_EXIT_ROOT",
74: "EXECUTOR_ERROR_INVALID_COINBASE",
75: "EXECUTOR_ERROR_INVALID_FROM",
76: "EXECUTOR_ERROR_INVALID_DB_KEY",
77: "EXECUTOR_ERROR_INVALID_DB_VALUE",
78: "EXECUTOR_ERROR_INVALID_CONTRACTS_BYTECODE_KEY",
79: "EXECUTOR_ERROR_INVALID_CONTRACTS_BYTECODE_VALUE",
80: "EXECUTOR_ERROR_INVALID_GET_KEY",
81: "EXECUTOR_ERROR_SM_MAIN_COUNTERS_OVERFLOW_SHA256",
82: "EXECUTOR_ERROR_SM_MAIN_HASHS",
83: "EXECUTOR_ERROR_SM_MAIN_HASHS_SIZE_OUT_OF_RANGE",
84: "EXECUTOR_ERROR_SM_MAIN_HASHS_POSITION_NEGATIVE",
85: "EXECUTOR_ERROR_SM_MAIN_HASHS_POSITION_PLUS_SIZE_OUT_OF_RANGE",
86: "EXECUTOR_ERROR_SM_MAIN_HASHSDIGEST_ADDRESS_NOT_FOUND",
87: "EXECUTOR_ERROR_SM_MAIN_HASHSDIGEST_NOT_COMPLETED",
88: "EXECUTOR_ERROR_SM_MAIN_HASHS_VALUE_MISMATCH",
89: "EXECUTOR_ERROR_SM_MAIN_HASHS_PADDING_MISMATCH",
90: "EXECUTOR_ERROR_SM_MAIN_HASHS_SIZE_MISMATCH",
91: "EXECUTOR_ERROR_SM_MAIN_HASHSLEN_LENGTH_MISMATCH",
92: "EXECUTOR_ERROR_SM_MAIN_HASHSLEN_CALLED_TWICE",
93: "EXECUTOR_ERROR_SM_MAIN_HASHSDIGEST_NOT_FOUND",
94: "EXECUTOR_ERROR_SM_MAIN_HASHSDIGEST_DIGEST_MISMATCH",
95: "EXECUTOR_ERROR_SM_MAIN_HASHSDIGEST_CALLED_TWICE",
96: "EXECUTOR_ERROR_SM_MAIN_HASHS_READ_OUT_OF_RANGE",
97: "EXECUTOR_ERROR_INVALID_L1_INFO_ROOT",
98: "EXECUTOR_ERROR_INVALID_FORCED_BLOCKHASH_L1",
99: "EXECUTOR_ERROR_INVALID_L1_DATA_V2_GLOBAL_EXIT_ROOT",
100: "EXECUTOR_ERROR_INVALID_L1_DATA_V2_BLOCK_HASH_L1",
101: "EXECUTOR_ERROR_INVALID_L1_SMT_PROOF",
102: "EXECUTOR_ERROR_INVALID_BALANCE",
103: "EXECUTOR_ERROR_SM_MAIN_BINARY_LT4_MISMATCH",
104: "EXECUTOR_ERROR_INVALID_NEW_STATE_ROOT",
105: "EXECUTOR_ERROR_INVALID_NEW_ACC_INPUT_HASH",
106: "EXECUTOR_ERROR_INVALID_NEW_LOCAL_EXIT_ROOT",
107: "EXECUTOR_ERROR_DB_KEY_NOT_FOUND",
108: "EXECUTOR_ERROR_SMT_INVALID_DATA_SIZE",
109: "EXECUTOR_ERROR_HASHDB_GRPC_ERROR",
110: "EXECUTOR_ERROR_STATE_MANAGER",
111: "EXECUTOR_ERROR_INVALID_L1_INFO_TREE_INDEX",
112: "EXECUTOR_ERROR_INVALID_L1_INFO_TREE_SMT_PROOF_VALUE",
113: "EXECUTOR_ERROR_INVALID_WITNESS",
114: "EXECUTOR_ERROR_INVALID_CBOR",
115: "EXECUTOR_ERROR_INVALID_DATA_STREAM",
116: "EXECUTOR_ERROR_INVALID_UPDATE_MERKLE_TREE",
117: "EXECUTOR_ERROR_SM_MAIN_INVALID_TX_STATUS_ERROR",
}
ExecutorError_value = map[string]int32{
"EXECUTOR_ERROR_UNSPECIFIED": 0,
"EXECUTOR_ERROR_NO_ERROR": 1,
"EXECUTOR_ERROR_DB_ERROR": 2,
"EXECUTOR_ERROR_SM_MAIN_COUNTERS_OVERFLOW_STEPS": 3,
"EXECUTOR_ERROR_SM_MAIN_COUNTERS_OVERFLOW_KECCAK": 4,
"EXECUTOR_ERROR_SM_MAIN_COUNTERS_OVERFLOW_BINARY": 5,
"EXECUTOR_ERROR_SM_MAIN_COUNTERS_OVERFLOW_MEM": 6,
"EXECUTOR_ERROR_SM_MAIN_COUNTERS_OVERFLOW_ARITH": 7,
"EXECUTOR_ERROR_SM_MAIN_COUNTERS_OVERFLOW_PADDING": 8,
"EXECUTOR_ERROR_SM_MAIN_COUNTERS_OVERFLOW_POSEIDON": 9,
"EXECUTOR_ERROR_UNSUPPORTED_FORK_ID": 10,
"EXECUTOR_ERROR_BALANCE_MISMATCH": 11,
"EXECUTOR_ERROR_FEA2SCALAR": 12,
"EXECUTOR_ERROR_TOS32": 13,
"EXECUTOR_ERROR_SM_MAIN_INVALID_UNSIGNED_TX": 14,
"EXECUTOR_ERROR_SM_MAIN_INVALID_NO_COUNTERS": 15,
"EXECUTOR_ERROR_SM_MAIN_ARITH_ECRECOVER_DIVIDE_BY_ZERO": 16,
"EXECUTOR_ERROR_SM_MAIN_ADDRESS_OUT_OF_RANGE": 17,
"EXECUTOR_ERROR_SM_MAIN_ADDRESS_NEGATIVE": 18,
"EXECUTOR_ERROR_SM_MAIN_STORAGE_INVALID_KEY": 19,
"EXECUTOR_ERROR_SM_MAIN_HASHK": 20,
"EXECUTOR_ERROR_SM_MAIN_HASHK_SIZE_OUT_OF_RANGE": 21,
"EXECUTOR_ERROR_SM_MAIN_HASHK_POSITION_NEGATIVE": 22,
"EXECUTOR_ERROR_SM_MAIN_HASHK_POSITION_PLUS_SIZE_OUT_OF_RANGE": 23,
"EXECUTOR_ERROR_SM_MAIN_HASHKDIGEST_ADDRESS_NOT_FOUND": 24,
"EXECUTOR_ERROR_SM_MAIN_HASHKDIGEST_NOT_COMPLETED": 25,
"EXECUTOR_ERROR_SM_MAIN_HASHP": 26,
"EXECUTOR_ERROR_SM_MAIN_HASHP_SIZE_OUT_OF_RANGE": 27,
"EXECUTOR_ERROR_SM_MAIN_HASHP_POSITION_NEGATIVE": 28,
"EXECUTOR_ERROR_SM_MAIN_HASHP_POSITION_PLUS_SIZE_OUT_OF_RANGE": 29,
"EXECUTOR_ERROR_SM_MAIN_HASHPDIGEST_ADDRESS_NOT_FOUND": 30,
"EXECUTOR_ERROR_SM_MAIN_HASHPDIGEST_NOT_COMPLETED": 31,
"EXECUTOR_ERROR_SM_MAIN_MEMALIGN_OFFSET_OUT_OF_RANGE": 32,
"EXECUTOR_ERROR_SM_MAIN_MULTIPLE_FREEIN": 33,
"EXECUTOR_ERROR_SM_MAIN_ASSERT": 34,
"EXECUTOR_ERROR_SM_MAIN_MEMORY": 35,
"EXECUTOR_ERROR_SM_MAIN_STORAGE_READ_MISMATCH": 36,
"EXECUTOR_ERROR_SM_MAIN_STORAGE_WRITE_MISMATCH": 37,
"EXECUTOR_ERROR_SM_MAIN_HASHK_VALUE_MISMATCH": 38,
"EXECUTOR_ERROR_SM_MAIN_HASHK_PADDING_MISMATCH": 39,
"EXECUTOR_ERROR_SM_MAIN_HASHK_SIZE_MISMATCH": 40,
"EXECUTOR_ERROR_SM_MAIN_HASHKLEN_LENGTH_MISMATCH": 41,
"EXECUTOR_ERROR_SM_MAIN_HASHKLEN_CALLED_TWICE": 42,
"EXECUTOR_ERROR_SM_MAIN_HASHKDIGEST_NOT_FOUND": 43,
"EXECUTOR_ERROR_SM_MAIN_HASHKDIGEST_DIGEST_MISMATCH": 44,
"EXECUTOR_ERROR_SM_MAIN_HASHKDIGEST_CALLED_TWICE": 45,
"EXECUTOR_ERROR_SM_MAIN_HASHP_VALUE_MISMATCH": 46,
"EXECUTOR_ERROR_SM_MAIN_HASHP_PADDING_MISMATCH": 47,
"EXECUTOR_ERROR_SM_MAIN_HASHP_SIZE_MISMATCH": 48,
"EXECUTOR_ERROR_SM_MAIN_HASHPLEN_LENGTH_MISMATCH": 49,
"EXECUTOR_ERROR_SM_MAIN_HASHPLEN_CALLED_TWICE": 50,
"EXECUTOR_ERROR_SM_MAIN_HASHPDIGEST_DIGEST_MISMATCH": 51,
"EXECUTOR_ERROR_SM_MAIN_HASHPDIGEST_CALLED_TWICE": 52,
"EXECUTOR_ERROR_SM_MAIN_ARITH_MISMATCH": 53,
"EXECUTOR_ERROR_SM_MAIN_ARITH_ECRECOVER_MISMATCH": 54,
"EXECUTOR_ERROR_SM_MAIN_BINARY_ADD_MISMATCH": 55,
"EXECUTOR_ERROR_SM_MAIN_BINARY_SUB_MISMATCH": 56,
"EXECUTOR_ERROR_SM_MAIN_BINARY_LT_MISMATCH": 57,
"EXECUTOR_ERROR_SM_MAIN_BINARY_SLT_MISMATCH": 58,
"EXECUTOR_ERROR_SM_MAIN_BINARY_EQ_MISMATCH": 59,
"EXECUTOR_ERROR_SM_MAIN_BINARY_AND_MISMATCH": 60,
"EXECUTOR_ERROR_SM_MAIN_BINARY_OR_MISMATCH": 61,
"EXECUTOR_ERROR_SM_MAIN_BINARY_XOR_MISMATCH": 62,
"EXECUTOR_ERROR_SM_MAIN_MEMALIGN_WRITE_MISMATCH": 63,
"EXECUTOR_ERROR_SM_MAIN_MEMALIGN_WRITE8_MISMATCH": 64,
"EXECUTOR_ERROR_SM_MAIN_MEMALIGN_READ_MISMATCH": 65,
"EXECUTOR_ERROR_SM_MAIN_JMPN_OUT_OF_RANGE": 66,
"EXECUTOR_ERROR_SM_MAIN_HASHK_READ_OUT_OF_RANGE": 67,
"EXECUTOR_ERROR_SM_MAIN_HASHP_READ_OUT_OF_RANGE": 68,
"EXECUTOR_ERROR_INVALID_OLD_STATE_ROOT": 69,
"EXECUTOR_ERROR_INVALID_OLD_ACC_INPUT_HASH": 70,
"EXECUTOR_ERROR_INVALID_CHAIN_ID": 71,
"EXECUTOR_ERROR_INVALID_BATCH_L2_DATA": 72,
"EXECUTOR_ERROR_INVALID_GLOBAL_EXIT_ROOT": 73,
"EXECUTOR_ERROR_INVALID_COINBASE": 74,
"EXECUTOR_ERROR_INVALID_FROM": 75,
"EXECUTOR_ERROR_INVALID_DB_KEY": 76,
"EXECUTOR_ERROR_INVALID_DB_VALUE": 77,
"EXECUTOR_ERROR_INVALID_CONTRACTS_BYTECODE_KEY": 78,
"EXECUTOR_ERROR_INVALID_CONTRACTS_BYTECODE_VALUE": 79,
"EXECUTOR_ERROR_INVALID_GET_KEY": 80,
"EXECUTOR_ERROR_SM_MAIN_COUNTERS_OVERFLOW_SHA256": 81,
"EXECUTOR_ERROR_SM_MAIN_HASHS": 82,
"EXECUTOR_ERROR_SM_MAIN_HASHS_SIZE_OUT_OF_RANGE": 83,
"EXECUTOR_ERROR_SM_MAIN_HASHS_POSITION_NEGATIVE": 84,
"EXECUTOR_ERROR_SM_MAIN_HASHS_POSITION_PLUS_SIZE_OUT_OF_RANGE": 85,
"EXECUTOR_ERROR_SM_MAIN_HASHSDIGEST_ADDRESS_NOT_FOUND": 86,
"EXECUTOR_ERROR_SM_MAIN_HASHSDIGEST_NOT_COMPLETED": 87,
"EXECUTOR_ERROR_SM_MAIN_HASHS_VALUE_MISMATCH": 88,
"EXECUTOR_ERROR_SM_MAIN_HASHS_PADDING_MISMATCH": 89,
"EXECUTOR_ERROR_SM_MAIN_HASHS_SIZE_MISMATCH": 90,
"EXECUTOR_ERROR_SM_MAIN_HASHSLEN_LENGTH_MISMATCH": 91,
"EXECUTOR_ERROR_SM_MAIN_HASHSLEN_CALLED_TWICE": 92,
"EXECUTOR_ERROR_SM_MAIN_HASHSDIGEST_NOT_FOUND": 93,
"EXECUTOR_ERROR_SM_MAIN_HASHSDIGEST_DIGEST_MISMATCH": 94,
"EXECUTOR_ERROR_SM_MAIN_HASHSDIGEST_CALLED_TWICE": 95,
"EXECUTOR_ERROR_SM_MAIN_HASHS_READ_OUT_OF_RANGE": 96,
"EXECUTOR_ERROR_INVALID_L1_INFO_ROOT": 97,
"EXECUTOR_ERROR_INVALID_FORCED_BLOCKHASH_L1": 98,
"EXECUTOR_ERROR_INVALID_L1_DATA_V2_GLOBAL_EXIT_ROOT": 99,
"EXECUTOR_ERROR_INVALID_L1_DATA_V2_BLOCK_HASH_L1": 100,
"EXECUTOR_ERROR_INVALID_L1_SMT_PROOF": 101,
"EXECUTOR_ERROR_INVALID_BALANCE": 102,
"EXECUTOR_ERROR_SM_MAIN_BINARY_LT4_MISMATCH": 103,
"EXECUTOR_ERROR_INVALID_NEW_STATE_ROOT": 104,
"EXECUTOR_ERROR_INVALID_NEW_ACC_INPUT_HASH": 105,
"EXECUTOR_ERROR_INVALID_NEW_LOCAL_EXIT_ROOT": 106,
"EXECUTOR_ERROR_DB_KEY_NOT_FOUND": 107,
"EXECUTOR_ERROR_SMT_INVALID_DATA_SIZE": 108,
"EXECUTOR_ERROR_HASHDB_GRPC_ERROR": 109,
"EXECUTOR_ERROR_STATE_MANAGER": 110,
"EXECUTOR_ERROR_INVALID_L1_INFO_TREE_INDEX": 111,
"EXECUTOR_ERROR_INVALID_L1_INFO_TREE_SMT_PROOF_VALUE": 112,
"EXECUTOR_ERROR_INVALID_WITNESS": 113,
"EXECUTOR_ERROR_INVALID_CBOR": 114,
"EXECUTOR_ERROR_INVALID_DATA_STREAM": 115,
"EXECUTOR_ERROR_INVALID_UPDATE_MERKLE_TREE": 116,
"EXECUTOR_ERROR_SM_MAIN_INVALID_TX_STATUS_ERROR": 117,
}
)
func (x ExecutorError) Enum() *ExecutorError {
p := new(ExecutorError)
*p = x
return p
}
func (x ExecutorError) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ExecutorError) Descriptor() protoreflect.EnumDescriptor {
return file_executor_proto_enumTypes[1].Descriptor()
}
func (ExecutorError) Type() protoreflect.EnumType {
return &file_executor_proto_enumTypes[1]
}
func (x ExecutorError) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ExecutorError.Descriptor instead.
func (ExecutorError) EnumDescriptor() ([]byte, []int) {
return file_executor_proto_rawDescGZIP(), []int{1}
}
type ProcessBatchRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
OldStateRoot []byte `protobuf:"bytes,1,opt,name=old_state_root,json=oldStateRoot,proto3" json:"old_state_root,omitempty"`
OldAccInputHash []byte `protobuf:"bytes,2,opt,name=old_acc_input_hash,json=oldAccInputHash,proto3" json:"old_acc_input_hash,omitempty"`
OldBatchNum uint64 `protobuf:"varint,3,opt,name=old_batch_num,json=oldBatchNum,proto3" json:"old_batch_num,omitempty"`
ChainId uint64 `protobuf:"varint,4,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
ForkId uint64 `protobuf:"varint,5,opt,name=fork_id,json=forkId,proto3" json:"fork_id,omitempty"`
BatchL2Data []byte `protobuf:"bytes,6,opt,name=batch_l2_data,json=batchL2Data,proto3" json:"batch_l2_data,omitempty"`
GlobalExitRoot []byte `protobuf:"bytes,7,opt,name=global_exit_root,json=globalExitRoot,proto3" json:"global_exit_root,omitempty"`
EthTimestamp uint64 `protobuf:"varint,8,opt,name=eth_timestamp,json=ethTimestamp,proto3" json:"eth_timestamp,omitempty"`
Coinbase string `protobuf:"bytes,9,opt,name=coinbase,proto3" json:"coinbase,omitempty"`
UpdateMerkleTree uint32 `protobuf:"varint,10,opt,name=update_merkle_tree,json=updateMerkleTree,proto3" json:"update_merkle_tree,omitempty"`
// flag to indicate that counters should not be taken into account
NoCounters uint64 `protobuf:"varint,11,opt,name=no_counters,json=noCounters,proto3" json:"no_counters,omitempty"`
// from is used for unsigned transactions with sender
From string `protobuf:"bytes,12,opt,name=from,proto3" json:"from,omitempty"`
// For testing purposes only
Db map[string]string `protobuf:"bytes,13,rep,name=db,proto3" json:"db,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
ContractsBytecode map[string]string `protobuf:"bytes,14,rep,name=contracts_bytecode,json=contractsBytecode,proto3" json:"contracts_bytecode,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // For debug/testing purpposes only. Don't fill this on production
TraceConfig *TraceConfig `protobuf:"bytes,15,opt,name=trace_config,json=traceConfig,proto3" json:"trace_config,omitempty"`
ContextId string `protobuf:"bytes,16,opt,name=context_id,json=contextId,proto3" json:"context_id,omitempty"`
// The state override set is an optional address-to-state mapping,
// where each entry specifies some state to be ephemerally overridden
// prior to executing the call.
StateOverride map[string]*OverrideAccount `protobuf:"bytes,17,rep,name=state_override,json=stateOverride,proto3" json:"state_override,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
}
func (x *ProcessBatchRequest) Reset() {
*x = ProcessBatchRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_executor_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ProcessBatchRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ProcessBatchRequest) ProtoMessage() {}
func (x *ProcessBatchRequest) ProtoReflect() protoreflect.Message {
mi := &file_executor_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ProcessBatchRequest.ProtoReflect.Descriptor instead.
func (*ProcessBatchRequest) Descriptor() ([]byte, []int) {
return file_executor_proto_rawDescGZIP(), []int{0}
}
func (x *ProcessBatchRequest) GetOldStateRoot() []byte {
if x != nil {
return x.OldStateRoot
}
return nil
}
func (x *ProcessBatchRequest) GetOldAccInputHash() []byte {
if x != nil {
return x.OldAccInputHash
}
return nil
}
func (x *ProcessBatchRequest) GetOldBatchNum() uint64 {
if x != nil {
return x.OldBatchNum
}
return 0
}
func (x *ProcessBatchRequest) GetChainId() uint64 {
if x != nil {
return x.ChainId
}
return 0
}
func (x *ProcessBatchRequest) GetForkId() uint64 {
if x != nil {
return x.ForkId
}
return 0
}
func (x *ProcessBatchRequest) GetBatchL2Data() []byte {
if x != nil {
return x.BatchL2Data
}
return nil
}
func (x *ProcessBatchRequest) GetGlobalExitRoot() []byte {
if x != nil {
return x.GlobalExitRoot
}
return nil
}
func (x *ProcessBatchRequest) GetEthTimestamp() uint64 {
if x != nil {
return x.EthTimestamp
}
return 0
}
func (x *ProcessBatchRequest) GetCoinbase() string {
if x != nil {
return x.Coinbase
}
return ""
}
func (x *ProcessBatchRequest) GetUpdateMerkleTree() uint32 {
if x != nil {
return x.UpdateMerkleTree
}
return 0
}
func (x *ProcessBatchRequest) GetNoCounters() uint64 {
if x != nil {
return x.NoCounters
}
return 0
}
func (x *ProcessBatchRequest) GetFrom() string {
if x != nil {
return x.From
}
return ""
}
func (x *ProcessBatchRequest) GetDb() map[string]string {
if x != nil {
return x.Db
}
return nil
}
func (x *ProcessBatchRequest) GetContractsBytecode() map[string]string {
if x != nil {
return x.ContractsBytecode
}
return nil
}
func (x *ProcessBatchRequest) GetTraceConfig() *TraceConfig {
if x != nil {
return x.TraceConfig
}
return nil
}
func (x *ProcessBatchRequest) GetContextId() string {
if x != nil {
return x.ContextId
}
return ""
}
func (x *ProcessBatchRequest) GetStateOverride() map[string]*OverrideAccount {
if x != nil {
return x.StateOverride
}
return nil
}
type ProcessBatchResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
NewStateRoot []byte `protobuf:"bytes,1,opt,name=new_state_root,json=newStateRoot,proto3" json:"new_state_root,omitempty"`
NewAccInputHash []byte `protobuf:"bytes,2,opt,name=new_acc_input_hash,json=newAccInputHash,proto3" json:"new_acc_input_hash,omitempty"`
NewLocalExitRoot []byte `protobuf:"bytes,3,opt,name=new_local_exit_root,json=newLocalExitRoot,proto3" json:"new_local_exit_root,omitempty"`
NewBatchNum uint64 `protobuf:"varint,4,opt,name=new_batch_num,json=newBatchNum,proto3" json:"new_batch_num,omitempty"`
CntKeccakHashes uint32 `protobuf:"varint,5,opt,name=cnt_keccak_hashes,json=cntKeccakHashes,proto3" json:"cnt_keccak_hashes,omitempty"`
CntPoseidonHashes uint32 `protobuf:"varint,6,opt,name=cnt_poseidon_hashes,json=cntPoseidonHashes,proto3" json:"cnt_poseidon_hashes,omitempty"`
CntPoseidonPaddings uint32 `protobuf:"varint,7,opt,name=cnt_poseidon_paddings,json=cntPoseidonPaddings,proto3" json:"cnt_poseidon_paddings,omitempty"`
CntMemAligns uint32 `protobuf:"varint,8,opt,name=cnt_mem_aligns,json=cntMemAligns,proto3" json:"cnt_mem_aligns,omitempty"`
CntArithmetics uint32 `protobuf:"varint,9,opt,name=cnt_arithmetics,json=cntArithmetics,proto3" json:"cnt_arithmetics,omitempty"`
CntBinaries uint32 `protobuf:"varint,10,opt,name=cnt_binaries,json=cntBinaries,proto3" json:"cnt_binaries,omitempty"`
CntSteps uint32 `protobuf:"varint,11,opt,name=cnt_steps,json=cntSteps,proto3" json:"cnt_steps,omitempty"`
CumulativeGasUsed uint64 `protobuf:"varint,12,opt,name=cumulative_gas_used,json=cumulativeGasUsed,proto3" json:"cumulative_gas_used,omitempty"`
Responses []*ProcessTransactionResponse `protobuf:"bytes,13,rep,name=responses,proto3" json:"responses,omitempty"`
Error ExecutorError `protobuf:"varint,14,opt,name=error,proto3,enum=executor.v1.ExecutorError" json:"error,omitempty"`
ReadWriteAddresses map[string]*InfoReadWrite `protobuf:"bytes,15,rep,name=read_write_addresses,json=readWriteAddresses,proto3" json:"read_write_addresses,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
FlushId uint64 `protobuf:"varint,16,opt,name=flush_id,json=flushId,proto3" json:"flush_id,omitempty"`
StoredFlushId uint64 `protobuf:"varint,17,opt,name=stored_flush_id,json=storedFlushId,proto3" json:"stored_flush_id,omitempty"`
ProverId string `protobuf:"bytes,18,opt,name=prover_id,json=proverId,proto3" json:"prover_id,omitempty"`
ForkId uint64 `protobuf:"varint,19,opt,name=fork_id,json=forkId,proto3" json:"fork_id,omitempty"`
}
func (x *ProcessBatchResponse) Reset() {
*x = ProcessBatchResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_executor_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ProcessBatchResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ProcessBatchResponse) ProtoMessage() {}
func (x *ProcessBatchResponse) ProtoReflect() protoreflect.Message {
mi := &file_executor_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ProcessBatchResponse.ProtoReflect.Descriptor instead.
func (*ProcessBatchResponse) Descriptor() ([]byte, []int) {
return file_executor_proto_rawDescGZIP(), []int{1}
}
func (x *ProcessBatchResponse) GetNewStateRoot() []byte {
if x != nil {
return x.NewStateRoot
}
return nil
}
func (x *ProcessBatchResponse) GetNewAccInputHash() []byte {
if x != nil {
return x.NewAccInputHash
}
return nil
}
func (x *ProcessBatchResponse) GetNewLocalExitRoot() []byte {
if x != nil {
return x.NewLocalExitRoot
}
return nil
}
func (x *ProcessBatchResponse) GetNewBatchNum() uint64 {
if x != nil {
return x.NewBatchNum
}
return 0
}
func (x *ProcessBatchResponse) GetCntKeccakHashes() uint32 {
if x != nil {
return x.CntKeccakHashes
}
return 0
}
func (x *ProcessBatchResponse) GetCntPoseidonHashes() uint32 {
if x != nil {
return x.CntPoseidonHashes
}
return 0
}
func (x *ProcessBatchResponse) GetCntPoseidonPaddings() uint32 {
if x != nil {
return x.CntPoseidonPaddings
}