Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.

Commit 41be89a

Browse files
committed
fix comments
1 parent 6da5613 commit 41be89a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

jsonrpc/endpoints_zkevm.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ func (z *ZKEVMEndpoints) GetLatestGlobalExitRoot() (interface{}, types.Error) {
640640
return ger.String(), nil
641641
}
642642

643-
// GetForkId returns the network current fork ID
643+
// GetForkId returns the network's current fork ID
644644
func (z *ZKEVMEndpoints) GetForkId() (interface{}, types.Error) {
645645
ctx := context.Background()
646646
forkID, err := z.state.GetCurrentForkID(ctx, nil)
@@ -651,7 +651,7 @@ func (z *ZKEVMEndpoints) GetForkId() (interface{}, types.Error) {
651651
return hex.EncodeUint64(forkID), nil
652652
}
653653

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
655655
func (z *ZKEVMEndpoints) GetForkById(forkID types.ArgUint64) (interface{}, types.Error) {
656656
ctx := context.Background()
657657
forkIDInterval, err := z.state.GetForkByID(ctx, uint64(forkID), nil)
@@ -678,7 +678,7 @@ func (z *ZKEVMEndpoints) GetForkIdByBatchNumber(batchNumber types.BatchNumber) (
678678
return hex.EncodeUint64(forkID), nil
679679
}
680680

681-
// GetForkIds returns the network fork ID intervals
681+
// GetForks returns the network fork ID intervals
682682
func (z *ZKEVMEndpoints) GetForks() (interface{}, types.Error) {
683683
ctx := context.Background()
684684
forkIDIntervals, err := z.state.GetForkIDIntervals(ctx, nil)

0 commit comments

Comments
 (0)