Skip to content

Commit

Permalink
chore: fix typos (cosmos#23075)
Browse files Browse the repository at this point in the history
Co-authored-by: son trinh <[email protected]>
  • Loading branch information
oliveredget and sontrinh16 authored Dec 26, 2024
1 parent e39065d commit 3be4eeb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions baseapp/abci_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,7 @@ func TestABCI_Query_SimulateNestedMessagesTx(t *testing.T) {
})
require.NoError(t, err)

baseapptestutil.RegisterNestedMessagesServer(suite.baseApp.MsgServiceRouter(), NestedMessgesServerImpl{})
baseapptestutil.RegisterNestedMessagesServer(suite.baseApp.MsgServiceRouter(), NestedMessagesServerImpl{})
baseapptestutil.RegisterSendServer(suite.baseApp.MsgServiceRouter(), SendServerImpl{})

ac := codectestutil.CodecOptions{}.GetAddressCodec()
Expand Down Expand Up @@ -975,7 +975,7 @@ func TestABCI_Query_SimulateNestedMessagesGas(t *testing.T) {
})
require.NoError(t, err)

baseapptestutil.RegisterNestedMessagesServer(tt.suite.baseApp.MsgServiceRouter(), NestedMessgesServerImpl{})
baseapptestutil.RegisterNestedMessagesServer(tt.suite.baseApp.MsgServiceRouter(), NestedMessagesServerImpl{})
baseapptestutil.RegisterSendServer(tt.suite.baseApp.MsgServiceRouter(), SendServerImpl{})

nestedMessages := make([]*any.Any, 1)
Expand Down
4 changes: 2 additions & 2 deletions baseapp/utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -409,11 +409,11 @@ func (s SendServerImpl) Send(ctx context.Context, send *baseapptestutil.MsgSend)
return &baseapptestutil.MsgSendResponse{}, nil
}

type NestedMessgesServerImpl struct {
type NestedMessagesServerImpl struct {
gas uint64
}

func (n NestedMessgesServerImpl) Check(ctx context.Context, message *baseapptestutil.MsgNestedMessages) (*baseapptestutil.MsgCreateNestedMessagesResponse, error) {
func (n NestedMessagesServerImpl) Check(ctx context.Context, message *baseapptestutil.MsgNestedMessages) (*baseapptestutil.MsgCreateNestedMessagesResponse, error) {
sdkCtx := sdk.UnwrapSDKContext(ctx)
cdc := codectestutil.CodecOptions{}.NewCodec()
baseapptestutil.RegisterInterfaces(cdc.InterfaceRegistry())
Expand Down
4 changes: 2 additions & 2 deletions x/bank/v2/keeper/keeper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func (suite *KeeperTestSuite) SetupTest() {
suite.addressCodec = ac
}

func (suite *KeeperTestSuite) TestSendCoins_Acount_To_Account() {
func (suite *KeeperTestSuite) TestSendCoins_Account_To_Account() {
ctx := suite.ctx
require := suite.Require()
balances := sdk.NewCoins(newFooCoin(100), newBarCoin(50))
Expand All @@ -110,7 +110,7 @@ func (suite *KeeperTestSuite) TestSendCoins_Acount_To_Account() {
require.Equal(acc1BarBalance.Amount, math.NewInt(10))
}

func (suite *KeeperTestSuite) TestSendCoins_Acount_To_Module() {
func (suite *KeeperTestSuite) TestSendCoins_Account_To_Module() {
ctx := suite.ctx
require := suite.Require()
balances := sdk.NewCoins(newFooCoin(100), newBarCoin(50))
Expand Down

0 comments on commit 3be4eeb

Please sign in to comment.