Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: deterministic map iteration #12781

Merged
merged 13 commits into from Aug 17, 2022
Merged

feat: deterministic map iteration #12781

merged 13 commits into from Aug 17, 2022

Conversation

bruce-wayne2
Copy link
Contributor

Description

We should ensure that events emitted are in a deterministic order on any node.

Sorry, the previous PR-12693 was closed due to wrong operation.

Close: #12693


Author Checklist

All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.

I have...

  • included the correct type prefix in the PR title
  • added ! to the type prefix if API or client breaking change
  • targeted the correct branch (see PR Targeting)
  • provided a link to the relevant issue or specification
  • followed the guidelines for building modules
  • included the necessary unit and integration tests
  • added a changelog entry to CHANGELOG.md
  • included comments for documenting Go code
  • updated the relevant documentation or specification
  • reviewed "Files changed" and left comments if necessary
  • confirmed all CI checks have passed

Reviewers Checklist

All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.

I have...

  • confirmed the correct type prefix in the PR title
  • confirmed ! in the type prefix if API or client breaking change
  • confirmed all author checklist items have been addressed
  • reviewed state machine logic
  • reviewed API design and naming
  • reviewed documentation is accurate
  • reviewed tests and test coverage
  • manually tested (if applicable)

@bruce-wayne2 bruce-wayne2 requested a review from a team as a code owner August 1, 2022 04:10
@mergify mergify bot mentioned this pull request Aug 1, 2022
19 tasks
@codecov
Copy link

codecov bot commented Aug 1, 2022

Codecov Report

Merging #12781 (265d0c8) into main (4fe7797) will decrease coverage by 0.17%.
The diff coverage is 82.35%.

❗ Current head 265d0c8 differs from pull request most recent head 7747c80. Consider uploading reports for the commit 7747c80 to get more accurate results

Impacted file tree graph

@@            Coverage Diff             @@
##             main   #12781      +/-   ##
==========================================
- Coverage   55.87%   55.70%   -0.18%     
==========================================
  Files         646      646              
  Lines       54895    54859      -36     
==========================================
- Hits        30675    30561     -114     
- Misses      21762    21845      +83     
+ Partials     2458     2453       -5     
Impacted Files Coverage Δ
x/distribution/keeper/params.go 75.00% <ø> (-3.58%) ⬇️
x/distribution/module.go 64.28% <ø> (ø)
types/dec_coin.go 98.41% <50.00%> (-0.79%) ⬇️
crypto/keyring/keyring.go 61.95% <100.00%> (ø)
types/events.go 84.65% <100.00%> (+0.35%) ⬆️
x/distribution/abci.go 100.00% <100.00%> (ø)
x/distribution/keeper/allocation.go 97.10% <100.00%> (+10.43%) ⬆️
x/genutil/gentx.go 0.00% <0.00%> (-85.49%) ⬇️
x/genutil/module.go 9.52% <0.00%> (-57.15%) ⬇️
x/genutil/genesis.go 0.00% <0.00%> (-40.00%) ⬇️
... and 5 more

Copy link
Collaborator

@robert-zaremba robert-zaremba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. Someone from the core team should approve it or reject it to close the controversy.

types/events.go Show resolved Hide resolved
@peterbourgon
Copy link

Again, events are by definition non-deterministic. Applications can not and must not rely on determinism in event delivery.

@sunnya97
Copy link
Member

sunnya97 commented Aug 7, 2022

@peterbourgon Why are events by definition non-deterministic? Like why isn't it a design goal to make them deterministic? What's a situation in which we would want non-deterministic events?

@peterbourgon
Copy link

peterbourgon commented Aug 7, 2022

Oh! Sorry if I'm confusing things, here. When I say events are by definition non-deterministic, I don't mean that events have been defined to be non-deterministic, as if deterministic events were somehow an alternative. I mean is literally impossible, in a distsys theory sense, for a node to deliver deterministic events, assuming common definitions of "deterministic" and "events", and assuming a node should not allow its e.g. RPC or Websocket or whatever clients to impact consensus.

edit: When Merkelized state is maintained in a node, and clients access that state with (essentially) synchronous RPCs, then it's clear that the source of truth is the node, and that clients just have a view of that state, and the system is sound. But if a client assumes that Merkelized state is accurately modeled by a stream of events, they're wrong: that stream of events is fundamentally unreliable, in the CAP sense. The node, which is responsible for consensus, factually cannot make authoritative claims about the state "seen" by an event consumer, because there is factually no way to know that an event sent by a server has been observed by a client. I mean, that's not strictly true: you can do it, but the protocol you need for it is either peer-to-peer and session-oriented, e.g. TCP, where determinism requires either unbounded resources or allows clients to halt your server; or a consensus protocol, which is infeasibly expensive and would essentially replicate the state API.

@robert-zaremba
Copy link
Collaborator

There are many benefits for having deterministic events:

  • offline balance tracking
  • realyers (notable go IBC relayer v1 was based on event tracking)
  • tooling

There are may discussions to put events into the App state and make the part of the consensus.

Like already discussed in the previous PR (#12693), I really don't see any reason to block this improvement.

@peterbourgon
Copy link

peterbourgon commented Aug 7, 2022

I agree that it would be enormously valuable. The problem is that it isn't possible, without sacrificing essential properties of the system.

edit: You're of course free to disregard my warnings and give it a shot! If you do I bet it'll pass tests and work most of the time. If and when there are problems, you know how to reach me 😉

@robert-zaremba
Copy link
Collaborator

@peterbourgon we know that events are not deterministic. We were are discussion various features around events, and, imho, every improvement is good - as long as it won't impact visibly the chain performance.

@peterbourgon
Copy link

peterbourgon commented Aug 7, 2022

@robert-zaremba

we know that events are not deterministic

Is that true?

If I recall correctly, this issue stemmed from a consensus failure in a downstream project — cosmwasm? — which relied on deterministic order of events and event attributes. Events aren't deterministic, so that assumption is invalid, and the app is broken. The correct fix would have been to fix this bug in the app. Instead, AFAIK, Cosmos was updated to satisfy these incorrect/unspecified assumptions.

Maybe I misunderstood — maybe they know their app is broken and they're working on a fix, but it'll take some time? Could be. Haven't seen anything indicating that so far, though. (Link me if you know otherwise!)

every improvement is good - as long as it won't impact visibly the chain performance

Is this change an improvement? I dunno, I actually see it as a regression: per above, it allows broken apps to continue being broken, I think. As an amusing counter-example, consider Go itself! Initially for k, v := range map was implemented so that order was deterministic, even though this was (deliberately) not guaranteed in the language spec. After a few releases they actually changed the implementation to explicitly randomize the order, because they observed a bunch of programs that were, incorrectly, relying on this unspecified property of the implementation.

@robert-zaremba
Copy link
Collaborator

There are over 2 years of discussions in that topic. Initially I wanted to Merkelize events in Tendermint block. But that won't happen.

@robert-zaremba
Copy link
Collaborator

BTW, many apps use events. You can track events using your own node.

@robert-zaremba
Copy link
Collaborator

Also I think your assumption is wrong. An app can use events. And we want to use them in reliable way. Hence the PR and all discussions.

@peterbourgon
Copy link

peterbourgon commented Aug 7, 2022

BTW, many apps use events. You can track events using your own node.

I use events! They're super handy! It's totally fine to use events, as long as you don't assume they will be reliably and deterministically delivered (over the network), and as long as you don't treat them as equivalent to the Merkelized block/state data returned by queries.

I'm sure there are plenty of apps that do use events with these invalid assumptions, and I'm sure that they run in production or whatever without errors for long periods of time. That doesn't mean they aren't broken.

@sunnya97
Copy link
Member

sunnya97 commented Aug 8, 2022

@peterbourgon sorry I don't understand what you're talking about

Events are emitted based on state machine execution of finalized txs. Why would those not be deterministic, from the perspective of the chain?

Like yes, obviously we don't know that every node received a copy of the latest head of the chain... But whenever they do, they will still be emitting the same events, as long as the events are based solely on the content of the chain?

@peterbourgon
Copy link

peterbourgon commented Aug 8, 2022

@sunnya97

@peterbourgon sorry I don't understand what you're talking about

Events are emitted based on state machine execution of finalized txs. Why would those not be deterministic, from the perspective of the chain?

Like yes, obviously we don't know that every node received a copy of the latest head of the chain... But whenever they do, they will still be emitting the same events, as long as the events are based solely on the content of the chain?

I totally agree that the node can easily produce events that are deterministic relative to the consensus state of the chain. But I'm talking about determinism from the perspective of event consumers, i.e. out-of-process clients receiving events over a Websocket or whatever. If consumers are going to treat events as reliable and deterministic and equivalent to consensus state, then it's their perspective that matters, not the server's.

edit: I can write up an example demonstrating all of the issues at play, if this still isn't clear. Just let me know.

@robert-zaremba
Copy link
Collaborator

@sunnya97 , events are note validated by the consensus. So, if you keep your own tendermint then you know legit events.

And this discussion addresses the issue of reliably consume events. I don't understand why we are blocking it. I'm going to approve it, but since there is a controversy, someone from the core team has to approve it as well #12781 (review)

@tac0turtle
Copy link
Member

@bruce-wayne2 should we backport this to 0.45.and 0.46

@tac0turtle tac0turtle added backport/0.45.x backport/0.46.x PR scheduled for inclusion in the v0.46's next stable release labels Aug 16, 2022
@bruce-wayne2
Copy link
Contributor Author

@bruce-wayne2 should we backport this to 0.45.and 0.46

0.45 does not support go1.18, do I need to modify the implementation?

@alexanderbez
Copy link
Contributor

I say we merge this and backport to 0.45 and 0.46 and we separately update 0.45 to update to Go 1.19.

@julienrbrt julienrbrt changed the title Deterministic map iteration feat: deterministic map iteration Aug 17, 2022
@julienrbrt julienrbrt added the A:automerge Automatically merge PR once all prerequisites pass. label Aug 17, 2022
@mergify mergify bot merged commit 6ed11b8 into cosmos:main Aug 17, 2022
mergify bot pushed a commit that referenced this pull request Aug 17, 2022
## Description

We should ensure that events emitted are in a deterministic order on any node.

Sorry, the previous [PR-12693](#12693) was closed due to wrong operation.

Close: #12693

---

### Author Checklist

*All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.*

I have...

- [x] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [x] added `!` to the type prefix if API or client breaking change
- [x] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#pr-targeting))
- [x] provided a link to the relevant issue or specification
- [x] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/main/docs/building-modules)
- [x] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#testing)
- [x] added a changelog entry to `CHANGELOG.md`
- [x] included comments for [documenting Go code](https://blog.golang.org/godoc)
- [x] updated the relevant documentation or specification
- [x] reviewed "Files changed" and left comments if necessary
- [x] confirmed all CI checks have passed

### Reviewers Checklist

*All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.*

I have...

- [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] confirmed `!` in the type prefix if API or client breaking change
- [ ] confirmed all author checklist items have been addressed
- [ ] reviewed state machine logic
- [ ] reviewed API design and naming
- [ ] reviewed documentation is accurate
- [ ] reviewed tests and test coverage
- [ ] manually tested (if applicable)

(cherry picked from commit 6ed11b8)

# Conflicts:
#	CHANGELOG.md
mergify bot pushed a commit that referenced this pull request Aug 17, 2022
## Description

We should ensure that events emitted are in a deterministic order on any node.

Sorry, the previous [PR-12693](#12693) was closed due to wrong operation.

Close: #12693

---

### Author Checklist

*All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.*

I have...

- [x] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [x] added `!` to the type prefix if API or client breaking change
- [x] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#pr-targeting))
- [x] provided a link to the relevant issue or specification
- [x] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/main/docs/building-modules)
- [x] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#testing)
- [x] added a changelog entry to `CHANGELOG.md`
- [x] included comments for [documenting Go code](https://blog.golang.org/godoc)
- [x] updated the relevant documentation or specification
- [x] reviewed "Files changed" and left comments if necessary
- [x] confirmed all CI checks have passed

### Reviewers Checklist

*All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.*

I have...

- [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] confirmed `!` in the type prefix if API or client breaking change
- [ ] confirmed all author checklist items have been addressed
- [ ] reviewed state machine logic
- [ ] reviewed API design and naming
- [ ] reviewed documentation is accurate
- [ ] reviewed tests and test coverage
- [ ] manually tested (if applicable)

(cherry picked from commit 6ed11b8)

# Conflicts:
#	CHANGELOG.md
@julienrbrt julienrbrt mentioned this pull request Aug 17, 2022
19 tasks
mergify bot pushed a commit that referenced this pull request Aug 17, 2022
## Description

- Fixes the linting issues introduced in #12781 (now that golangci is required)
- Run `go work sync`

---

### Author Checklist

*All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.*

I have...

- [ ] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] added `!` to the type prefix if API or client breaking change
- [ ] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#pr-targeting))
- [ ] provided a link to the relevant issue or specification
- [ ] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/main/docs/building-modules)
- [ ] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#testing)
- [ ] added a changelog entry to `CHANGELOG.md`
- [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
- [ ] updated the relevant documentation or specification
- [ ] reviewed "Files changed" and left comments if necessary
- [ ] confirmed all CI checks have passed

### Reviewers Checklist

*All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.*

I have...

- [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] confirmed `!` in the type prefix if API or client breaking change
- [ ] confirmed all author checklist items have been addressed 
- [ ] reviewed state machine logic
- [ ] reviewed API design and naming
- [ ] reviewed documentation is accurate
- [ ] reviewed tests and test coverage
- [ ] manually tested (if applicable)
tac0turtle pushed a commit that referenced this pull request Aug 18, 2022
* feat: deterministic map iteration (#12781)

## Description

We should ensure that events emitted are in a deterministic order on any node.

Sorry, the previous [PR-12693](#12693) was closed due to wrong operation.

Close: #12693

---

### Author Checklist

*All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.*

I have...

- [x] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [x] added `!` to the type prefix if API or client breaking change
- [x] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#pr-targeting))
- [x] provided a link to the relevant issue or specification
- [x] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/main/docs/building-modules)
- [x] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#testing)
- [x] added a changelog entry to `CHANGELOG.md`
- [x] included comments for [documenting Go code](https://blog.golang.org/godoc)
- [x] updated the relevant documentation or specification
- [x] reviewed "Files changed" and left comments if necessary
- [x] confirmed all CI checks have passed

### Reviewers Checklist

*All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.*

I have...

- [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] confirmed `!` in the type prefix if API or client breaking change
- [ ] confirmed all author checklist items have been addressed
- [ ] reviewed state machine logic
- [ ] reviewed API design and naming
- [ ] reviewed documentation is accurate
- [ ] reviewed tests and test coverage
- [ ] manually tested (if applicable)

(cherry picked from commit 6ed11b8)

# Conflicts:
#	CHANGELOG.md

* resolve conflict (#12947)

* go mod tidy

* fix test

Co-authored-by: bruce-wayne2 <97930236+bruce-wayne2@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
SpicyLemon added a commit to provenance-io/cosmos-sdk that referenced this pull request Oct 3, 2022
Squashed commit of the following:

commit 26786a0
Author: Julien Robert <julien@rbrt.fr>
Date:   Mon Oct 3 18:13:53 2022 +0200

    chore: prepare `v0.46.2` release (cosmos#13436)

commit 72a904d
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Fri Sep 30 18:16:51 2022 -0400

    fix: add close for grpcOnly mode (backport cosmos#13418) (cosmos#13422)

commit f80e883
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Thu Sep 29 08:10:41 2022 -0500

    fix: add gRPC nil/zero check in query (backport cosmos#13352) (cosmos#13417)

    * fix: add gRPC nil/zero check in query (cosmos#13352)

    (cherry picked from commit a9f02d9)

    # Conflicts:
    #	CHANGELOG.md
    #	codec/proto_codec_test.go

    * fix conflicts

    * fix conflicts

    Co-authored-by: yihuang <huang@crypto.com>

commit 51c8a1a
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Tue Sep 27 07:48:21 2022 -0500

    feat: Add notice for possible iavl fast node migration (backport cosmos#13390) (cosmos#13398)

    * add notice for possible iavl fast node migration (cosmos#13390)

    (cherry picked from commit b609105)

    * Update baseapp/baseapp.go

    Co-authored-by: adu-crypto <94821467+adu-crypto@users.noreply.github.com>
    Co-authored-by: Julien Robert <julien@rbrt.fr>

commit 95948f6
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Fri Sep 23 14:26:27 2022 -0500

    perf: reduce user's password prompts when calling keyring List function (backport cosmos#13207) (cosmos#13368)

    * perf: reduce user's password prompts when calling keyring List function (cosmos#13207)

    * Reduce user password prompts by taking advantage of the already existing MigrateAll function

    * Print message when no records were found on the keyring

    * Update changelog

    * Fix migration test

    * Add keys sort

    (cherry picked from commit 4882f93)

    # Conflicts:
    #	CHANGELOG.md

    * fix conflicts

    * suggestions

    Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>

    Co-authored-by: Ezequiel Raynaudo <raynaudo.ee@gmail.com>
    Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
    Co-authored-by: Julien Robert <julien@rbrt.fr>
    Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>

commit c351441
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Fri Sep 23 08:26:34 2022 -0500

    docs: guidelines for proto message's String() method (cosmos#13364) (cosmos#13366)

    (cherry picked from commit 8dd708d)

    Co-authored-by: likhita-809 <78951027+likhita-809@users.noreply.github.com>

commit 72f8923
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Fri Sep 23 08:16:20 2022 -0500

    feat: add `draft-proposal` for x/group (backport cosmos#13353) (cosmos#13359)

    * feat: add `draft-proposal` for x/group (cosmos#13353)

    * feat: add `draft-proposal` for x/group

    * add changelog

    * extract useful function

    * add `GetMsgFromTypeURL` tests

    (cherry picked from commit 7eb259f)

    # Conflicts:
    #	CHANGELOG.md
    #	types/tx_msg.go
    #	x/gov/client/cli/prompt.go

    * fix conflicts

    * fix whitespace

    * backport cosmos#13350

    * renaming as main

    * updates

    Co-authored-by: Julien Robert <julien@rbrt.fr>

commit 9454b97
Author: Julien Robert <julien@rbrt.fr>
Date:   Tue Sep 20 18:02:24 2022 +0200

    fix: fix buf commit (cosmos#13344)

commit bbcf2f1
Author: Julien Robert <julien@rbrt.fr>
Date:   Tue Sep 20 17:04:54 2022 +0200

    fix: fix buf unexisting repo (cosmos#13343)

commit f57a110
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Tue Sep 20 16:30:54 2022 +0200

    fix: ensure withdraw_rewards events are always emitted on reward withdrawal (backport cosmos#13323) (cosmos#13339)

    * fix: ensure withdraw_rewards events are always emitted on reward withdrawal (cosmos#13323)

    (cherry picked from commit c1c23a7)

    # Conflicts:
    #	CHANGELOG.md
    #	tests/integration/distribution/keeper/delegation_test.go
    #	testutil/sims/app_helpers.go
    #	x/distribution/keeper/delegation.go
    #	x/distribution/keeper/delegation_test.go
    #	x/distribution/keeper/keeper.go

    * fix changelog

    * fix conflcits

    Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
    Co-authored-by: Julien Robert <julien@rbrt.fr>

commit 43f74d3
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Tue Sep 20 16:29:50 2022 +0200

    feat: configurable fastnode (backport cosmos#13321) (cosmos#13337)

    * feat: configurable fastnode (cosmos#13321)

    (cherry picked from commit 412e2fc)

    # Conflicts:
    #	CHANGELOG.md
    #	fuzz/tests/store_internal_proofs_createnonmembershipproof_test.go
    #	go.mod
    #	go.sum
    #	simapp/go.mod
    #	simapp/go.sum
    #	tests/go.mod
    #	tests/go.sum

    * fix conflicts

    * test fix build

    * test fix build

    * fix typo

    * fix replace

    Co-authored-by: Marko <marbar3778@yahoo.com>

commit 6c8614c
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Tue Sep 20 10:40:42 2022 +0200

    fix: streaming listeners are not called for deliver tx event (backport cosmos#13334) (cosmos#13336)

    * fix: streaming listeners are not called for deliver tx event (cosmos#13334)

    * Problem: streaming listeners are not called for deliver tx event

    it was removed accidentally, add back.

    * Update CHANGELOG.md

    * try to fix e2e test by wait for one more block

    (cherry picked from commit 822900b)

    # Conflicts:
    #	CHANGELOG.md
    #	x/auth/tx/service_test.go

    * Update CHANGELOG.md

    * Update x/auth/tx/service_test.go

    * Update x/auth/tx/service_test.go

    Co-authored-by: yihuang <huang@crypto.com>

commit 100db2e
Author: Julien Robert <julien@rbrt.fr>
Date:   Mon Sep 19 16:00:44 2022 +0200

    fix: remove community-pool-spend from draft-cli prompt (cosmos#13330)

commit ef0f19c
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Mon Sep 19 13:35:08 2022 +0000

    feat: CLI tooling to generate proposal JSONs (backport cosmos#13304) (cosmos#13328)

    * feat: CLI tooling to generate proposal JSONs (cosmos#13304)

    (cherry picked from commit 7252f4a)

    # Conflicts:
    #	CHANGELOG.md
    #	api/cosmos/nft/v1beta1/tx.pulsar.go
    #	go.mod
    #	go.sum
    #	simapp/go.mod
    #	simapp/go.sum
    #	tests/go.mod
    #	tests/go.sum
    #	x/gov/README.md
    #	x/group/spec/05_client.md

    * fix changelog

    * remove unnecessary addition

    * updates

    * fix docs

    * updates

    Co-authored-by: Julien Robert <julien@rbrt.fr>

commit c524571
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Fri Sep 16 16:03:13 2022 +0200

    fix: keep the balance query endpoint compatible with legacy blocks (backport cosmos#13301) (cosmos#13318)

    * fix: keep the balance query endpoint compatible with legacy blocks (cosmos#13301)

    * keep the balance query endpoint compatible with legacy blocks

    Closes: cosmos#13296

    A temporary solution before the proxy tool developed, since the balance endpoint is too important.

    * Update CHANGELOG.md

    * Apply suggestions from code review

    Co-authored-by: Julien Robert <julien@rbrt.fr>
    Co-authored-by: Marko <marbar3778@yahoo.com>
    (cherry picked from commit 6c4f94b)

    # Conflicts:
    #	CHANGELOG.md
    #	x/bank/keeper/view.go

    * Apply suggestions from code review

    * fix lint

    Co-authored-by: yihuang <huang@crypto.com>
    Co-authored-by: Julien Robert <julien@rbrt.fr>

commit 51a9014
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Thu Sep 15 16:43:38 2022 +0200

    fix: types: correctly coalesce coins even with repeated denominations & simplify logic (backport cosmos#13265) (cosmos#13302)

    * fix: types: correctly coalesce coins even with repeated denominations & simplify logic (cosmos#13265)

    (cherry picked from commit 83f88a6)

    # Conflicts:
    #	types/coin_test.go

    * fix conflict

    * add changelog

    Co-authored-by: Emmanuel T Odeke <emmanuel@orijtech.com>
    Co-authored-by: Julien Robert <julien@rbrt.fr>

commit ac4a066
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Wed Sep 14 10:56:13 2022 +0200

    feat: add more coins after add-genesis-account is made (backport cosmos#13233) (cosmos#13261)

    * feat: add more coins after add-genesis-account is made (cosmos#13233)

    (cherry picked from commit c32493a)

    # Conflicts:
    #	CHANGELOG.md

    * updates

    Co-authored-by: Reece Williams <31943163+Reecepbcups@users.noreply.github.com>
    Co-authored-by: Julien Robert <julien@rbrt.fr>

commit 78336ef
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Wed Sep 14 09:08:25 2022 +0200

    fix: sequence in `sign-batch` (backport cosmos#13200) (cosmos#13263)

commit 77fcbbd
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Wed Sep 14 08:50:45 2022 +0200

    docs: adds gov groups metadata spec (cosmos#13118) (cosmos#13264)

commit 70943c6
Author: Julien Robert <julien@rbrt.fr>
Date:   Mon Sep 12 15:07:18 2022 +0200

    chore: pin version of golangci-lint (cosmos#13245)

commit 25e7f9b
Author: Jacob Gadikian <jacobgadikian@gmail.com>
Date:   Mon Sep 12 15:35:06 2022 +0700

    fix: make 46's linter work (cosmos#13186)

commit 8121f34
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Fri Sep 9 10:28:02 2022 +0200

    fix: Add withdraw proposal cmd to group's CLI tx cmds (backport cosmos#13214) (cosmos#13216)

commit 095c2b0
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Fri Sep 2 16:01:21 2022 +0200

    chore: replace deprecated dgrijalva/jwt-go dep (backport cosmos#13093) (cosmos#13136)

    * chore: replace deprecated dgrijalva/jwt-go dep (cosmos#13093)

    * chore: replace deprecated dgrijalva/jwt-go dep

    * Update go.mod

    (cherry picked from commit f5f84ad)

    # Conflicts:
    #	go.mod
    #	go.sum

    * fix conflict

    Co-authored-by: Robert Zaremba <robert@zaremba.ch>
    Co-authored-by: Julien Robert <julien@rbrt.fr>

commit 9405a05
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Fri Sep 2 07:32:08 2022 +0200

    feat: Add a cli cmd to prune old states according to current settings (backport cosmos#12742) (cosmos#13119)

    * feat: Add a cli cmd to prune old states according to current settings (cosmos#12742)

    * add PruningCmd and change PruneStores signature

    * the mimimum default pruning interval is 10

    Co-authored-by: Marko <marbar3778@yahoo.com>
    (cherry picked from commit d874ace)

    * fix backport error

    Co-authored-by: adu-crypto <94821467+adu-crypto@users.noreply.github.com>
    Co-authored-by: adu <adu.du@crypto.com>

commit a95c626
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Wed Aug 31 14:21:02 2022 +0200

    fix: rollback command don't actually delete multistore versions (backport cosmos#11361) (cosmos#13089)

    * fix: rollback command don't actually delete multistore versions (cosmos#11361)

    * rollback command don't actually delete multistore versions

    Closes: cosmos#11333

    - add unit tests
    - use LoadVersionForOverwriting
    - update tendermint dependency to 0.35.x release branch

    Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>

    flushMetadata after rollback

    Update server/rollback.go

    Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>

    fix build

    gofumpt

    * fix unit test

    (cherry picked from commit 51d2de5)

    * fix unit test

    * changelog

    * api breaking changelog

    Co-authored-by: yihuang <huang@crypto.com>

commit 78c24eb
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Wed Aug 31 14:04:56 2022 +0200

    fix: call `SetIAVLCacheSize` with the configured value in simapp (backport cosmos#13107) (cosmos#13108)

    * fix: call `SetIAVLCacheSize` with the configured value in simapp (cosmos#13107)

    * Call `SetIAVLCacheSize` with the configured value in simapp.

    * Update CHANGELOG.md

    (cherry picked from commit ab33342)

    # Conflicts:
    #	CHANGELOG.md

    * Apply suggestions from code review

    Co-authored-by: yihuang <huang@crypto.com>

commit bb190f6
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Mon Aug 29 11:36:24 2022 +0000

    chore: bump gin-gonic dep (backport cosmos#13061) (cosmos#13062)

    * deps: bump gin-gonic (cosmos#13061)

    Co-authored-by: Julien Robert <julien@rbrt.fr>
    (cherry picked from commit d11196a)

    # Conflicts:
    #	go.sum

    * fix conflicts

    Co-authored-by: Robert Zaremba <robert@zaremba.ch>
    Co-authored-by: marbar3778 <marbar3778@yahoo.com>

commit 1af5c72
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Sat Aug 27 09:18:50 2022 +0200

    feat(x/auth): Add auth sim decoder case for AccountNumberStoreKeyPrefix (backport cosmos#13048) (cosmos#13054)

commit e2fe96a
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Fri Aug 26 13:16:02 2022 -0400

    feat(x/authz): Add the GetAuthorization function. (backport cosmos#13047) (cosmos#13052)

    * feat(x/authz): Add the GetAuthorization function. (cosmos#13047)

    * [13027]: Create the GetAuthorization function (in the authz module).

    * [13027]: Add unit tests for the new GetAuthorization function.

    * [13027]: Add changelog entry.

    (cherry picked from commit 5e4651e)

    # Conflicts:
    #	CHANGELOG.md
    #	x/authz/keeper/keeper_test.go

    * fix changelog

    * Fix failed merge.

    * Fix build issue introduced by merge.

    Co-authored-by: Daniel Wedul <github@wedul.com>
    Co-authored-by: Julien Robert <julien@rbrt.fr>

commit b9d4ed8
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Thu Aug 25 15:15:13 2022 -0400

    fix: missing return statement in BaseApp.Query (backport cosmos#13046) (cosmos#13049)

    * fix: missing return statement in BaseApp.Query (cosmos#13046)

    ## Description

    Closes: cosmos#13040

    ---

    ### Author Checklist

    *All items are required. Please add a note to the item if the item is not applicable and
    please add links to any relevant follow up issues.*

    I have...

    - [ ] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
    - [ ] added `!` to the type prefix if API or client breaking change
    - [ ] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#pr-targeting))
    - [ ] provided a link to the relevant issue or specification
    - [ ] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/main/docs/building-modules)
    - [ ] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#testing)
    - [ ] added a changelog entry to `CHANGELOG.md`
    - [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
    - [ ] updated the relevant documentation or specification
    - [ ] reviewed "Files changed" and left comments if necessary
    - [ ] confirmed all CI checks have passed

    ### Reviewers Checklist

    *All items are required. Please add a note if the item is not applicable and please add
    your handle next to the items reviewed if you only reviewed selected items.*

    I have...

    - [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
    - [ ] confirmed `!` in the type prefix if API or client breaking change
    - [ ] confirmed all author checklist items have been addressed
    - [ ] reviewed state machine logic
    - [ ] reviewed API design and naming
    - [ ] reviewed documentation is accurate
    - [ ] reviewed tests and test coverage
    - [ ] manually tested (if applicable)

    (cherry picked from commit c73171f)

    # Conflicts:
    #	CHANGELOG.md

    * fix conflicts

    Co-authored-by: Julien Robert <julien@rbrt.fr>

commit 704fff5
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Thu Aug 25 14:30:04 2022 +0200

    fix: exporting the blockParams regression (backport cosmos#13029) (cosmos#13037)

    * fix: exporting the blockParams regression (cosmos#13029)

    ## Description

    Closes: cosmos#13024

    ---

    ### Author Checklist

    *All items are required. Please add a note to the item if the item is not applicable and
    please add links to any relevant follow up issues.*

    I have...

    - [x] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
    - [x] added `!` to the type prefix if API or client breaking change
    - [x] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#pr-targeting))
    - [x] provided a link to the relevant issue or specification
    - [x] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/main/docs/building-modules)
    - [x] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#testing)
    - [x] added a changelog entry to `CHANGELOG.md`
    - [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
    - [ ] updated the relevant documentation or specification
    - [x] reviewed "Files changed" and left comments if necessary
    - [ ] confirmed all CI checks have passed

    ### Reviewers Checklist

    *All items are required. Please add a note if the item is not applicable and please add
    your handle next to the items reviewed if you only reviewed selected items.*

    I have...

    - [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
    - [ ] confirmed `!` in the type prefix if API or client breaking change
    - [ ] confirmed all author checklist items have been addressed
    - [ ] reviewed state machine logic
    - [ ] reviewed API design and naming
    - [ ] reviewed documentation is accurate
    - [ ] reviewed tests and test coverage
    - [ ] manually tested (if applicable)

    (cherry picked from commit e1999e4)

    # Conflicts:
    #	CHANGELOG.md
    #	server/export_test.go

    * fix conflicts

    Co-authored-by: JayT106 <JayT106@users.noreply.github.com>
    Co-authored-by: Julien Robert <julien@rbrt.fr>

commit cb7bdca
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Wed Aug 24 15:15:28 2022 -0400

    ci: fix release notes not populated by goreleaser (backport cosmos#12919) (cosmos#13018)

    * ci: fix release notes not populated by goreleaser

    (cherry picked from commit c670fec)

    # Conflicts:
    #	cosmovisor/go.mod
    #	cosmovisor/go.sum
    #	go.work.sum

    * updates

    * revert

    Co-authored-by: Julien Robert <julien@rbrt.fr>

commit 252c673
Author: Julien Robert <julien@rbrt.fr>
Date:   Wed Aug 24 17:43:33 2022 +0200

    chore: v0.46.1 release changelog (cosmos#13011)

    * chore: v0.46.1 release changelog

    * updates

    * updates

commit 60e6274
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Wed Aug 24 16:45:44 2022 +0200

    feat: Change the default priority mechanism to be based on gas price (backport cosmos#12953) (cosmos#13006)

    * feat: Change the default priority mechanism to be based on gas price (cosmos#12953)

    (cherry picked from commit befd816)

    # Conflicts:
    #	CHANGELOG.md
    #	x/auth/ante/fee_test.go

    * fix conflict

    Co-authored-by: yihuang <huang@crypto.com>
    Co-authored-by: Julien Robert <julien@rbrt.fr>

commit afb3def
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Tue Aug 23 14:54:38 2022 -0400

    docs: improve UPGRADING.md instructions for v0.46.0 (backport cosmos#12646) (cosmos#13004)

    * docs: improve UPGRADING.md instructions for v0.46.0 (cosmos#12646)

    ## Description

    This PR is aimed to improve further the UGPRADING.md for v0.46.0.
    We've merged cosmos#12477 for having concurrent work on the file.

    - ref cosmos#12992 and closes cosmos#12991
    - closes cosmos#12963

    ---

    ### Author Checklist

    *All items are required. Please add a note to the item if the item is not applicable and
    please add links to any relevant follow up issues.*

    I have...

    - [ ] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
    - [ ] added `!` to the type prefix if API or client breaking change
    - [ ] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#pr-targeting))
    - [ ] provided a link to the relevant issue or specification
    - [ ] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/main/docs/building-modules)
    - [ ] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#testing)
    - [ ] added a changelog entry to `CHANGELOG.md`
    - [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
    - [ ] updated the relevant documentation or specification
    - [ ] reviewed "Files changed" and left comments if necessary
    - [ ] confirmed all CI checks have passed

    ### Reviewers Checklist

    *All items are required. Please add a note if the item is not applicable and please add
    your handle next to the items reviewed if you only reviewed selected items.*

    I have...

    - [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
    - [ ] confirmed `!` in the type prefix if API or client breaking change
    - [ ] confirmed all author checklist items have been addressed
    - [ ] reviewed state machine logic
    - [ ] reviewed API design and naming
    - [ ] reviewed documentation is accurate
    - [ ] reviewed tests and test coverage
    - [ ] manually tested (if applicable)

    (cherry picked from commit c76a00b)

    # Conflicts:
    #	.gitignore
    #	CHANGELOG.md
    #	Makefile
    #	UPGRADING.md

    * fix conflict

    Co-authored-by: Julien Robert <julien@rbrt.fr>

commit 90ef369
Author: Sai Kumar <17549398+gsk967@users.noreply.github.com>
Date:   Tue Aug 23 20:01:13 2022 +0530

    fix: fix the gov proposals (cosmos#13002)

commit d3d4675
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Tue Aug 23 14:11:23 2022 +0200

    fix: proper error when parsing telemetry configuration (backport cosmos#12981) (cosmos#12998)

    * fix: proper error when parsing telemetry configuration (cosmos#12981)

    When parsing `telemetry.global-labels` config the code assumes that the type will be an array.  I saw an issue where someone edited the configuration in the wrong way and got the following error:
    ![photo_2022-08-21_08-02-21](https://user-images.githubusercontent.com/22855163/185793842-c5759a54-1860-4dd1-bdb4-b94f4dab3c16.jpg)
    Instead, I suggest here to print a proper error log to indicate what the issue is.

    (cherry picked from commit c24c439)

    * add changelog

    Co-authored-by: liorbond <liorbond@gmail.com>
    Co-authored-by: Julien Robert <julien@rbrt.fr>

commit c835d46
Author: Jacob Gadikian <jacobgadikian@gmail.com>
Date:   Mon Aug 22 04:30:00 2022 +0700

    Update Makefile (cosmos#12982)

    formatting

commit 7ee9e6d
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Fri Aug 19 18:26:49 2022 +0200

    docs(cli): improve --gas flag description (cosmos#12913) (cosmos#12965)

    * docs(cli): improve --gas flag description

    * Update client/flags/flags.go

    Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>

    * fix sprintf

    Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
    Co-authored-by: Julien Robert <julien@rbrt.fr>
    (cherry picked from commit f430528)

    Co-authored-by: Robert Zaremba <robert@zaremba.ch>

commit f31c795
Author: Julien Robert <julien@rbrt.fr>
Date:   Fri Aug 19 18:26:07 2022 +0200

    chore: bump tendermint to `0.34.21` and iavl to `0.19.1` (cosmos#12969)

    * chore: bump tendermint to `0.34.21` and iavl to `0.19.1`

    * update changelog

commit 32c9075
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Thu Aug 18 15:34:32 2022 -0400

    fix: the occasional  staking module `SimulateMsgCancelUnbondingDelegate` failure (backport cosmos#12933) (cosmos#12962)

commit d2a5018
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Thu Aug 18 15:34:09 2022 -0400

    feat: deterministic map iteration (backport cosmos#12781) (cosmos#12943)

commit f3c1d8c
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Thu Aug 18 15:33:52 2022 -0400

    perf: Amortize clearing unsorted cache entries (Juno genesis fix) (backport cosmos#12885) (cosmos#12960)

commit 629b3b9
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Thu Aug 11 10:32:48 2022 -0400

    fix: move downgrade verification after store migration (cosmos#12906) (cosmos#12907)

commit d74d102
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Wed Aug 10 16:16:53 2022 +0200

    fix(x/group): propagate events correctly to current context (backport cosmos#12888) (cosmos#12890)

    * fix(x/group): propagate events correctly to current context (cosmos#12888)

    * fix(x/groups) propagate events correctly to current context

    * update to use current context on logger

    * adding changelog entry

    Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
    (cherry picked from commit 014bfae)

    # Conflicts:
    #	CHANGELOG.md

    * fix conflicts

    Co-authored-by: Damian Nolan <damiannolan@gmail.com>
    Co-authored-by: Amaury M <1293565+amaurym@users.noreply.github.com>

commit 5caee00
Author: Robert Zaremba <robert@zaremba.ch>
Date:   Wed Aug 10 10:02:13 2022 +0200

    chore: bump math (cosmos#12877)

    * chore: bump math package

    * changelog

commit 69c88ad
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Mon Aug 8 17:22:58 2022 -0400

    chore: changelog update (backport cosmos#12859) (cosmos#12861)

commit e5b974c
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Mon Aug 8 15:13:12 2022 -0400

    chore: fee payer event (cosmos#12850) (cosmos#12855)

commit 137bd03
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Sun Aug 7 22:39:42 2022 +0200

    Update REST endpoints for group module documentation (cosmos#12839) (cosmos#12840)

    (cherry picked from commit cfed17e)

    Co-authored-by: lg <8335464+glnro@users.noreply.github.com>

commit 2b616fb
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Sun Aug 7 09:43:59 2022 -0400

    fix(docs): typo in staking/state (cosmos#12834) (cosmos#12835)

    (cherry picked from commit fe89212)

    Co-authored-by: Ari Rubinstein <arirubinstein@users.noreply.github.com>

commit 1890b8b
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Tue Aug 2 10:26:49 2022 +0200

    feat: Add GetParamSetIfExists to prevent panic on breaking param changes (backport cosmos#12615) (cosmos#12792)

    * feat: Add GetParamSetIfExists to prevent panic on breaking param changes (cosmos#12615)

    * imp(params): Add GetParamSetIfExists to prevent panic on breaking param changes

    * changelog

    * test

    Co-authored-by: Marko <marbar3778@yahoo.com>
    (cherry picked from commit 2932e11)

    # Conflicts:
    #	CHANGELOG.md

    * Update CHANGELOG.md

    Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
    Co-authored-by: Marko <marbar3778@yahoo.com>

commit 04e7ab1
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Wed Jul 27 16:46:05 2022 +0200

    feat: Add convenience method for constructing key to access account's balance for a given denom (backport cosmos#12674) (cosmos#12744)

    * feat: Add convenience method for constructing key to access account's balance for a given denom (cosmos#12674)

    This PR adds a convenience method for constructing the key necessary to query for the account's balance of a given denom.

    I ran into this issue since we are using ABCI query now to perform balance requests because we are also requesting merkle proofs for the returned balance [here](https://github.com/celestiaorg/celestia-node/pull/911/files#diff-0ee31f5a7bd88e9f758e6bebdf3ee36365519e55a451098d9638c39afe5eac42R144).

    It would be nice to have a definitive convenience method for constructing the key.

    [Ref.](github.com/celestiaorg/celestia-node/pull/911)

    (cherry picked from commit a1777a8)

    * updates changelog

    Co-authored-by: rene <41963722+renaynay@users.noreply.github.com>
    Co-authored-by: Julien Robert <julien@rbrt.fr>
SpicyLemon added a commit to provenance-io/cosmos-sdk that referenced this pull request Oct 3, 2022
* Merged v0.46.2 into release-pio/v0.46.x.

Squashed commit of the following:

commit 26786a0
Author: Julien Robert <julien@rbrt.fr>
Date:   Mon Oct 3 18:13:53 2022 +0200

    chore: prepare `v0.46.2` release (cosmos#13436)

commit 72a904d
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Fri Sep 30 18:16:51 2022 -0400

    fix: add close for grpcOnly mode (backport cosmos#13418) (cosmos#13422)

commit f80e883
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Thu Sep 29 08:10:41 2022 -0500

    fix: add gRPC nil/zero check in query (backport cosmos#13352) (cosmos#13417)

    * fix: add gRPC nil/zero check in query (cosmos#13352)

    (cherry picked from commit a9f02d9)

    # Conflicts:
    #	CHANGELOG.md
    #	codec/proto_codec_test.go

    * fix conflicts

    * fix conflicts

    Co-authored-by: yihuang <huang@crypto.com>

commit 51c8a1a
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Tue Sep 27 07:48:21 2022 -0500

    feat: Add notice for possible iavl fast node migration (backport cosmos#13390) (cosmos#13398)

    * add notice for possible iavl fast node migration (cosmos#13390)

    (cherry picked from commit b609105)

    * Update baseapp/baseapp.go

    Co-authored-by: adu-crypto <94821467+adu-crypto@users.noreply.github.com>
    Co-authored-by: Julien Robert <julien@rbrt.fr>

commit 95948f6
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Fri Sep 23 14:26:27 2022 -0500

    perf: reduce user's password prompts when calling keyring List function (backport cosmos#13207) (cosmos#13368)

    * perf: reduce user's password prompts when calling keyring List function (cosmos#13207)

    * Reduce user password prompts by taking advantage of the already existing MigrateAll function

    * Print message when no records were found on the keyring

    * Update changelog

    * Fix migration test

    * Add keys sort

    (cherry picked from commit 4882f93)

    # Conflicts:
    #	CHANGELOG.md

    * fix conflicts

    * suggestions

    Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>

    Co-authored-by: Ezequiel Raynaudo <raynaudo.ee@gmail.com>
    Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
    Co-authored-by: Julien Robert <julien@rbrt.fr>
    Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>

commit c351441
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Fri Sep 23 08:26:34 2022 -0500

    docs: guidelines for proto message's String() method (cosmos#13364) (cosmos#13366)

    (cherry picked from commit 8dd708d)

    Co-authored-by: likhita-809 <78951027+likhita-809@users.noreply.github.com>

commit 72f8923
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Fri Sep 23 08:16:20 2022 -0500

    feat: add `draft-proposal` for x/group (backport cosmos#13353) (cosmos#13359)

    * feat: add `draft-proposal` for x/group (cosmos#13353)

    * feat: add `draft-proposal` for x/group

    * add changelog

    * extract useful function

    * add `GetMsgFromTypeURL` tests

    (cherry picked from commit 7eb259f)

    # Conflicts:
    #	CHANGELOG.md
    #	types/tx_msg.go
    #	x/gov/client/cli/prompt.go

    * fix conflicts

    * fix whitespace

    * backport cosmos#13350

    * renaming as main

    * updates

    Co-authored-by: Julien Robert <julien@rbrt.fr>

commit 9454b97
Author: Julien Robert <julien@rbrt.fr>
Date:   Tue Sep 20 18:02:24 2022 +0200

    fix: fix buf commit (cosmos#13344)

commit bbcf2f1
Author: Julien Robert <julien@rbrt.fr>
Date:   Tue Sep 20 17:04:54 2022 +0200

    fix: fix buf unexisting repo (cosmos#13343)

commit f57a110
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Tue Sep 20 16:30:54 2022 +0200

    fix: ensure withdraw_rewards events are always emitted on reward withdrawal (backport cosmos#13323) (cosmos#13339)

    * fix: ensure withdraw_rewards events are always emitted on reward withdrawal (cosmos#13323)

    (cherry picked from commit c1c23a7)

    # Conflicts:
    #	CHANGELOG.md
    #	tests/integration/distribution/keeper/delegation_test.go
    #	testutil/sims/app_helpers.go
    #	x/distribution/keeper/delegation.go
    #	x/distribution/keeper/delegation_test.go
    #	x/distribution/keeper/keeper.go

    * fix changelog

    * fix conflcits

    Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
    Co-authored-by: Julien Robert <julien@rbrt.fr>

commit 43f74d3
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Tue Sep 20 16:29:50 2022 +0200

    feat: configurable fastnode (backport cosmos#13321) (cosmos#13337)

    * feat: configurable fastnode (cosmos#13321)

    (cherry picked from commit 412e2fc)

    # Conflicts:
    #	CHANGELOG.md
    #	fuzz/tests/store_internal_proofs_createnonmembershipproof_test.go
    #	go.mod
    #	go.sum
    #	simapp/go.mod
    #	simapp/go.sum
    #	tests/go.mod
    #	tests/go.sum

    * fix conflicts

    * test fix build

    * test fix build

    * fix typo

    * fix replace

    Co-authored-by: Marko <marbar3778@yahoo.com>

commit 6c8614c
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Tue Sep 20 10:40:42 2022 +0200

    fix: streaming listeners are not called for deliver tx event (backport cosmos#13334) (cosmos#13336)

    * fix: streaming listeners are not called for deliver tx event (cosmos#13334)

    * Problem: streaming listeners are not called for deliver tx event

    it was removed accidentally, add back.

    * Update CHANGELOG.md

    * try to fix e2e test by wait for one more block

    (cherry picked from commit 822900b)

    # Conflicts:
    #	CHANGELOG.md
    #	x/auth/tx/service_test.go

    * Update CHANGELOG.md

    * Update x/auth/tx/service_test.go

    * Update x/auth/tx/service_test.go

    Co-authored-by: yihuang <huang@crypto.com>

commit 100db2e
Author: Julien Robert <julien@rbrt.fr>
Date:   Mon Sep 19 16:00:44 2022 +0200

    fix: remove community-pool-spend from draft-cli prompt (cosmos#13330)

commit ef0f19c
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Mon Sep 19 13:35:08 2022 +0000

    feat: CLI tooling to generate proposal JSONs (backport cosmos#13304) (cosmos#13328)

    * feat: CLI tooling to generate proposal JSONs (cosmos#13304)

    (cherry picked from commit 7252f4a)

    # Conflicts:
    #	CHANGELOG.md
    #	api/cosmos/nft/v1beta1/tx.pulsar.go
    #	go.mod
    #	go.sum
    #	simapp/go.mod
    #	simapp/go.sum
    #	tests/go.mod
    #	tests/go.sum
    #	x/gov/README.md
    #	x/group/spec/05_client.md

    * fix changelog

    * remove unnecessary addition

    * updates

    * fix docs

    * updates

    Co-authored-by: Julien Robert <julien@rbrt.fr>

commit c524571
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Fri Sep 16 16:03:13 2022 +0200

    fix: keep the balance query endpoint compatible with legacy blocks (backport cosmos#13301) (cosmos#13318)

    * fix: keep the balance query endpoint compatible with legacy blocks (cosmos#13301)

    * keep the balance query endpoint compatible with legacy blocks

    Closes: cosmos#13296

    A temporary solution before the proxy tool developed, since the balance endpoint is too important.

    * Update CHANGELOG.md

    * Apply suggestions from code review

    Co-authored-by: Julien Robert <julien@rbrt.fr>
    Co-authored-by: Marko <marbar3778@yahoo.com>
    (cherry picked from commit 6c4f94b)

    # Conflicts:
    #	CHANGELOG.md
    #	x/bank/keeper/view.go

    * Apply suggestions from code review

    * fix lint

    Co-authored-by: yihuang <huang@crypto.com>
    Co-authored-by: Julien Robert <julien@rbrt.fr>

commit 51a9014
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Thu Sep 15 16:43:38 2022 +0200

    fix: types: correctly coalesce coins even with repeated denominations & simplify logic (backport cosmos#13265) (cosmos#13302)

    * fix: types: correctly coalesce coins even with repeated denominations & simplify logic (cosmos#13265)

    (cherry picked from commit 83f88a6)

    # Conflicts:
    #	types/coin_test.go

    * fix conflict

    * add changelog

    Co-authored-by: Emmanuel T Odeke <emmanuel@orijtech.com>
    Co-authored-by: Julien Robert <julien@rbrt.fr>

commit ac4a066
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Wed Sep 14 10:56:13 2022 +0200

    feat: add more coins after add-genesis-account is made (backport cosmos#13233) (cosmos#13261)

    * feat: add more coins after add-genesis-account is made (cosmos#13233)

    (cherry picked from commit c32493a)

    # Conflicts:
    #	CHANGELOG.md

    * updates

    Co-authored-by: Reece Williams <31943163+Reecepbcups@users.noreply.github.com>
    Co-authored-by: Julien Robert <julien@rbrt.fr>

commit 78336ef
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Wed Sep 14 09:08:25 2022 +0200

    fix: sequence in `sign-batch` (backport cosmos#13200) (cosmos#13263)

commit 77fcbbd
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Wed Sep 14 08:50:45 2022 +0200

    docs: adds gov groups metadata spec (cosmos#13118) (cosmos#13264)

commit 70943c6
Author: Julien Robert <julien@rbrt.fr>
Date:   Mon Sep 12 15:07:18 2022 +0200

    chore: pin version of golangci-lint (cosmos#13245)

commit 25e7f9b
Author: Jacob Gadikian <jacobgadikian@gmail.com>
Date:   Mon Sep 12 15:35:06 2022 +0700

    fix: make 46's linter work (cosmos#13186)

commit 8121f34
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Fri Sep 9 10:28:02 2022 +0200

    fix: Add withdraw proposal cmd to group's CLI tx cmds (backport cosmos#13214) (cosmos#13216)

commit 095c2b0
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Fri Sep 2 16:01:21 2022 +0200

    chore: replace deprecated dgrijalva/jwt-go dep (backport cosmos#13093) (cosmos#13136)

    * chore: replace deprecated dgrijalva/jwt-go dep (cosmos#13093)

    * chore: replace deprecated dgrijalva/jwt-go dep

    * Update go.mod

    (cherry picked from commit f5f84ad)

    # Conflicts:
    #	go.mod
    #	go.sum

    * fix conflict

    Co-authored-by: Robert Zaremba <robert@zaremba.ch>
    Co-authored-by: Julien Robert <julien@rbrt.fr>

commit 9405a05
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Fri Sep 2 07:32:08 2022 +0200

    feat: Add a cli cmd to prune old states according to current settings (backport cosmos#12742) (cosmos#13119)

    * feat: Add a cli cmd to prune old states according to current settings (cosmos#12742)

    * add PruningCmd and change PruneStores signature

    * the mimimum default pruning interval is 10

    Co-authored-by: Marko <marbar3778@yahoo.com>
    (cherry picked from commit d874ace)

    * fix backport error

    Co-authored-by: adu-crypto <94821467+adu-crypto@users.noreply.github.com>
    Co-authored-by: adu <adu.du@crypto.com>

commit a95c626
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Wed Aug 31 14:21:02 2022 +0200

    fix: rollback command don't actually delete multistore versions (backport cosmos#11361) (cosmos#13089)

    * fix: rollback command don't actually delete multistore versions (cosmos#11361)

    * rollback command don't actually delete multistore versions

    Closes: cosmos#11333

    - add unit tests
    - use LoadVersionForOverwriting
    - update tendermint dependency to 0.35.x release branch

    Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>

    flushMetadata after rollback

    Update server/rollback.go

    Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>

    fix build

    gofumpt

    * fix unit test

    (cherry picked from commit 51d2de5)

    * fix unit test

    * changelog

    * api breaking changelog

    Co-authored-by: yihuang <huang@crypto.com>

commit 78c24eb
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Wed Aug 31 14:04:56 2022 +0200

    fix: call `SetIAVLCacheSize` with the configured value in simapp (backport cosmos#13107) (cosmos#13108)

    * fix: call `SetIAVLCacheSize` with the configured value in simapp (cosmos#13107)

    * Call `SetIAVLCacheSize` with the configured value in simapp.

    * Update CHANGELOG.md

    (cherry picked from commit ab33342)

    # Conflicts:
    #	CHANGELOG.md

    * Apply suggestions from code review

    Co-authored-by: yihuang <huang@crypto.com>

commit bb190f6
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Mon Aug 29 11:36:24 2022 +0000

    chore: bump gin-gonic dep (backport cosmos#13061) (cosmos#13062)

    * deps: bump gin-gonic (cosmos#13061)

    Co-authored-by: Julien Robert <julien@rbrt.fr>
    (cherry picked from commit d11196a)

    # Conflicts:
    #	go.sum

    * fix conflicts

    Co-authored-by: Robert Zaremba <robert@zaremba.ch>
    Co-authored-by: marbar3778 <marbar3778@yahoo.com>

commit 1af5c72
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Sat Aug 27 09:18:50 2022 +0200

    feat(x/auth): Add auth sim decoder case for AccountNumberStoreKeyPrefix (backport cosmos#13048) (cosmos#13054)

commit e2fe96a
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Fri Aug 26 13:16:02 2022 -0400

    feat(x/authz): Add the GetAuthorization function. (backport cosmos#13047) (cosmos#13052)

    * feat(x/authz): Add the GetAuthorization function. (cosmos#13047)

    * [13027]: Create the GetAuthorization function (in the authz module).

    * [13027]: Add unit tests for the new GetAuthorization function.

    * [13027]: Add changelog entry.

    (cherry picked from commit 5e4651e)

    # Conflicts:
    #	CHANGELOG.md
    #	x/authz/keeper/keeper_test.go

    * fix changelog

    * Fix failed merge.

    * Fix build issue introduced by merge.

    Co-authored-by: Daniel Wedul <github@wedul.com>
    Co-authored-by: Julien Robert <julien@rbrt.fr>

commit b9d4ed8
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Thu Aug 25 15:15:13 2022 -0400

    fix: missing return statement in BaseApp.Query (backport cosmos#13046) (cosmos#13049)

    * fix: missing return statement in BaseApp.Query (cosmos#13046)

    ## Description

    Closes: cosmos#13040

    ---

    ### Author Checklist

    *All items are required. Please add a note to the item if the item is not applicable and
    please add links to any relevant follow up issues.*

    I have...

    - [ ] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
    - [ ] added `!` to the type prefix if API or client breaking change
    - [ ] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#pr-targeting))
    - [ ] provided a link to the relevant issue or specification
    - [ ] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/main/docs/building-modules)
    - [ ] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#testing)
    - [ ] added a changelog entry to `CHANGELOG.md`
    - [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
    - [ ] updated the relevant documentation or specification
    - [ ] reviewed "Files changed" and left comments if necessary
    - [ ] confirmed all CI checks have passed

    ### Reviewers Checklist

    *All items are required. Please add a note if the item is not applicable and please add
    your handle next to the items reviewed if you only reviewed selected items.*

    I have...

    - [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
    - [ ] confirmed `!` in the type prefix if API or client breaking change
    - [ ] confirmed all author checklist items have been addressed
    - [ ] reviewed state machine logic
    - [ ] reviewed API design and naming
    - [ ] reviewed documentation is accurate
    - [ ] reviewed tests and test coverage
    - [ ] manually tested (if applicable)

    (cherry picked from commit c73171f)

    # Conflicts:
    #	CHANGELOG.md

    * fix conflicts

    Co-authored-by: Julien Robert <julien@rbrt.fr>

commit 704fff5
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Thu Aug 25 14:30:04 2022 +0200

    fix: exporting the blockParams regression (backport cosmos#13029) (cosmos#13037)

    * fix: exporting the blockParams regression (cosmos#13029)

    ## Description

    Closes: cosmos#13024

    ---

    ### Author Checklist

    *All items are required. Please add a note to the item if the item is not applicable and
    please add links to any relevant follow up issues.*

    I have...

    - [x] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
    - [x] added `!` to the type prefix if API or client breaking change
    - [x] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#pr-targeting))
    - [x] provided a link to the relevant issue or specification
    - [x] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/main/docs/building-modules)
    - [x] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#testing)
    - [x] added a changelog entry to `CHANGELOG.md`
    - [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
    - [ ] updated the relevant documentation or specification
    - [x] reviewed "Files changed" and left comments if necessary
    - [ ] confirmed all CI checks have passed

    ### Reviewers Checklist

    *All items are required. Please add a note if the item is not applicable and please add
    your handle next to the items reviewed if you only reviewed selected items.*

    I have...

    - [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
    - [ ] confirmed `!` in the type prefix if API or client breaking change
    - [ ] confirmed all author checklist items have been addressed
    - [ ] reviewed state machine logic
    - [ ] reviewed API design and naming
    - [ ] reviewed documentation is accurate
    - [ ] reviewed tests and test coverage
    - [ ] manually tested (if applicable)

    (cherry picked from commit e1999e4)

    # Conflicts:
    #	CHANGELOG.md
    #	server/export_test.go

    * fix conflicts

    Co-authored-by: JayT106 <JayT106@users.noreply.github.com>
    Co-authored-by: Julien Robert <julien@rbrt.fr>

commit cb7bdca
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Wed Aug 24 15:15:28 2022 -0400

    ci: fix release notes not populated by goreleaser (backport cosmos#12919) (cosmos#13018)

    * ci: fix release notes not populated by goreleaser

    (cherry picked from commit c670fec)

    # Conflicts:
    #	cosmovisor/go.mod
    #	cosmovisor/go.sum
    #	go.work.sum

    * updates

    * revert

    Co-authored-by: Julien Robert <julien@rbrt.fr>

commit 252c673
Author: Julien Robert <julien@rbrt.fr>
Date:   Wed Aug 24 17:43:33 2022 +0200

    chore: v0.46.1 release changelog (cosmos#13011)

    * chore: v0.46.1 release changelog

    * updates

    * updates

commit 60e6274
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Wed Aug 24 16:45:44 2022 +0200

    feat: Change the default priority mechanism to be based on gas price (backport cosmos#12953) (cosmos#13006)

    * feat: Change the default priority mechanism to be based on gas price (cosmos#12953)

    (cherry picked from commit befd816)

    # Conflicts:
    #	CHANGELOG.md
    #	x/auth/ante/fee_test.go

    * fix conflict

    Co-authored-by: yihuang <huang@crypto.com>
    Co-authored-by: Julien Robert <julien@rbrt.fr>

commit afb3def
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Tue Aug 23 14:54:38 2022 -0400

    docs: improve UPGRADING.md instructions for v0.46.0 (backport cosmos#12646) (cosmos#13004)

    * docs: improve UPGRADING.md instructions for v0.46.0 (cosmos#12646)

    ## Description

    This PR is aimed to improve further the UGPRADING.md for v0.46.0.
    We've merged cosmos#12477 for having concurrent work on the file.

    - ref cosmos#12992 and closes cosmos#12991
    - closes cosmos#12963

    ---

    ### Author Checklist

    *All items are required. Please add a note to the item if the item is not applicable and
    please add links to any relevant follow up issues.*

    I have...

    - [ ] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
    - [ ] added `!` to the type prefix if API or client breaking change
    - [ ] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#pr-targeting))
    - [ ] provided a link to the relevant issue or specification
    - [ ] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/main/docs/building-modules)
    - [ ] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#testing)
    - [ ] added a changelog entry to `CHANGELOG.md`
    - [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
    - [ ] updated the relevant documentation or specification
    - [ ] reviewed "Files changed" and left comments if necessary
    - [ ] confirmed all CI checks have passed

    ### Reviewers Checklist

    *All items are required. Please add a note if the item is not applicable and please add
    your handle next to the items reviewed if you only reviewed selected items.*

    I have...

    - [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
    - [ ] confirmed `!` in the type prefix if API or client breaking change
    - [ ] confirmed all author checklist items have been addressed
    - [ ] reviewed state machine logic
    - [ ] reviewed API design and naming
    - [ ] reviewed documentation is accurate
    - [ ] reviewed tests and test coverage
    - [ ] manually tested (if applicable)

    (cherry picked from commit c76a00b)

    # Conflicts:
    #	.gitignore
    #	CHANGELOG.md
    #	Makefile
    #	UPGRADING.md

    * fix conflict

    Co-authored-by: Julien Robert <julien@rbrt.fr>

commit 90ef369
Author: Sai Kumar <17549398+gsk967@users.noreply.github.com>
Date:   Tue Aug 23 20:01:13 2022 +0530

    fix: fix the gov proposals (cosmos#13002)

commit d3d4675
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Tue Aug 23 14:11:23 2022 +0200

    fix: proper error when parsing telemetry configuration (backport cosmos#12981) (cosmos#12998)

    * fix: proper error when parsing telemetry configuration (cosmos#12981)

    When parsing `telemetry.global-labels` config the code assumes that the type will be an array.  I saw an issue where someone edited the configuration in the wrong way and got the following error:
    ![photo_2022-08-21_08-02-21](https://user-images.githubusercontent.com/22855163/185793842-c5759a54-1860-4dd1-bdb4-b94f4dab3c16.jpg)
    Instead, I suggest here to print a proper error log to indicate what the issue is.

    (cherry picked from commit c24c439)

    * add changelog

    Co-authored-by: liorbond <liorbond@gmail.com>
    Co-authored-by: Julien Robert <julien@rbrt.fr>

commit c835d46
Author: Jacob Gadikian <jacobgadikian@gmail.com>
Date:   Mon Aug 22 04:30:00 2022 +0700

    Update Makefile (cosmos#12982)

    formatting

commit 7ee9e6d
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Fri Aug 19 18:26:49 2022 +0200

    docs(cli): improve --gas flag description (cosmos#12913) (cosmos#12965)

    * docs(cli): improve --gas flag description

    * Update client/flags/flags.go

    Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>

    * fix sprintf

    Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
    Co-authored-by: Julien Robert <julien@rbrt.fr>
    (cherry picked from commit f430528)

    Co-authored-by: Robert Zaremba <robert@zaremba.ch>

commit f31c795
Author: Julien Robert <julien@rbrt.fr>
Date:   Fri Aug 19 18:26:07 2022 +0200

    chore: bump tendermint to `0.34.21` and iavl to `0.19.1` (cosmos#12969)

    * chore: bump tendermint to `0.34.21` and iavl to `0.19.1`

    * update changelog

commit 32c9075
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Thu Aug 18 15:34:32 2022 -0400

    fix: the occasional  staking module `SimulateMsgCancelUnbondingDelegate` failure (backport cosmos#12933) (cosmos#12962)

commit d2a5018
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Thu Aug 18 15:34:09 2022 -0400

    feat: deterministic map iteration (backport cosmos#12781) (cosmos#12943)

commit f3c1d8c
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Thu Aug 18 15:33:52 2022 -0400

    perf: Amortize clearing unsorted cache entries (Juno genesis fix) (backport cosmos#12885) (cosmos#12960)

commit 629b3b9
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Thu Aug 11 10:32:48 2022 -0400

    fix: move downgrade verification after store migration (cosmos#12906) (cosmos#12907)

commit d74d102
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Wed Aug 10 16:16:53 2022 +0200

    fix(x/group): propagate events correctly to current context (backport cosmos#12888) (cosmos#12890)

    * fix(x/group): propagate events correctly to current context (cosmos#12888)

    * fix(x/groups) propagate events correctly to current context

    * update to use current context on logger

    * adding changelog entry

    Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
    (cherry picked from commit 014bfae)

    # Conflicts:
    #	CHANGELOG.md

    * fix conflicts

    Co-authored-by: Damian Nolan <damiannolan@gmail.com>
    Co-authored-by: Amaury M <1293565+amaurym@users.noreply.github.com>

commit 5caee00
Author: Robert Zaremba <robert@zaremba.ch>
Date:   Wed Aug 10 10:02:13 2022 +0200

    chore: bump math (cosmos#12877)

    * chore: bump math package

    * changelog

commit 69c88ad
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Mon Aug 8 17:22:58 2022 -0400

    chore: changelog update (backport cosmos#12859) (cosmos#12861)

commit e5b974c
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Mon Aug 8 15:13:12 2022 -0400

    chore: fee payer event (cosmos#12850) (cosmos#12855)

commit 137bd03
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Sun Aug 7 22:39:42 2022 +0200

    Update REST endpoints for group module documentation (cosmos#12839) (cosmos#12840)

    (cherry picked from commit cfed17e)

    Co-authored-by: lg <8335464+glnro@users.noreply.github.com>

commit 2b616fb
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Sun Aug 7 09:43:59 2022 -0400

    fix(docs): typo in staking/state (cosmos#12834) (cosmos#12835)

    (cherry picked from commit fe89212)

    Co-authored-by: Ari Rubinstein <arirubinstein@users.noreply.github.com>

commit 1890b8b
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Tue Aug 2 10:26:49 2022 +0200

    feat: Add GetParamSetIfExists to prevent panic on breaking param changes (backport cosmos#12615) (cosmos#12792)

    * feat: Add GetParamSetIfExists to prevent panic on breaking param changes (cosmos#12615)

    * imp(params): Add GetParamSetIfExists to prevent panic on breaking param changes

    * changelog

    * test

    Co-authored-by: Marko <marbar3778@yahoo.com>
    (cherry picked from commit 2932e11)

    # Conflicts:
    #	CHANGELOG.md

    * Update CHANGELOG.md

    Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
    Co-authored-by: Marko <marbar3778@yahoo.com>

commit 04e7ab1
Author: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Date:   Wed Jul 27 16:46:05 2022 +0200

    feat: Add convenience method for constructing key to access account's balance for a given denom (backport cosmos#12674) (cosmos#12744)

    * feat: Add convenience method for constructing key to access account's balance for a given denom (cosmos#12674)

    This PR adds a convenience method for constructing the key necessary to query for the account's balance of a given denom.

    I ran into this issue since we are using ABCI query now to perform balance requests because we are also requesting merkle proofs for the returned balance [here](https://github.com/celestiaorg/celestia-node/pull/911/files#diff-0ee31f5a7bd88e9f758e6bebdf3ee36365519e55a451098d9638c39afe5eac42R144).

    It would be nice to have a definitive convenience method for constructing the key.

    [Ref.](github.com/celestiaorg/celestia-node/pull/911)

    (cherry picked from commit a1777a8)

    * updates changelog

    Co-authored-by: rene <41963722+renaynay@users.noreply.github.com>
    Co-authored-by: Julien Robert <julien@rbrt.fr>

* Update changelog.

* Update changelog entry with link to PR.

* Standardize the link text for PRs and issues.

* Fix a few lint complaints.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A:automerge Automatically merge PR once all prerequisites pass. backport/0.46.x PR scheduled for inclusion in the v0.46's next stable release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants