From e4667260e0cd980c41dc5f9848402aeaf5829383 Mon Sep 17 00:00:00 2001 From: linchizhen Date: Tue, 17 Dec 2024 18:34:25 +0800 Subject: [PATCH] chore: fix some function names in comment Signed-off-by: linchizhen --- test/util/test_app.go | 2 +- x/blobstream/abci_test.go | 2 +- x/blobstream/types/msgs.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/util/test_app.go b/test/util/test_app.go index 6cd370d363..674be5799e 100644 --- a/test/util/test_app.go +++ b/test/util/test_app.go @@ -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{ diff --git a/x/blobstream/abci_test.go b/x/blobstream/abci_test.go index 16f0f9d575..6ecdc748b4 100644 --- a/x/blobstream/abci_test.go +++ b/x/blobstream/abci_test.go @@ -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. diff --git a/x/blobstream/types/msgs.go b/x/blobstream/types/msgs.go index 5db52fb864..1f6d1386f3 100644 --- a/x/blobstream/types/msgs.go +++ b/x/blobstream/types/msgs.go @@ -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 {