Skip to content

Commit fdee96c

Browse files
author
Alex | Interchain Labs
authored
Merge branch 'main' into fix-typo4ek
2 parents a676d90 + 87b5e6c commit fdee96c

File tree

22 files changed

+58
-34
lines changed

22 files changed

+58
-34
lines changed

client/broadcast_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ func CreateContextWithErrorAndMode(err error, mode string) Context {
2020
}
2121
}
2222

23-
// Test the correct code is returned when
23+
// Test the correct code is returned when broadcasting transactions with specific mempool errors
2424
func TestBroadcastError(t *testing.T) {
2525
errors := map[error]uint32{
2626
mempool.ErrTxInCache: sdkerrors.ErrTxInMempoolCache.ABCICode(),

client/query.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ func (ctx Context) GetFromAddress() sdk.AccAddress {
6060
return ctx.FromAddress
6161
}
6262

63-
// GetFeePayerAddress returns the fee granter address from the context
63+
// GetFeePayerAddress returns the fee payer address from the context
6464
func (ctx Context) GetFeePayerAddress() sdk.AccAddress {
6565
return ctx.FeePayer
6666
}

client/v2/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
3838

3939
### Bug Fixes
4040

41-
* [#24722](https://github.com/cosmos/cosmos-sdk/pull/24722) Fix msg parsing in when no pulsar file is present.
41+
* [#24722](https://github.com/cosmos/cosmos-sdk/pull/24722) Fix msg parsing when no pulsar file is present.
4242

4343
## [v2.0.0-beta.9](https://github.com/cosmos/cosmos-sdk/tree/client/v2.0.0-beta.9) - 2025-04-24
4444

client/v2/README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ The keyring is then converted to the `client/v2/autocli/keyring` interface.
9292
If no keyring is provided, the `autocli` generated command will not be able to sign transactions, but will still be able to query the chain.
9393

9494
:::tip
95-
The Cosmos SDK keyring and Hubl keyring both implement the `client/v2/autocli/keyring` interface, thanks to the following wrapper:
95+
The Cosmos SDK keyring implements the `client/v2/autocli/keyring` interface, thanks to the following wrapper:
9696

9797
```go
9898
keyring.NewAutoCLIKeyring(kb)
@@ -255,8 +255,4 @@ https://github.com/cosmos/cosmos-sdk/blob/client/v2.0.0-beta.1/client/grpc/cmtse
255255

256256
## Summary
257257

258-
`autocli` let you generate CLI to your Cosmos SDK-based applications without any cobra boilerplate. It allows you to easily generate CLI commands and flags from your protobuf messages, and provides many options for customising the behavior of your CLI application.
259-
260-
To further enhance your CLI experience with Cosmos SDK-based blockchains, you can use `hubl`. `hubl` is a tool that allows you to query any Cosmos SDK-based blockchain using the new AutoCLI feature of the Cosmos SDK. With `hubl`, you can easily configure a new chain and query modules with just a few simple commands.
261-
262-
For more information on `hubl`, including how to configure a new chain and query a module, see the [Hubl documentation](https://docs.cosmos.network/main/tooling/hubl).
258+
`autocli` lets you generate CLI for your Cosmos SDK-based applications without any cobra boilerplate. It allows you to easily generate CLI commands and flags from your protobuf messages, and provides many options for customising the behavior of your CLI application.

codec/codec.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ type (
1212
// Codec defines a functionality for serializing other objects.
1313
// Users can define a custom Protobuf-based serialization.
1414
// Note, Amino can still be used without any dependency on Protobuf.
15-
// SDK provides to Codec implementations:
15+
// SDK provides two Codec implementations:
1616
//
1717
// 1. AminoCodec: Provides full Amino serialization compatibility.
1818
// 2. ProtoCodec: Provides full Protobuf serialization compatibility.

codec/types/any_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ var eom = &errOnMarshal{}
2828
// Ensure that returning an error doesn't suddenly allocate and waste bytes.
2929
// See https://github.com/cosmos/cosmos-sdk/issues/8537
3030
func TestNewAnyWithCustomTypeURLWithErrorNoAllocation(t *testing.T) {
31-
// This tests continues to fail inconsistently.
31+
// This test continues to fail inconsistently.
3232
//
3333
// Example: https://github.com/cosmos/cosmos-sdk/pull/9246/checks?check_run_id=2643313958#step:6:118
3434
// Ref: https://github.com/cosmos/cosmos-sdk/issues/9010

docs/docs/learn/beginner/02-query-lifecycle.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ One such tool is [grpcurl](https://github.com/fullstorydev/grpcurl), and a gRPC
4747

4848
```bash
4949
grpcurl \
50-
-plaintext # We want results in plain test
50+
-plaintext # We want results in plain text
5151
-import-path ./proto \ # Import these .proto files
5252
-proto ./proto/cosmos/staking/v1beta1/query.proto \ # Look into this .proto file for the Query protobuf service
5353
-d '{"address":"$MY_DELEGATOR"}' \ # Query arguments

internal/conv/string_test.go

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ func (s *StringSuite) TestUnsafeStrToBytes() {
2525
for range 5 {
2626
b := unsafeConvertStr()
2727
runtime.GC()
28-
<-time.NewTimer(2 * time.Millisecond).C
28+
timer := time.NewTimer(2 * time.Millisecond)
29+
<-timer.C
30+
timer.Stop()
2931
b2 := append(b, 'd')
3032
s.Equal("abc", string(b))
3133
s.Equal("abcd", string(b2))
@@ -42,7 +44,9 @@ func (s *StringSuite) TestUnsafeBytesToStr() {
4244
for range 5 {
4345
str := unsafeConvertBytes()
4446
runtime.GC()
45-
<-time.NewTimer(2 * time.Millisecond).C
47+
timer := time.NewTimer(2 * time.Millisecond)
48+
<-timer.C
49+
timer.Stop()
4650
s.Equal("abc", str)
4751
}
4852
}

simapp/testutil_network_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ func (s *IntegrationTestSuite) SetupSuite() {
2525
s.Require().NoError(err)
2626

2727
h, err := s.network.WaitForHeight(1)
28-
s.Require().NoError(err, "stalled at height %d", h)
28+
s.Require().NoError(err, "failed to reach height 1; got %d", h)
2929
}
3030

3131
func (s *IntegrationTestSuite) TearDownSuite() {

store/cachekv/benchmark_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ type CacheStack struct {
7272
cacheStores []types.CacheKVStore
7373
}
7474

75-
// CurrentContext returns the top context of cached stack,
75+
// CurrentStore returns the top context of cached stack,
7676
// if the stack is empty, returns the initial context.
7777
func (cs *CacheStack) CurrentStore() types.CacheKVStore {
7878
l := len(cs.cacheStores)

0 commit comments

Comments
 (0)