Skip to content

Commit

Permalink
chore: fix some function names in comment (#4137)
Browse files Browse the repository at this point in the history
<!--
Please read and fill out this form before submitting your PR.

Please make sure you have reviewed our contributors guide before
submitting your
first PR.
-->

## Overview

 fix some function names in comment

<!-- 
Please provide an explanation of the PR, including the appropriate
context,
background, goal, and rationale. If there is an issue with this
information,
please provide a tl;dr and link the issue. 
-->

Signed-off-by: linchizhen <[email protected]>
  • Loading branch information
linchizhen authored Dec 19, 2024
1 parent a9dd12c commit 169f767
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/util/test_app.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ func InitialiseTestAppWithGenesis(testApp *app.App, cparams *tmproto.ConsensusPa
return testApp
}

// AddDeterministicValidatorToGenesis adds a set of five validators to the genesis.
// AddDeterministicValidatorsToGenesis adds a set of five validators to the genesis.
func AddDeterministicValidatorsToGenesis(g *genesis.Genesis) error {
for i := range FixedMnemonics {
val := genesis.Validator{
Expand Down
2 changes: 1 addition & 1 deletion x/blobstream/abci_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ func TestHasDataCommitmentInStore(t *testing.T) {
}
}

// TestGetDataCommitment This test will test the data commitment creation
// TestDataCommitmentCreationCatchup This test will test the data commitment creation
// catchup mechanism. It will run `abci.EndBlocker` on all the heights while
// changing the data commitment window in different occasions, to see if at the
// end of the test, the data commitments cover all the needed ranges.
Expand Down
2 changes: 1 addition & 1 deletion x/blobstream/types/msgs.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func (msg MsgRegisterEVMAddress) ValidateBasic() error {
return nil
}

// GetSigner fulfills the sdk.Msg interface. The signer must be the validator address
// GetSigners fulfills the sdk.Msg interface. The signer must be the validator address
func (msg MsgRegisterEVMAddress) GetSigners() []sdk.AccAddress {
valAddr, err := sdk.ValAddressFromBech32(msg.ValidatorAddress)
if err != nil {
Expand Down

0 comments on commit 169f767

Please sign in to comment.