chore: fix typos (#23075)
Co-authored-by: son trinh <trinhleson2000@gmail.com>
This commit is contained in:
parent
e39065d2c2
commit
3be4eebf64
@ -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()
|
||||
@ -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)
|
||||
|
||||
@ -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())
|
||||
|
||||
@ -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))
|
||||
@ -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))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user