Skip to content

Commit

Permalink
chore: fix some function names in interface comment
Browse files Browse the repository at this point in the history
Signed-off-by: chuangjinglu <chuangjinglu@outlook.com>
  • Loading branch information
chuangjinglu committed Nov 23, 2024
1 parent 4ca1984 commit c03d1f7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go/consensus/cometbft/api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ type Backend interface {
// ABCI multiplexer.
SetTransactionAuthHandler(TransactionAuthHandler) error

// GetBlock returns the CometBFT block at the specified height.
// GetCometBFTBlock returns the CometBFT block at the specified height.
GetCometBFTBlock(ctx context.Context, height int64) (*cmttypes.Block, error)

// GetBlockResults returns the ABCI results from processing a block
Expand Down
2 changes: 1 addition & 1 deletion go/ias/api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type Endpoint interface {
// certificate chain respectively.
VerifyEvidence(ctx context.Context, evidence *Evidence) (*ias.AVRBundle, error)

// GetSPID returns the SPID and associated info used by the endpoint.
// GetSPIDInfo returns the SPID and associated info used by the endpoint.
GetSPIDInfo(ctx context.Context) (*SPIDInfo, error)

// GetSigRL returns the Signature Revocation List for a given EPID group.
Expand Down
2 changes: 1 addition & 1 deletion go/roothash/api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ type Backend interface {
// GetRuntimeState returns the given runtime's state.
GetRuntimeState(ctx context.Context, request *RuntimeRequest) (*RuntimeState, error)

// GetPastRoundRoots returns the stored state and I/O roots for the given runtime and round.
// GetRoundRoots returns the stored state and I/O roots for the given runtime and round.
GetRoundRoots(ctx context.Context, request *RoundRootsRequest) (*RoundRoots, error)

// GetPastRoundRoots returns the stored past state and I/O roots for the given runtime.
Expand Down

0 comments on commit c03d1f7

Please sign in to comment.