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 <[email protected]>
  • Loading branch information
chuangjinglu committed Jan 25, 2025
1 parent 6355ca3 commit 515a2b4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .changelog/5945.trivial.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
chore: fix some function names in interface comment

Fix some function names in interface comment.
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 515a2b4

Please sign in to comment.