Skip to content

Commit 49dcb36

Browse files
author
Naohiro Yoshida
committed
fix comment
Signed-off-by: Naohiro Yoshida <[email protected]>
1 parent 7a25445 commit 49dcb36

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ make proto-gen
4343

4444
## About ForkSpec
4545

46-
1. Set HF height as soon as possibile
46+
1. Set HF height as soon as possible
4747
As soon as the HF height is determined, please modify the timestamp in the ForkSpec to the height as soon as possible.
4848
HF height is calculated from timestamp, but the further away from the HF, the longer it takes to calculate.
4949

module/setup.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import (
1010
"github.com/hyperledger-labs/yui-relayer/log"
1111
)
1212

13+
// Maximum header interval to be submitted to LCP
1314
const skip = 100
1415

1516
type queryVerifiableNeighboringEpochHeaderFn = func(context.Context, uint64, uint64) (core.Header, error)
@@ -121,6 +122,7 @@ func setupHeadersForUpdate(
121122
return withTrustedHeight(append(targetHeaders, latestFinalizedHeader), clientStateLatestHeight), nil
122123
}
123124

125+
// Get verifiable headers. This method must be executed at block intervals that do not miss any epochs.
124126
func setupIntermediateHeader(
125127
ctx context.Context,
126128
queryVerifiableHeader queryVerifiableNeighboringEpochHeaderFn,

0 commit comments

Comments
 (0)