fix(docs): various typos and misspelled function names (#23600)
This commit is contained in:
parent
9a92843c21
commit
738f288181
@ -59,7 +59,7 @@ func (app *BaseApp) NewContextLegacy(isCheckTx bool, header cmtproto.Header) sdk
|
||||
return sdk.NewContext(app.finalizeBlockState.ms, false, app.logger).WithBlockHeader(header)
|
||||
}
|
||||
|
||||
// NewContext returns a new sdk.Context with a empty header
|
||||
// NewContext returns a new sdk.Context with an empty header
|
||||
func (app *BaseApp) NewContext(isCheckTx bool) sdk.Context {
|
||||
return app.NewContextLegacy(isCheckTx, cmtproto.Header{})
|
||||
}
|
||||
|
||||
@ -33,7 +33,7 @@ func TestGRPC(t *testing.T) {
|
||||
require.Greater(t, len(services), 0)
|
||||
require.Contains(t, services, "cosmos.staking.v1beta1.Query")
|
||||
|
||||
// test query invokation
|
||||
// test query invocation
|
||||
rf, formatter, err := grpcurl.RequestParserAndFormatter(grpcurl.FormatText, descSource, os.Stdin, grpcurl.FormatOptions{})
|
||||
require.NoError(t, err)
|
||||
|
||||
|
||||
@ -151,7 +151,7 @@ func TestContinuousAccountSendCoins(t *testing.T) {
|
||||
require.NoError(t, err)
|
||||
}
|
||||
|
||||
func TestContinousAccountGetLockCoinInfo(t *testing.T) {
|
||||
func TestContinuousAccountGetLockCoinInfo(t *testing.T) {
|
||||
ctx, ss := newMockContext(t)
|
||||
sdkCtx := sdk.NewContext(nil, true, log.NewNopLogger()).WithContext(ctx).WithHeaderInfo(header.Info{
|
||||
Time: time.Now(),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user