diff --git a/.github/workflows/cosmovisor-release.yml b/.github/workflows/cosmovisor-release.yml index 5405ded49271..755c01f4b1e5 100644 --- a/.github/workflows/cosmovisor-release.yml +++ b/.github/workflows/cosmovisor-release.yml @@ -11,7 +11,7 @@ jobs: goreleaser: permissions: contents: write # for goreleaser/goreleaser-action to create a GitHub release - runs-on: buildjet-4vcpu-ubuntu-2004 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 with: @@ -33,7 +33,7 @@ jobs: with: # stick to version v0.179.0(https://github.com/cosmos/cosmos-sdk/issues/11125) version: v0.179.0 - args: release --rm-dist --skip-validate + args: release --rm-dist --skip-validate --release-notes ./RELEASE_NOTES.md workdir: tools/cosmovisor env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a386627066a5..6954308d76c1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,7 @@ jobs: release: permissions: contents: write # for goreleaser/goreleaser-action to create a GitHub release - runs-on: buildjet-4vcpu-ubuntu-2004 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Install Go diff --git a/CHANGELOG.md b/CHANGELOG.md index 0b949ffd2239..904db05d2b57 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -560,6 +560,24 @@ replace github.com/confio/ics23/go => github.com/cosmos/cosmos-sdk/ics23/go v8.0 * (x/upgrade) [#9906](https://github.com/cosmos/cosmos-sdk/pull/9906) Deprecate `UpgradeConsensusState` gRPC query since this functionality is only used for IBC, which now has its own [IBC replacement](https://github.com/cosmos/ibc-go/blob/2c880a22e9f9cc75f62b527ca94aa75ce1106001/proto/ibc/core/client/v1/query.proto#L54) * (types) [#10948](https://github.com/cosmos/cosmos-sdk/issues/10948) Deprecate the types.DBBackend variable and types.NewLevelDB function. They are replaced by a new entry in `app.toml`: `app-db-backend` and `tendermint/tm-db`s `NewDB` function. If `app-db-backend` is defined, then it is used. Otherwise, if `types.DBBackend` is defined, it is used (until removed: [#11241](https://github.com/cosmos/cosmos-sdk/issues/11241)). Otherwise, Tendermint config's `db-backend` is used. +## [v0.45.10](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.45.10) - 2022-10-24 + +### Features + +* (grpc) [#13485](https://github.com/cosmos/cosmos-sdk/pull/13485) Implement a new gRPC query, `/cosmos/base/node/v1beta1/config`, which provides operator configuration. Applications that wish to expose operator minimum gas prices via gRPC should have their application implement the `ApplicationQueryService` interface (see `SimApp#RegisterNodeService` as an example). +* [#13557](https://github.com/cosmos/cosmos-sdk/pull/#13557) - Add `GenSignedMockTx`. This can be used as workaround for #12437 revertion. `v0.46+` contains as well a `GenSignedMockTx` that behaves the same way. +* (x/auth) [#13612](https://github.com/cosmos/cosmos-sdk/pull/13612) Add `Query/ModuleAccountByName` endpoint for accessing the module account info by module name. + +### Improvements + +* [#13585](https://github.com/cosmos/cosmos-sdk/pull/13585) Bump Tendermint to `v0.34.22`. + +### Bug Fixes + +* [#13588](https://github.com/cosmos/cosmos-sdk/pull/13588) Fix regression in distrubtion.WithdrawDelegationRewards when rewards are zero. +* [#13564](https://github.com/cosmos/cosmos-sdk/pull/13564) - Fix `make proto-gen`. +* (server) [#13610](https://github.com/cosmos/cosmos-sdk/pull/13610) Read the pruning-keep-every field again. + ## [v0.45.9](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.45.9) - 2022-10-14 ATTENTION: diff --git a/client/v2/autocli/flag/field.go b/client/v2/autocli/flag/field.go index 93933d04c5d7..b2c385ac95da 100644 --- a/client/v2/autocli/flag/field.go +++ b/client/v2/autocli/flag/field.go @@ -62,7 +62,6 @@ func (b *Builder) addFieldFlag(ctx context.Context, flagSet *pflag.FlagSet, fiel var val HasValue if field.IsList() { val = bindSimpleListFlag(flagSet, field.Kind(), name, shorthand, usage) - } else { val = bindSimpleFlag(flagSet, field.Kind(), name, shorthand, usage) } diff --git a/proto/tendermint/crypto/proof.proto b/proto/tendermint/crypto/proof.proto index 7293ae63ee58..975df7685397 100644 --- a/proto/tendermint/crypto/proof.proto +++ b/proto/tendermint/crypto/proof.proto @@ -27,7 +27,7 @@ message DominoOp { } // ProofOp defines an operation used for calculating Merkle root -// The data could be arbitrary format, providing necessary data +// The data could be arbitrary format, providing nessecary data // for example neighbouring node hash message ProofOp { string type = 1; diff --git a/tools/cosmovisor/.goreleaser.yml b/tools/cosmovisor/.goreleaser.yml index 547c4bfafc3c..7de68c38a19c 100644 --- a/tools/cosmovisor/.goreleaser.yml +++ b/tools/cosmovisor/.goreleaser.yml @@ -29,10 +29,6 @@ archives: checksum: name_template: 'SHA256SUMS-{{ replace .Version "cosmovisor/" "cosmovisor-" }}.txt' algorithm: sha256 + changelog: skip: false - sort: asc - filters: - exclude: - - "^docs:" - - "^test:" diff --git a/tools/cosmovisor/testdata/download/cosmovisor/genesis/bin/autod b/tools/cosmovisor/testdata/download/cosmovisor/genesis/bin/autod index 5bb4777b4384..d240240b6103 100755 --- a/tools/cosmovisor/testdata/download/cosmovisor/genesis/bin/autod +++ b/tools/cosmovisor/testdata/download/cosmovisor/genesis/bin/autod @@ -6,7 +6,7 @@ echo 'ERROR: UPGRADE "chain2" NEEDED at height: 49: zip_binary' # create upgrade info # this info contains directly information about binaries (in chain2->chain3 update we test with info containing a link to the file with an address for the new chain binary) -echo '{"name":"chain2","height":49,"info":"{\"binaries\":{\"linux/amd64\":\"https://github.com/cosmos/cosmos-sdk/raw/main/tools/cosmovisor/testdata/repo/chain2-zip_bin/autod.zip?checksum=sha256:b30cf0b1a3e46ac9587cc4d7b102eb796e39e3e0dfa3f8ca6e163fc1b1e913ca\"}}"}' >$3 +echo '{"name":"chain2","height":49,"info":"{\"binaries\":{\"linux/amd64\":\"https://github.com/cosmos/cosmos-sdk/raw/main/tools/cosmovisor/testdata/repo/chain2-zip_bin/autod.zip?checksum=sha256:fd20f3163e5ab2ab430c0c2936de82fcf5f100a8497d7f121b9f34a1a4b96683\"}}"}' >$3 sleep 0.1 echo Never should be printed!!! diff --git a/x/auth/keeper/deterministic_test.go b/x/auth/keeper/deterministic_test.go index 2abc4aea2587..30b58af74630 100644 --- a/x/auth/keeper/deterministic_test.go +++ b/x/auth/keeper/deterministic_test.go @@ -375,7 +375,8 @@ func (suite *DeterministicTestSuite) TestGRPCQueryAddressStringToBytes() { } func (suite *DeterministicTestSuite) setModuleAccounts( - ctx sdk.Context, ak keeper.AccountKeeper, maccs []string) []types.AccountI { + ctx sdk.Context, ak keeper.AccountKeeper, maccs []string, +) []types.AccountI { sort.Strings(maccs) moduleAccounts := make([]types.AccountI, 0, len(maccs)) for _, m := range maccs { @@ -414,7 +415,6 @@ func (suite *DeterministicTestSuite) runModuleAccountsIterations(ak keeper.Accou } } } - } func (suite *DeterministicTestSuite) TestGRPCQueryModuleAccounts() {