Skip to content

Commit 372aa8f

Browse files
committed
Merge tag 'v0.47.8' into release/v0.47.x-neutron
Release v0.47.8
2 parents cdcf97e + 4912bef commit 372aa8f

File tree

22 files changed

+510
-416
lines changed

22 files changed

+510
-416
lines changed

CHANGELOG.md

+14
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,20 @@ Ref: https://keepachangelog.com/en/1.0.0/
3737

3838
## [Unreleased]
3939

40+
## [v0.47.8](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.47.8) - 2024-01-22
41+
42+
### Improvements
43+
44+
* (client/tx) [#18852](https://github.com/cosmos/cosmos-sdk/pull/18852) Add `WithFromName` to tx factory.
45+
* (types) [#18875](https://github.com/cosmos/cosmos-sdk/pull/18875) Speedup coins.Sort() if len(coins) <= 1.
46+
* (types) [#18888](https://github.com/cosmos/cosmos-sdk/pull/18888) Speedup DecCoin.Sort() if len(coins) <= 1
47+
* (testutil) [#18930](https://github.com/cosmos/cosmos-sdk/pull/18930) Add NodeURI for clientCtx.
48+
49+
### Bug Fixes
50+
51+
* [#19106](https://github.com/cosmos/cosmos-sdk/pull/19106) Allow empty public keys when setting signatures. Public keys aren't needed for every transaction.
52+
* (server) [#18920](https://github.com/cosmos/cosmos-sdk/pull/18920) Fixes consensus failure while restart node with wrong `chainId` in genesis.
53+
4054
## [v0.47.7](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.47.7) - 2023-12-20
4155

4256
### Improvements

RELEASE_NOTES.md

+10-9
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
1-
# Cosmos SDK v0.47.7 Release Notes
1+
# Cosmos SDK v0.47.8 Release Notes
22

3-
💬 [**Release Discussion**](https://github.com/orgs/cosmos/discussions/categories/announcements)
3+
💬 [**Release Discussion**](https://github.com/orgs/cosmos/discussions/6)
44

55
## 🚀 Highlights
66

7-
v0.50 is there, the v0.47.x line is now supported for bug fixes only, as per our release policy.
8-
Start integrating with [Cosmos SDK Eden (v0.50)](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.50.2) and enjoy and the new features and performance improvements.
7+
First and foremost, happy new year! 🎉
98

10-
For this 7th patch release of the `v0.47.x` line, some of the notable changes include:
9+
There is no specific notable change in this release apart from the usual bug fixes and improvements.
1110

12-
* A bug fix in the `app.toml` parsing for the `minimum-gas-prices` parameter.
13-
* A bug fix to properly simulate a transaction when using a multisig.
14-
15-
Check out the [changelog](https://github.com/cosmos/cosmos-sdk/blob/v0.47.5/CHANGELOG.md) for an exhaustive list of changes or [compare changes](https://github.com/cosmos/cosmos-sdk/compare/v0.47.6...v0.47.7) from last release.
11+
Curious? Check out the [changelog](https://github.com/cosmos/cosmos-sdk/blob/v0.47.8/CHANGELOG.md) for an exhaustive list of changes or [compare changes](https://github.com/cosmos/cosmos-sdk/compare/v0.47.7...v0.47.8) from last release.
1612

1713
Refer to the [upgrading guide](https://github.com/cosmos/cosmos-sdk/blob/release/v0.50.x/UPGRADING.md) when migrating from `v0.47.x` to `v0.50.x`.
14+
15+
## Maintenance Policy
16+
17+
v0.50 has been released which means the v0.47.x line is now supported for bug fixes only, as per our release policy.
18+
Start integrating with [Cosmos SDK Eden (v0.50)](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.50.3) and enjoy and the new features and performance improvements.

buf.work.yaml

+1-7
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
# Generated by "buf config migrate-v1beta1". Edit as necessary, and
2-
# remove this comment when you're finished.
3-
#
4-
# This workspace file points to the roots found in your
5-
# previous "buf.yaml" configuration.
61
version: v1
72
directories:
8-
- proto
9-
- orm/internal
3+
- proto

client/tx/factory.go

+8
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ func (f Factory) Fees() sdk.Coins { return f.fees }
130130
func (f Factory) GasPrices() sdk.DecCoins { return f.gasPrices }
131131
func (f Factory) AccountRetriever() client.AccountRetriever { return f.accountRetriever }
132132
func (f Factory) TimeoutHeight() uint64 { return f.timeoutHeight }
133+
func (f Factory) FromName() string { return f.fromName }
133134

134135
// SimulateAndExecute returns the option to simulate and then execute the transaction
135136
// using the gas from the simulation results
@@ -201,6 +202,13 @@ func (f Factory) WithKeybase(keybase keyring.Keyring) Factory {
201202
return f
202203
}
203204

205+
// WithFromName returns a copy of the Factory with updated fromName
206+
// fromName will be use for building a simulation tx.
207+
func (f Factory) WithFromName(fromName string) Factory {
208+
f.fromName = fromName
209+
return f
210+
}
211+
204212
// WithSequence returns a copy of the Factory with an updated sequence number.
205213
func (f Factory) WithSequence(sequence uint64) Factory {
206214
f.sequence = sequence

go.mod

+28-28
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ require (
66
cosmossdk.io/api v0.3.1
77
cosmossdk.io/core v0.5.1
88
cosmossdk.io/depinject v1.0.0-alpha.4
9-
cosmossdk.io/errors v1.0.0
10-
cosmossdk.io/log v1.2.1
9+
cosmossdk.io/errors v1.0.1
10+
cosmossdk.io/log v1.3.0
1111
cosmossdk.io/math v1.2.0
1212
cosmossdk.io/tools/rosetta v0.2.1
1313
github.com/99designs/keyring v1.2.1
@@ -44,40 +44,40 @@ require (
4444
github.com/jhump/protoreflect v1.15.1
4545
github.com/magiconair/properties v1.8.7
4646
github.com/manifoldco/promptui v0.9.0
47-
github.com/mattn/go-isatty v0.0.19
47+
github.com/mattn/go-isatty v0.0.20
4848
github.com/pkg/errors v0.9.1
4949
github.com/prometheus/client_golang v1.16.0
5050
github.com/prometheus/common v0.44.0
5151
github.com/rakyll/statik v0.1.7
52-
github.com/rs/zerolog v1.30.0
52+
github.com/rs/zerolog v1.31.0
5353
github.com/spf13/cast v1.5.1
5454
github.com/spf13/cobra v1.6.1
5555
github.com/spf13/pflag v1.0.5
5656
github.com/spf13/viper v1.15.0
5757
github.com/stretchr/testify v1.8.4
5858
github.com/tendermint/go-amino v0.16.0
5959
github.com/tidwall/btree v1.6.0
60-
golang.org/x/crypto v0.14.0
60+
golang.org/x/crypto v0.16.0
6161
golang.org/x/exp v0.0.0-20230711153332-06a737ee72cb
62-
golang.org/x/sync v0.3.0
63-
google.golang.org/genproto/googleapis/api v0.0.0-20231002182017-d307bd883b97
64-
google.golang.org/grpc v1.58.3
65-
google.golang.org/protobuf v1.31.0
66-
gotest.tools/v3 v3.5.0
62+
golang.org/x/sync v0.4.0
63+
google.golang.org/genproto/googleapis/api v0.0.0-20231212172506-995d672761c0
64+
google.golang.org/grpc v1.60.1
65+
google.golang.org/protobuf v1.32.0
66+
gotest.tools/v3 v3.5.1
6767
pgregory.net/rapid v0.5.5
6868
sigs.k8s.io/yaml v1.3.0
6969
)
7070

7171
require (
72-
cloud.google.com/go v0.110.8 // indirect
73-
cloud.google.com/go/compute v1.23.0 // indirect
72+
cloud.google.com/go v0.110.10 // indirect
73+
cloud.google.com/go/compute v1.23.3 // indirect
7474
cloud.google.com/go/compute/metadata v0.2.3 // indirect
75-
cloud.google.com/go/iam v1.1.2 // indirect
75+
cloud.google.com/go/iam v1.1.5 // indirect
7676
cloud.google.com/go/storage v1.30.1 // indirect
7777
filippo.io/edwards25519 v1.0.0 // indirect
7878
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect
7979
github.com/ChainSafe/go-schnorrkel v1.0.0 // indirect
80-
github.com/aws/aws-sdk-go v1.44.203 // indirect
80+
github.com/aws/aws-sdk-go v1.44.122 // indirect
8181
github.com/beorn7/perks v1.0.1 // indirect
8282
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect
8383
github.com/bufbuild/protocompile v0.4.0 // indirect
@@ -107,15 +107,15 @@ require (
107107
github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect
108108
github.com/gogo/googleapis v1.4.1 // indirect
109109
github.com/gogo/protobuf v1.3.2 // indirect
110-
github.com/golang/glog v1.1.0 // indirect
110+
github.com/golang/glog v1.1.2 // indirect
111111
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
112112
github.com/golang/snappy v0.0.4 // indirect
113113
github.com/google/btree v1.1.2 // indirect
114-
github.com/google/go-cmp v0.5.9 // indirect
114+
github.com/google/go-cmp v0.6.0 // indirect
115115
github.com/google/orderedcode v0.0.1 // indirect
116-
github.com/google/s2a-go v0.1.4 // indirect
117-
github.com/google/uuid v1.3.0 // indirect
118-
github.com/googleapis/enterprise-certificate-proxy v0.2.4 // indirect
116+
github.com/google/s2a-go v0.1.7 // indirect
117+
github.com/google/uuid v1.4.0 // indirect
118+
github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect
119119
github.com/googleapis/gax-go/v2 v2.12.0 // indirect
120120
github.com/gorilla/websocket v1.5.0 // indirect
121121
github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c // indirect
@@ -161,16 +161,16 @@ require (
161161
github.com/zondax/ledger-go v0.14.3 // indirect
162162
go.etcd.io/bbolt v1.3.6 // indirect
163163
go.opencensus.io v0.24.0 // indirect
164-
golang.org/x/net v0.17.0 // indirect
165-
golang.org/x/oauth2 v0.10.0 // indirect
166-
golang.org/x/sys v0.13.0 // indirect
167-
golang.org/x/term v0.13.0 // indirect
168-
golang.org/x/text v0.13.0 // indirect
164+
golang.org/x/net v0.19.0 // indirect
165+
golang.org/x/oauth2 v0.13.0 // indirect
166+
golang.org/x/sys v0.15.0 // indirect
167+
golang.org/x/term v0.15.0 // indirect
168+
golang.org/x/text v0.14.0 // indirect
169169
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
170-
google.golang.org/api v0.128.0 // indirect
171-
google.golang.org/appengine v1.6.7 // indirect
172-
google.golang.org/genproto v0.0.0-20230920204549-e6e6cdab5c13 // indirect
173-
google.golang.org/genproto/googleapis/rpc v0.0.0-20230920204549-e6e6cdab5c13 // indirect
170+
google.golang.org/api v0.149.0 // indirect
171+
google.golang.org/appengine v1.6.8 // indirect
172+
google.golang.org/genproto v0.0.0-20231211222908-989df2bf70f3 // indirect
173+
google.golang.org/genproto/googleapis/rpc v0.0.0-20231212172506-995d672761c0 // indirect
174174
gopkg.in/ini.v1 v1.67.0 // indirect
175175
gopkg.in/yaml.v2 v2.4.0 // indirect
176176
gopkg.in/yaml.v3 v3.0.1 // indirect

0 commit comments

Comments
 (0)