Skip to content

Commit

Permalink
fix(docs): various typos and misspelled function names (#23600)
Browse files Browse the repository at this point in the history
  • Loading branch information
ericHgorski authored Feb 3, 2025
1 parent 9a92843 commit 738f288
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion baseapp/test_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{})
}
Expand Down
2 changes: 1 addition & 1 deletion tests/systemtests/grpc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 738f288

Please sign in to comment.