@@ -640,7 +640,7 @@ func (z *ZKEVMEndpoints) GetLatestGlobalExitRoot() (interface{}, types.Error) {
640
640
return ger .String (), nil
641
641
}
642
642
643
- // GetForkId returns the network current fork ID
643
+ // GetForkId returns the network's current fork ID
644
644
func (z * ZKEVMEndpoints ) GetForkId () (interface {}, types.Error ) {
645
645
ctx := context .Background ()
646
646
forkID , err := z .state .GetCurrentForkID (ctx , nil )
@@ -651,7 +651,7 @@ func (z *ZKEVMEndpoints) GetForkId() (interface{}, types.Error) {
651
651
return hex .EncodeUint64 (forkID ), nil
652
652
}
653
653
654
- // GetForkById returns the network fork ID interval given the fork id
654
+ // GetForkById returns the network fork ID interval given the provided fork id
655
655
func (z * ZKEVMEndpoints ) GetForkById (forkID types.ArgUint64 ) (interface {}, types.Error ) {
656
656
ctx := context .Background ()
657
657
forkIDInterval , err := z .state .GetForkByID (ctx , uint64 (forkID ), nil )
@@ -678,7 +678,7 @@ func (z *ZKEVMEndpoints) GetForkIdByBatchNumber(batchNumber types.BatchNumber) (
678
678
return hex .EncodeUint64 (forkID ), nil
679
679
}
680
680
681
- // GetForkIds returns the network fork ID intervals
681
+ // GetForks returns the network fork ID intervals
682
682
func (z * ZKEVMEndpoints ) GetForks () (interface {}, types.Error ) {
683
683
ctx := context .Background ()
684
684
forkIDIntervals , err := z .state .GetForkIDIntervals (ctx , nil )
0 commit comments