fix(docs): various typos and misspelled function names (#23600)

This commit is contained in:
plubber 2025-02-03 16:10:02 -05:00 committed by GitHub
parent 9a92843c21
commit 738f288181
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -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{})
}

View File

@ -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)

View File

@ -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(),