This repository was archived by the owner on Feb 17, 2025. It is now read-only.
Commit a774dc9
authored
Fix timestamp when querying zkevm_getBatchByNumer and the batch is only in trusted state (#3750)
* fix timestamp when querying zkevm_getBatchByNumer and the batch is only in trusted state
* control timestamp to be returned for a batch in GetBatchTimestamp
* fix ErrNotFound
* fix state.ErrNotFound check
* fix comments
* fix GetRawBatchTimestamps
* fix comments
* fix GetRawBatchTimestamps return err1 parent 45a7413 commit a774dc9
2 files changed
+21
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
568 | 568 | | |
569 | 569 | | |
570 | 570 | | |
571 | | - | |
| 571 | + | |
| 572 | + | |
572 | 573 | | |
573 | | - | |
574 | | - | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
575 | 578 | | |
576 | 579 | | |
577 | 580 | | |
| |||
584 | 587 | | |
585 | 588 | | |
586 | 589 | | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
587 | 604 | | |
588 | 605 | | |
589 | 606 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
995 | 995 | | |
996 | 996 | | |
997 | 997 | | |
998 | | - | |
| 998 | + | |
999 | 999 | | |
1000 | 1000 | | |
1001 | 1001 | | |
| |||
0 commit comments