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

perf: Speedup to params simulation #9481

Merged
merged 7 commits into from
Jun 17, 2021
Merged

Conversation

ValarDragon
Copy link
Contributor

@ValarDragon ValarDragon commented Jun 8, 2021

Description

In Osmosis' simulation, we were observing that a large percent of the time was spent within SimulateParamChangeProposalContent, in particular within the composed key function. This is from a trace of our simulator running for 10 minutes:

Screenshot 2021-06-08 at 2 32 28 PM

This change lowers the number of calls to ComposedKey() by a factor of 3, and speeds up the underlying ComposedKey function. (sprintf is not particularly efficient for string concatenation, https://dev.to/pmalhaire/concatenate-strings-in-golang-a-quick-benchmark-4ahh ). After these change, the effect of ComposedKey() can no longer be seen in the profiler outputs.

This change does not change the result of the simulator on a given seed.

See #9481 (comment) for description of changes.


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)

@ValarDragon
Copy link
Contributor Author

ValarDragon commented Jun 8, 2021

In a future PR, I suggest also making the simulator not try to bundle so many parameter change requests together.

I don't see how the test-cosmovisor failure is related to this change, as this code does not touch the state machine.

Copy link
Contributor

@alexanderbez alexanderbez left a comment

Choose a reason for hiding this comment

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

Great find 👌

@ValarDragon
Copy link
Contributor Author

ValarDragon commented Jun 8, 2021

Oh wait, this introduces a bug, I misunderstood the inner loop. (I thought if it was not ok, it just got skipped)

I'm just going to change this overall to remove the need for the inner loop, which originally made this function run in time O(num_params log(num_params)). It now runs in time O(num_params), and each operation is significantly quicker.

@ValarDragon
Copy link
Contributor Author

ValarDragon commented Jun 8, 2021

So in the last two commits the following were changed:
Commit 1:
First title and desc were made to be more human readable, and smaller, in order to have better debuggability and lower entropy consumption. (This was a significant overhead)

Commit 2:

  1. Fix the infinite loop bug introduced in commit 1.
  2. Change the number of iterations from being a coupon collector problem to now being number of parameter changes.
  3. Bound the number of parameter changes in one proposal to at most be 1000 changes

@ValarDragon
Copy link
Contributor Author

Let me re benchmark whether or not this overall helps. (I believe each constituent change should help. The only dubious change is Change the number of iterations from being a coupon collector problem to now being number of parameter changes., but doing that removed the need for the expensive string concatenation / allocations from this loop which had (relatively) high overheads.

@ValarDragon
Copy link
Contributor Author

ValarDragon commented Jun 8, 2021

This dramatically sped up our usecase. The same simulation run as before which timed out at 10 minutes on block 10, now finishes executing block 20 in under 10 seconds.

@codecov
Copy link

codecov bot commented Jun 8, 2021

Codecov Report

Merging #9481 (a85b55d) into master (6e24a30) will increase coverage by 0.00%.
The diff coverage is 84.21%.

❗ Current head a85b55d differs from pull request most recent head 0caac5a. Consider uploading reports for the commit 0caac5a to get more accurate results
Impacted file tree graph

@@           Coverage Diff           @@
##           master    #9481   +/-   ##
=======================================
  Coverage   60.58%   60.59%           
=======================================
  Files         589      589           
  Lines       37218    37222    +4     
=======================================
+ Hits        22548    22553    +5     
+ Misses      12726    12725    -1     
  Partials     1944     1944           
Impacted Files Coverage Δ
x/params/simulation/operations.go 86.36% <83.33%> (+8.58%) ⬆️
x/simulation/params.go 26.08% <100.00%> (ø)

Copy link
Member

@tac0turtle tac0turtle left a comment

Choose a reason for hiding this comment

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

Noice

@tac0turtle tac0turtle added A:automerge Automatically merge PR once all prerequisites pass. and removed A:automerge Automatically merge PR once all prerequisites pass. labels Jun 17, 2021
@tac0turtle
Copy link
Member

@ValarDragon could you resolve conflicts, then the bot will take care of the merge

@mergify mergify bot merged commit 61dd71e into master Jun 17, 2021
@mergify mergify bot deleted the dev/speedup_params_simulator branch June 17, 2021 07:42
daeMOn63 pushed a commit to fetchai/cosmos-sdk that referenced this pull request Aug 19, 2021
## Description

In Osmosis' simulation, we were observing that a large percent of the time was spent within SimulateParamChangeProposalContent, in particular within the composed key function. This is from a trace of our simulator running for 10 minutes:

<img width="931" alt="Screenshot 2021-06-08 at 2 32 28 PM" src="https://user-images.githubusercontent.com/6440154/121238788-16cdd000-c85e-11eb-8251-94537e69f8ce.png">

~This change lowers the number of calls to ComposedKey() by a factor of 3, and speeds up the underlying ComposedKey function. (sprintf is not particularly efficient for string concatenation, https://dev.to/pmalhaire/concatenate-strings-in-golang-a-quick-benchmark-4ahh ). After these change, the effect of ComposedKey() can no longer be seen in the profiler outputs.~

~This change does not change the result of the simulator on a given seed.~

See cosmos/cosmos-sdk#9481 (comment) for description of changes.
daeMOn63 pushed a commit to fetchai/cosmos-sdk that referenced this pull request Aug 20, 2021
## Description

In Osmosis' simulation, we were observing that a large percent of the time was spent within SimulateParamChangeProposalContent, in particular within the composed key function. This is from a trace of our simulator running for 10 minutes:

<img width="931" alt="Screenshot 2021-06-08 at 2 32 28 PM" src="https://user-images.githubusercontent.com/6440154/121238788-16cdd000-c85e-11eb-8251-94537e69f8ce.png">

~This change lowers the number of calls to ComposedKey() by a factor of 3, and speeds up the underlying ComposedKey function. (sprintf is not particularly efficient for string concatenation, https://dev.to/pmalhaire/concatenate-strings-in-golang-a-quick-benchmark-4ahh ). After these change, the effect of ComposedKey() can no longer be seen in the profiler outputs.~

~This change does not change the result of the simulator on a given seed.~

See cosmos/cosmos-sdk#9481 (comment) for description of changes.
daeMOn63 pushed a commit to fetchai/cosmos-sdk that referenced this pull request Mar 1, 2022
## Description

In Osmosis' simulation, we were observing that a large percent of the time was spent within SimulateParamChangeProposalContent, in particular within the composed key function. This is from a trace of our simulator running for 10 minutes:

<img width="931" alt="Screenshot 2021-06-08 at 2 32 28 PM" src="https://user-images.githubusercontent.com/6440154/121238788-16cdd000-c85e-11eb-8251-94537e69f8ce.png">

~This change lowers the number of calls to ComposedKey() by a factor of 3, and speeds up the underlying ComposedKey function. (sprintf is not particularly efficient for string concatenation, https://dev.to/pmalhaire/concatenate-strings-in-golang-a-quick-benchmark-4ahh ). After these change, the effect of ComposedKey() can no longer be seen in the profiler outputs.~

~This change does not change the result of the simulator on a given seed.~

See cosmos/cosmos-sdk#9481 (comment) for description of changes.
daeMOn63 added a commit to fetchai/cosmos-sdk that referenced this pull request Mar 23, 2022
* router: fix handler name (#9281)

* x/gov v0.43 Audit updates (#9258)

* Update gov tx usage

* Update proto

* make proto-gen

* Add deposit test

* Rename test function

* More audits

* Update x/gov/keeper/internal_test.go

* Update x/gov/spec/01_concepts.md

Co-authored-by: atheeshp <[email protected]>

* ADR-30 (authz) update based on authz audit (#9270)

* ADR-30 (authz) update based on authz audit

* changelog and comment update

* fix linter issue

* Apply suggestions from code review

Co-authored-by: Marie Gauthier <[email protected]>
Co-authored-by: Amaury <[email protected]>

* Update MsgGrant to reuse the Grant type

* Update docs/architecture/adr-030-authz-module.md

Co-authored-by: Marie Gauthier <[email protected]>

Co-authored-by: Marie Gauthier <[email protected]>
Co-authored-by: Amaury <[email protected]>
Co-authored-by: Aaron Craelius <[email protected]>

* Fix proto format (#9279)

* makefile: fix proto-format

* reformat all proto files

* regenerating proto

* remove dangling semicolon

* Update docs for building modules (#9272)

* update example structure

* update example structure

* update module errors path

* update paths and fix typos

* update paths and fix typos

* update example structure

* address review comments

* authz: Update MsgGrant proto (#9280)

* adding GetAuthorization test

* update MsgGrant proto

* update comment

* x/staking v0.43 Audit updates (#9267)

* update staking specs

* use gosimple code in x/staking/client/testutil/suite.go

* small fixes

* add godoc to methods in msg_server and grpc_query

* changes to godoc and small fixes

* remove unnecessary lines

* remove mentions of serviceMsg and avoid having slash after Msg

* ADR-042: Group module (#9089)

* Add ADR-042

* Fix link

* Small improvements

* Update link

* Update docs/architecture/adr-042-group-module.md

Co-authored-by: Robert Zaremba <[email protected]>

* Update docs/architecture/adr-042-group-module.md

* Update docs/architecture/adr-042-group-module.md

* Update docs/architecture/adr-042-group-module.md

Co-authored-by: Robert Zaremba <[email protected]>

* Update docs/architecture/adr-042-group-module.md

Co-authored-by: Robert Zaremba <[email protected]>

* Update docs/architecture/adr-042-group-module.md

Co-authored-by: Robert Zaremba <[email protected]>

* Update docs/architecture/adr-042-group-module.md

Co-authored-by: Robert Zaremba <[email protected]>

* Update docs/architecture/adr-042-group-module.md

* Update docs/architecture/adr-042-group-module.md

* Update docs/architecture/adr-042-group-module.md

Co-authored-by: Robert Zaremba <[email protected]>

* Update docs/architecture/adr-042-group-module.md

Co-authored-by: Robert Zaremba <[email protected]>

* Update docs/architecture/adr-042-group-module.md

Co-authored-by: Robert Zaremba <[email protected]>

* Update docs/architecture/adr-042-group-module.md

Co-authored-by: Robert Zaremba <[email protected]>

* Update docs/architecture/adr-042-group-module.md

Co-authored-by: Robert Zaremba <[email protected]>

* Update docs/architecture/adr-042-group-module.md

Co-authored-by: Robert Zaremba <[email protected]>

* Update docs/architecture/adr-042-group-module.md

Co-authored-by: Robert Zaremba <[email protected]>

* Move orm to specific section

* Update docs/architecture/adr-042-group-module.md

* Update naming

* Add concrete use cases

* Rework ### Proposal

* Rework Vote, Exec and implementation sections

* Update to account for removal of ServiceMsg

Co-authored-by: Alessio Treglia <[email protected]>
Co-authored-by: Robert Zaremba <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>

* build(deps): bump github.com/otiai10/copy from 1.5.1 to 1.6.0 (#9289)

Bumps [github.com/otiai10/copy](https://github.com/otiai10/copy) from 1.5.1 to 1.6.0.
- [Release notes](https://github.com/otiai10/copy/releases)
- [Commits](https://github.com/otiai10/copy/compare/v1.5.1...v1.6.0)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>

* x/bank v0.43 Audit updates (#9271)

* add godoc to keeper functions

* re-add ValidateBasic to MsgSend CLI tx

* add comment to reflect new return value on method

* remove unecessary variable

* cleanup key comments

* typo

* unused param

* update messages spec

* move event emission to end of method

* update keeper spec

* update proto message to point correct path to interface

* keeper spec typos

* fix test for event emission being moved

* change to blocklist

* rename SendEnabledCoin(s) -> IsSendEnabledCoins

* typo

* remove unecessary check

* move changelog line

Co-authored-by: technicallyty <[email protected]>

* Crypto v0.43 Audit updates (#9292)

* fix tests

* calculate fieldSize for esdca test

* remove require declaration for consistency

Co-authored-by: technicallyty <[email protected]>

* build(deps): bump github.com/armon/go-metrics from 0.3.7 to 0.3.8 (#9248)

Bumps [github.com/armon/go-metrics](https://github.com/armon/go-metrics) from 0.3.7 to 0.3.8.
- [Release notes](https://github.com/armon/go-metrics/releases)
- [Commits](https://github.com/armon/go-metrics/compare/v0.3.7...v0.3.8)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Amaury <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>

* v043 audit changes for telemetry/ (#9297)

* v043 audit changes for version

* v042 audit changes for telemetry

* remove version changes in telemetry audit

* 0.43 aidut changes for client module (#9295)

Co-authored-by: atheeshp <[email protected]>
Co-authored-by: Amaury <[email protected]>

* v043 audit changes for version (#9296)

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>

* Remove migration scripts <=0.38 (#9291)

* Remove migration scripts <=0.38

* Add changelog

* remove more

* remove more stuff

* Fix test

* Relase wording

* Add comment

* Include migratio wording

* x/authz: simulation audit changes (#9107)

* addressing audit changes

* address simulation genesis changes

* address simulation operations changes

* fix tests

* typo

* add more authorizations to operations

* fix tests

* fix failing simulations

* WIP

* WIP

* testing simulations

* test simulations

* try fixing tests

* WIP

* fix error

* test

* Add exec authorization

* WIP

* WIP

* fix tests

* WIP

* WIP

* WIP

* WIP

* WIP

* fix errors

* fix test

* WIP

* try fix test

* update tests

* fix errors

* add exec authorization

* fix docs

* fix test

* fix error

* try fixing simulation

* fix errors

* fixing simulations

* fix errors

* rename GenTx -> GenerateTx

* Update x/authz/simulation/genesis.go

Co-authored-by: Robert Zaremba <[email protected]>

* Update x/authz/simulation/genesis.go

Co-authored-by: Robert Zaremba <[email protected]>

* Update x/authz/simulation/operations.go

Co-authored-by: Robert Zaremba <[email protected]>

* review changes

* fix tests

* rename GenerateTx => GenTx

* remove Authorization suffix

Co-authored-by: Robert Zaremba <[email protected]>
Co-authored-by: atheeshp <[email protected]>

* ADR-040: Storage and SMT State Commitments (#8430)

* ADR-040: Storage and SMT State Commitments

* Update docs/architecture/adr-040-storage-and-smt-state-commitments.md

Co-authored-by: Ismail Khoffi <[email protected]>

* Update docs/architecture/adr-040-storage-and-smt-state-commitments.md

Co-authored-by: Ismail Khoffi <[email protected]>

* Added more details for snapshotting and pruning.

* updated links and references

* add blockchains which already use SMT

* reorganize versioning and pruning

* Update docs/architecture/adr-040-storage-and-smt-state-commitments.md

Co-authored-by: Tomasz Zdybał <[email protected]>

* Update docs/architecture/adr-040-storage-and-smt-state-commitments.md

Co-authored-by: Ismail Khoffi <[email protected]>

* adding a paragraph about state management

* adr-40: update 'accessing old state' section

* update based on all recent discussions and validations

* adding more explanation about KV interface

* Apply suggestions from code review

Co-authored-by: Tomasz Zdybał <[email protected]>
Co-authored-by: Marko <[email protected]>

* Apply suggestions from code review

Co-authored-by: Marko <[email protected]>

* review comments

* adding paragraph about commiting to an object without storying it

* review updates

* Apply suggestions from code review

Co-authored-by: Roy Crihfield <[email protected]>

* review udpates

* adding clarification

Co-authored-by: Ismail Khoffi <[email protected]>
Co-authored-by: Tomasz Zdybał <[email protected]>
Co-authored-by: Marko <[email protected]>
Co-authored-by: Roy Crihfield <[email protected]>

* Update doc for IterateAccounts x/auth keeper meethod (#9285)

Co-authored-by: Lazar Ivanovic <[email protected]>

* update labeler.yml with shortened labels (#9303)

* Update x/auth AnteHandler Spec (#9298)

* Update auth antehandler spec

* Update x/auth/spec/03_antehandlers.md

Co-authored-by: Ryan Christoffersen <[email protected]>

* Update x/auth/spec/03_antehandlers.md

Co-authored-by: Ryan Christoffersen <[email protected]>

* Update x/auth/spec/03_antehandlers.md

Co-authored-by: Ryan Christoffersen <[email protected]>

* Use 1 line

* Use backticks

* Use consistent tx naming

* Fix grammar

* Update module naming

* Update x/auth/spec/03_antehandlers.md

Co-authored-by: Tyler <[email protected]>

Co-authored-by: Tyler <[email protected]>
Co-authored-by: Ryan Christoffersen <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>

* Fixed parse key issue (#9299)

* Fixed parse key issue

* Added getconfig in root command

* uncommented changes in parse.go

* doc: Updates related to ServiceMsg, sdk.Msg and Msg service (#9294)

* doc: Updates related to ServiceMsg, sdk.Msg and Msg service

* Apply suggestions from code review

Co-authored-by: Ryan Christoffersen <[email protected]>

* remove one more ServiceMsg

* Use service method rathr than service RPC

Co-authored-by: Ryan Christoffersen <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>

* Use module accounts in MsgSend and MsgMultiSend tests in bank module (#9075)

* first draft

* unable to cast to simtypes.Account

* fix test

* add for loop in TestSimulateModuleAccountMsgSend

* TestSimulateModuleAccountMsgMultiSend

* refactoring, r4r

* change fromSimAcc, toSimAcc to from,to respectively

* Update x/bank/simulation/operations.go

Co-authored-by: Robert Zaremba <[email protected]>

* Update x/bank/simulation/operations.go

Co-authored-by: Robert Zaremba <[email protected]>

* getModuleAccounts

* fix for loop

* applied reviewers suggestions, r4r

* Update x/bank/simulation/operations.go

Co-authored-by: Robert Zaremba <[email protected]>

* minor changes

* fix typo

* all simulation package tests pass, r4r

Co-authored-by: anilCSE <[email protected]>
Co-authored-by: Robert Zaremba <[email protected]>
Co-authored-by: Cory <[email protected]>
Co-authored-by: Aaron Craelius <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>

* add feature CHANGELOG entry for grpc-web (#9301)

Co-authored-by: Amaury <[email protected]>

* Minor doc fix (#9328)

* rosetta: upgrade to newest version (#9314)

* feat:  update rosetta sdk to v0.6.10

embed from v1.0.0 release branch of the library: https://github.com/tendermint/cosmos-rosetta-gateway/tree/release/v1.0.0

closes:
https://github.com/cosmos/cosmos-sdk/issues/9300

Co-authored-by: Alessio Treglia <[email protected]>

* Update Stable Release Managers (#9335)

Co-authored-by: Alessio Treglia <[email protected]>

* build(deps): bump github.com/prometheus/common from 0.23.0 to 0.24.0 (#9340)

Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.23.0 to 0.24.0.
- [Release notes](https://github.com/prometheus/common/releases)
- [Commits](https://github.com/prometheus/common/compare/v0.23.0...v0.24.0)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marko <[email protected]>

* build(deps): bump github.com/rs/zerolog from 1.21.0 to 1.22.0 (#9338)

Bumps [github.com/rs/zerolog](https://github.com/rs/zerolog) from 1.21.0 to 1.22.0.
- [Release notes](https://github.com/rs/zerolog/releases)
- [Commits](https://github.com/rs/zerolog/compare/v1.21.0...v1.22.0)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marko <[email protected]>

* build(deps): bump google.golang.org/grpc from 1.37.0 to 1.37.1 (#9339)

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.37.0 to 1.37.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.37.0...v1.37.1)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump goreleaser/goreleaser-action from 2 to 2.5.0 (#9306)

Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 2 to 2.5.0.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Changelog](https://github.com/goreleaser/goreleaser-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v2...v2.5.0)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Amaury <[email protected]>
Co-authored-by: Marko <[email protected]>

* v043 audit changes for `types/` (#9290)

* SDK Core Audit - simapp updates (#9315)

* Make package imports consistent

* Update comment

* Update FundAccount/FundModuleAccount

* Fix bench test

Co-authored-by: atheeshp <[email protected]>

* fix client config don't take effect (#9211)

* fix client keyring config

* fix output flag of keys commads

Co-authored-by: Robert Zaremba <[email protected]>
Co-authored-by: Amaury <[email protected]>

* Update why-app-specific.md (#9349)

Fix typo

Co-authored-by: Marko <[email protected]>

* Remove Redundant Staking Errors (#9231)

* refactor(staking errors): 'invalid' errors: use ErrInvalidRequest, remove unused error types

* refactor(staking errors): fix error registration codes

* support(staking errors): add changelog entry

* fix(staking test suite): update expected error codes relative to refactor

* chore(staking errors): code formatting

Co-authored-by: Marko <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>

* build(deps): bump github.com/prometheus/common from 0.24.0 to 0.25.0 (#9357)

Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.24.0 to 0.25.0.
- [Release notes](https://github.com/prometheus/common/releases)
- [Commits](https://github.com/prometheus/common/compare/v0.24.0...v0.25.0)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>

* add cosmovisor docs on Auto-Download (#9358)

* x/upgrade gRPC methods for VersionMap (#9073)

* setup version map query

* query methods

* grpc methods

* cleanup

* grpc for VersionMap

* swagger update

* swagger sync

* cleanup

* reset docs

* clean

* grpc with field

* daily

* -add grpc methods
-add optional field to get specific module from version map
-added cli test for version map query from cli

* -consolidate grpc test to one test function
-return better errors in grpc methods

* consolidate tests

* swagger update

* this breaks

* Try stringer on individual msgs

* change map to slice in proto

* cleanup

* add comments to proto fields

* cleanup

* regen proto files

* jsoncodec

* rename gRPC methods

* * add fetch method for module version slice
* add method to return version given a module name
* remove sorting functions

* lint

* Update proto/cosmos/upgrade/v1beta1/query.proto

Co-authored-by: Aaron Craelius <[email protected]>

* Update proto/cosmos/upgrade/v1beta1/upgrade.proto

Co-authored-by: Aaron Craelius <[email protected]>

* fix up comments and regen proto/swagger

* Update x/upgrade/client/cli/query.go

Co-authored-by: Amaury <[email protected]>

* conform to pr 6711

* lint

Co-authored-by: technicallyty <[email protected]>
Co-authored-by: Amaury M <[email protected]>
Co-authored-by: Aaron Craelius <[email protected]>

* docs: update module interfaces (#9322)

* update transaction commands

* update query commands

* update command flags

* update grpc and rest

* update command examples

* remove legacy rest

* update code snippets

* Update docs/building-modules/module-interfaces.md

Co-authored-by: Aleksandr Bezobchuk <[email protected]>

Co-authored-by: ryanchrypto <[email protected]>
Co-authored-by: Aleksandr Bezobchuk <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Tyler <[email protected]>

* update spec and fix code snippets (#9334)

* update spec and fix code snippets

* updating authz.Grant documentation

* Update proto/cosmos/authz/v1beta1/tx.proto

Co-authored-by: Ryan Christoffersen <[email protected]>

* Apply suggestions from code review

Co-authored-by: Ryan Christoffersen <[email protected]>

* rename messages to services

* Update proto/cosmos/authz/v1beta1/tx.proto

Co-authored-by: Ryan Christoffersen <[email protected]>

* update snippets

* Apply suggestions from code review

Co-authored-by: Ryan Christoffersen <[email protected]>

* authz: update service docs to emphasis the service methods

* authz spec: rollback to use message oriented spec

* Apply suggestions from code review

Co-authored-by: Ryan Christoffersen <[email protected]>

* Update MsgGrant type doc

Co-authored-by: Ryan Christoffersen <[email protected]>
Co-authored-by: Ryan Christoffersen <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Tyler <[email protected]>

* docs: cosmovisor docs clean-up (#9364)

* cosmovisor docs clean-up

* add cosmovisor docs on auto-download to cosmovisor README

* build(deps): bump google.golang.org/grpc from 1.37.1 to 1.38.0 (#9367)

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.37.1 to 1.38.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.37.1...v1.38.0)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix: store key uniqueness (#9363)

* fix: store key uniqueness

* gosimple: use copy instead of for loop

* Update types/store.go

Co-authored-by: Tyler <[email protected]>

* fix import

Co-authored-by: Tyler <[email protected]>

* cosmovisor: set larger buffer size for cosmovisor to scan log (fix #8651) (#8653)

* cosmovisor: set larger buffer for cosmovisor to scan log (fix #8651)

* update cosmovisor README and set buffer size to ENV setting

Co-authored-by: Marko <[email protected]>
Co-authored-by: Aaron Craelius <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>

* docs: minor edits and typo fix on 06_begin_block.md (#9370)

* docs: minor edits and typo fix on 06_begin_block.md

just a few edits when I went to fix a typo

* Update x/evidence/spec/06_begin_block.md

* fix typo

Co-authored-by: Ryan Christoffersen <[email protected]>

* Adding the ts-relayer to the implementations list (#9380)

* fix copy pasta (#9376)

Comment for `types/module/Manager#RegisterRoutes` looks like it was copy-pated from `#RegisterRoutes` but wasn't edited.

Co-authored-by: Marko <[email protected]>

* chore: add lint-pr action (#9341)

* add lint-pr config
* use default config

Co-authored-by: ryanchrypto <[email protected]>
Co-authored-by: Aaron Craelius <[email protected]>

* docs: update simapp instructions (#9374)

* update simapp instructions

* fix typo and amount

Co-authored-by: ryanchrypto <[email protected]>
Co-authored-by: Marko <[email protected]>

* test: fix mockgen version (#9127)

* setup: update mockgen

* Add expect ConsensusVersion in app_test

* fix ChainAnteDecorators tests

* remove types/handler.go from autogenerating mocks

* adding a note

* adding note

Co-authored-by: Alessio Treglia <[email protected]>
Co-authored-by: Marko <[email protected]>

* docs: adding documentation writing guidelines (#9366)

* docs: adding documentation writing guidelines

* update

* Apply suggestions from code review

Co-authored-by: Marie Gauthier <[email protected]>
Co-authored-by: Ryan Christoffersen <[email protected]>

Co-authored-by: likhita-809 <[email protected]>
Co-authored-by: Marie Gauthier <[email protected]>
Co-authored-by: Ryan Christoffersen <[email protected]>

* feat: add header hash to `Context` (#9390)

* baseapp, types: add header hash to

* changelog

* feat: add Dec.Float64() function (#9382)

* feat: add Dec.Float64() function

* chore: add CHANGELOG.md release entry

* chore: added MustFloat64(), return result with error on Float64()

* chore: add godoc

* Update types/decimal.go

Co-authored-by: Amaury <[email protected]>

* Update types/decimal.go

Co-authored-by: Amaury <[email protected]>

* chore: re-ordered changelog

Co-authored-by: Amaury <[email protected]>

* test: add test for unpacking interface on validator request (#9391)

* test unpack on validator

* *add line to docs about validator being encoded in any
* add test to show how to unpack interfaces with validator object

* Update docs/core/encoding.md

Co-authored-by: Amaury <[email protected]>

* sort imports

* Update docs/core/encoding.md

Co-authored-by: Ryan Christoffersen <[email protected]>

Co-authored-by: technicallyty <[email protected]>
Co-authored-by: Amaury <[email protected]>
Co-authored-by: Ryan Christoffersen <[email protected]>

* build(deps): bump github.com/mattn/go-isatty from 0.0.12 to 0.0.13 (#9400)

Bumps [github.com/mattn/go-isatty](https://github.com/mattn/go-isatty) from 0.0.12 to 0.0.13.
- [Release notes](https://github.com/mattn/go-isatty/releases)
- [Commits](https://github.com/mattn/go-isatty/compare/v0.0.12...v0.0.13)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump goreleaser/goreleaser-action from 2.5.0 to 2.6.0 (#9399)

Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 2.5.0 to 2.6.0.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v2.5.0...v2.6.0)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marko <[email protected]>

* chore: add markdownlint to lint commands (#9353)

* add markdownlint config

* update make lint commands

* update markdownlint config

* run make lint-fix

* fix empty link

* resuse docker container

* run lint-fix

* do not echo commands

Co-authored-by: ryanchrypto <[email protected]>

* build(deps): bump actions/cache from 2.1.5 to 2.1.6 (#9412)

Bumps [actions/cache](https://github.com/actions/cache) from 2.1.5 to 2.1.6.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.5...v2.1.6)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix: update simapp to use correct default broadcast mode (#9408)

* fix: rollback height->Height in x/upgrade plan.DueAt formatting (#9416)

* fix: rollback height->Height in x/upgrade plan.DueAt formatting

* fix test

make test string match function rollback

* fix abci_test.go

lowercase height

Co-authored-by: Tyler <[email protected]>

* build(deps): bump goreleaser/goreleaser-action from 2.6.0 to 2.6.1 (#9426)

Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v2.6.0...v2.6.1)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix typo, v0.42 -> v0.43 (#9430)

Co-authored-by: Marko <[email protected]>

* fix blond typo (#9422)

Co-authored-by: Marko <[email protected]>

* fix: Staking delegations should return empty list instead of rpc error when no records found (#9423)

* return empty list instead of rpc error when no records found for staking delegations

* fix grpc query DelegatorDelegations tests

* remove response code tests for staking delegations

* fix failing tests

* change staking delegations response code to 200 in grpc test

* add staking delegations response code tests to TestQueryDelegatorDelegationsGRPC

* add address without delegations testcase

* add changes to grpc query tests of delegatorDelegations

* remove getRequest unused function from x/staking/client/rest/grpc_query_test.go

* minor fixes

* add testcases for request with no delegations

* address review comments

* add changelog

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>

* fix: Bank module init genesis optimization (#9428)

* optimize the bank module genesis initialization

* remove k.setBalances & k.clearBalances and update changelog

* fix lint

Co-authored-by: Aaron Craelius <[email protected]>

* fix memo flag description (#9436)

Co-authored-by: ryanchrypto <[email protected]>
Co-authored-by: Amaury <[email protected]>

* feat: add `RefundGas` function to `GasMeter` (#9403)

* feat: add RefundGas function to GasMeter

* changelog

* add comment about use case

* Apply suggestions from code review

Co-authored-by: Alessio Treglia <[email protected]>
Co-authored-by: Amaury <[email protected]>

* fix: x/gov deposits querier (Initial Deposit) (#9288)

* copied from old PR

* fix errors

* add test

* Update x/gov/client/utils/query.go

Co-authored-by: Robert Zaremba <[email protected]>

* fix tests

* fix failing test

* add test

* update test

* fix tests

* fix deposit query

* fix test

* update tests

* add more tests

* address lint error

* address lint error

* review changes

Co-authored-by: Robert Zaremba <[email protected]>

* fix: Fix testnet command (#9454)

* accept hyphen in node-dir-prefix flag for testnet and change `node-dir-prefixtoken` to `testtoken`

* remove unnecessary use of fmt.Sprintf in simapp/simd/cmd/testnet.go

* add changelog

* add  changelog

* remove unrelated changelog

* build(deps): bump github.com/prometheus/common from 0.25.0 to 0.27.0 (#9459)

Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.25.0 to 0.27.0.
- [Release notes](https://github.com/prometheus/common/releases)
- [Commits](https://github.com/prometheus/common/compare/v0.25.0...v0.27.0)

* docs: Fix simulation docs link (#9452)

* Fix simulation docs link

* Fix link

* apply suggestion

Co-authored-by: Ryan Christoffersen <[email protected]>
Co-authored-by: Marko <[email protected]>

* feat: Add amino support for x/authz and x/feegrant (#9457)

* add amino for authz

* Add amion for feegrant

* add cl

* Remove protoCdc from simulations

* Update x/authz/client/testutil/tx.go

Co-authored-by: likhita-809 <[email protected]>

* Address reviews

Co-authored-by: likhita-809 <[email protected]>

* client: update client error handling to use tx hash from tendermint (#9462)

* refactor: add util functions to reuse in simulations (#9456)

* add util functions to reuse in simulations

* keeper interface cleanup, gov migrate

* fix module name

* fix sims

* fix staking tests

* introduce a txContext

* fix feegrant

* take in consideration

* fix names

* fix tests

* add bank keeper where needed

* add bank keeper where needed

* fix: make proto-format (#9470)

* fix: feegrant grant period not resetting (#9450)

* fix grant period reset

* add period reset test

* consolidate condition

Co-authored-by: ryanchrypto <[email protected]>
Co-authored-by: Tyler <[email protected]>
Co-authored-by: Amaury <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>

* build(deps): bump github.com/prometheus/client_golang (#9474)

Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.10.0...v1.11.0)

* build(deps): bump github.com/prometheus/common from 0.27.0 to 0.28.0 (#9473)

Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.27.0 to 0.28.0.
- [Release notes](https://github.com/prometheus/common/releases)
- [Commits](https://github.com/prometheus/common/compare/v0.27.0...v0.28.0)

* build(deps): bump github.com/btcsuite/btcd (#9483)

Bumps [github.com/btcsuite/btcd](https://github.com/btcsuite/btcd) from 0.21.0-beta to 0.22.0-beta.
- [Release notes](https://github.com/btcsuite/btcd/releases)
- [Changelog](https://github.com/btcsuite/btcd/blob/master/CHANGES)
- [Commits](https://github.com/btcsuite/btcd/compare/v0.21.0-beta...v0.22.0-beta)

* docs: update contributing pull request process (#9472)

* docs: update contributing

* docs: update contributing

* docs: update contributing

Co-authored-by: ryanchrypto <[email protected]>

* docs: Fix ADR 030 reference link (#9487)

* test (#9484)

Co-authored-by: Anil Kumar Kammari <[email protected]>
Co-authored-by: Cory <[email protected]>

* refactor(client): add client/Context.Codec and deprecate JSONCodec (#9498)

* chore(types): add sdk.Context.Codec and deprecate JSONCodec

* Use clientContext.Codec rather than JSONCodec everywhere

* update tests to use clientContext.Codec

* added a note that EncodingConfig.Marshaler will be renamed to Codec

* update changelog

* fix tests to use clientCtx.WithCodec instead of WithJSONCodec

* fix genutil build

* Update simapp/params/encoding.go

Co-authored-by: Amaury <[email protected]>

Co-authored-by: Amaury <[email protected]>

* ci: use title+body for commit message (#9496)

Co-authored-by: ryanchrypto <[email protected]>
Co-authored-by: Cory <[email protected]>

* fix: testnet cli command update genesis supply (#9497)

<!--
The default pull request template is for types feat, fix, or refactor.
For other templates, add one of the following parameters to the url:
- template=docs.md
- template=other.md
-->

## Description

closes: #9372

<!-- Add a description of the changes that this PR introduces and the files that
are the most critical to review. -->

### This PR makes the `testnet` command update the bank genesis supply.

When using the `testnet` cli command, it creates nodes and balances, but does **not** update the supply. When using this in conjunction with `add-genesis-account` which **does** update the supply, it creates an invalid genesis file. This PR updates the testnet command to properly set the supply.

* revert: Turn staking power reduction into an on-chain param (#9495)

<!--
The default pull request template is for types feat, fix, or refactor.
For other templates, add one of the following parameters to the url:
- template=docs.md
- template=other.md
-->

## Description

Closes: #9447

This PR partially reverts #8505. Namely:
- it removes PowerReduction as a staking on-chain param
- however, it keeps #8505's API changes regarding adding a `powerReduction` function argument to staking functions. This allows us to rely less on global variables in said functions.

<!-- Add a description of the changes that this PR introduces and the files that
are the most critical to review. -->

* build(deps): bump github.com/prometheus/common from 0.28.0 to 0.29.0 (#9500)

Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.28.0 to 0.29.0.
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/prometheus/common/commit/8281fb2779ab057c7d90fec6b24ce8eb29edcc13"><code>8281fb2</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/prometheus/common/issues/308">#308</a> from austince/feat/with-idle-conn-timeout</li>
<li><a href="https://github.com/prometheus/common/commit/5018d4d329438c8ca3886232bb5ab8577ab96aeb"><code>5018d4d</code></a> Add WithIdleConnTimeout HTTP client option</li>
<li>See full diff in <a href="https://github.com/prometheus/common/compare/v0.28.0...v0.29.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/prometheus/common&package-manager=go_modules&previous-version=0.28.0&new-version=0.29.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

* Remove Docs label from auto-label action (#9517)

* build(deps): bump github.com/rs/zerolog from 1.22.0 to 1.23.0 (#9515)

Bumps [github.com/rs/zerolog](https://github.com/rs/zerolog) from 1.22.0 to 1.23.0.
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/rs/zerolog/commit/117cb53bc66413d9a810ebed32383e53416347e3"><code>117cb53</code></a> Fix copying stack setting in logger's Output method (<a href="https://github-redirect.dependabot.com/rs/zerolog/issues/325">#325</a>)</li>
<li><a href="https://github.com/rs/zerolog/commit/e05605c21503a8e53fd6b24b8e2df82cda8db603"><code>e05605c</code></a> Use github.com/coreos/go-systemd/v22 (<a href="https://github-redirect.dependabot.com/rs/zerolog/issues/322">#322</a>)</li>
<li><a href="https://github.com/rs/zerolog/commit/6ed1127758fabcfdd3c27f2c7b788f2dd9378d84"><code>6ed1127</code></a> Fix panic on disabled event with CallerSkipFrame</li>
<li><a href="https://github.com/rs/zerolog/commit/47a03bc5ebbb4564ffd465aca92051d7261744ea"><code>47a03bc</code></a> Add ability to customize internal json marshaler (<a href="https://github-redirect.dependabot.com/rs/zerolog/issues/318">#318</a>)</li>
<li><a href="https://github.com/rs/zerolog/commit/ffbd37b8d75fc1407f70aab005c35f8e2d9ecd45"><code>ffbd37b</code></a> Add Func log method (<a href="https://github-redirect.dependabot.com/rs/zerolog/issues/321">#321</a>)</li>
<li>See full diff in <a href="https://github.com/rs/zerolog/compare/v1.22.0...v1.23.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/rs/zerolog&package-manager=go_modules&previous-version=1.22.0&new-version=1.23.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

* build(deps): bump codecov/codecov-action from 1.5.0 to 1.5.2 (#9482)

Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 1.5.0 to 1.5.2.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v1.5.0...v1.5.2)

* build(deps): bump github.com/golang/mock from 1.5.0 to 1.6.0 (#9512)

Bumps [github.com/golang/mock](https://github.com/golang/mock) from 1.5.0 to 1.6.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/golang/mock/releases">github.com/golang/mock's releases</a>.</em></p>
<blockquote>
<h2>v1.6.0</h2>
<h2>Changelog</h2>
<p>317c030 Best effort guesses for output package path (<a href="https://github-redirect.dependabot.com/golang/mock/issues/547">#547</a>)
c59ba11 add ARM to support apple M1 chip to releaser (<a href="https://github-redirect.dependabot.com/golang/mock/issues/562">#562</a>)
58935d8 add a basic CONTRIBUTING.md (<a href="https://github-redirect.dependabot.com/golang/mock/issues/535">#535</a>)
a5582fc add docs on 1.16 install and adding to PATH (<a href="https://github-redirect.dependabot.com/golang/mock/issues/534">#534</a>)
0cd3aaf add flags documentation (<a href="https://github-redirect.dependabot.com/golang/mock/issues/539">#539</a>)
64b0b80 add notes and error helper for vendor+reflect error (<a href="https://github-redirect.dependabot.com/golang/mock/issues/567">#567</a>)
e303461 add type information to error messages (<a href="https://github-redirect.dependabot.com/golang/mock/issues/559">#559</a>)
0cdccf5 feat add InAnyOrder matcher (<a href="https://github-redirect.dependabot.com/golang/mock/issues/546">#546</a>)
82ce4a7 feat validate Do &amp; DoReturn args (<a href="https://github-redirect.dependabot.com/golang/mock/issues/558">#558</a>)
93308c3 fix broken badge (<a href="https://github-redirect.dependabot.com/golang/mock/issues/525">#525</a>)
9336b7e fix error message in parse.go (<a href="https://github-redirect.dependabot.com/golang/mock/issues/540">#540</a>)
ab03293 fix ill-formatted message with fmt-verbs like %s (<a href="https://github-redirect.dependabot.com/golang/mock/issues/564">#564</a>)
bb5fd5e fix linter errors (<a href="https://github-redirect.dependabot.com/golang/mock/issues/552">#552</a>)
aba2ff9 fix parse array with the external const correctly (<a href="https://github-redirect.dependabot.com/golang/mock/issues/569">#569</a>)
6ff1070 fix parse arrays with const length correctly (<a href="https://github-redirect.dependabot.com/golang/mock/issues/520">#520</a>)
7f5f64d fixup some docs and templates (<a href="https://github-redirect.dependabot.com/golang/mock/issues/524">#524</a>)
7078515 refactor go:generate lines so they are consistently placed (<a href="https://github-redirect.dependabot.com/golang/mock/issues/527">#527</a>)
7105dde refactor mockgen and cleanup (<a href="https://github-redirect.dependabot.com/golang/mock/issues/536">#536</a>)
f36d14a test(sample/user_test.go): minor correction at t.Errorf (<a href="https://github-redirect.dependabot.com/golang/mock/issues/544">#544</a>)
ef4ad87 update CI for 1.16 (<a href="https://github-redirect.dependabot.com/golang/mock/issues/526">#526</a>)
ad820b0 update Finish docs for Go1.14+ (<a href="https://github-redirect.dependabot.com/golang/mock/issues/556">#556</a>)
2421472 update dependencies (<a href="https://github-redirect.dependabot.com/golang/mock/issues/528">#528</a>)
953a5bb update user mock to be in test package (<a href="https://github-redirect.dependabot.com/golang/mock/issues/566">#566</a>)
d19a212 upgrade dependencies (<a href="https://github-redirect.dependabot.com/golang/mock/issues/557">#557</a>)</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/golang/mock/commit/aba2ff9a6844d5e3289e8472d3217d5b3090f083"><code>aba2ff9</code></a> fix parse array with the external const correctly (<a href="https://github-redirect.dependabot.com/golang/mock/issues/569">#569</a>)</li>
<li><a href="https://github.com/golang/mock/commit/bb196fcb041b9d9383ef9da0dac6b53b8a127642"><code>bb196fc</code></a> fix typo in README (<a href="https://github-redirect.dependabot.com/golang/mock/issues/568">#568</a>)</li>
<li><a href="https://github.com/golang/mock/commit/64b0b80f458052cd8a56d8310258235f2237a214"><code>64b0b80</code></a> add notes and error helper for vendor+reflect error (<a href="https://github-redirect.dependabot.com/golang/mock/issues/567">#567</a>)</li>
<li><a href="https://github.com/golang/mock/commit/953a5bb40e02a50d43d411521679c19a3843765f"><code>953a5bb</code></a> update user mock to be in test package (<a href="https://github-redirect.dependabot.com/golang/mock/issues/566">#566</a>)</li>
<li><a href="https://github.com/golang/mock/commit/c59ba111f47eb7255408acd218b0c12f19377bc6"><code>c59ba11</code></a> add ARM to support apple M1 chip to releaser (<a href="https://github-redirect.dependabot.com/golang/mock/issues/562">#562</a>)</li>
<li><a href="https://github.com/golang/mock/commit/ab032936af9e6e83aff6b6a86e90dec92530ec78"><code>ab03293</code></a> fix ill-formatted message with fmt-verbs like %s (<a href="https://github-redirect.dependabot.com/golang/mock/issues/564">#564</a>)</li>
<li><a href="https://github.com/golang/mock/commit/0cdccf5f55d777b12c1ac5a93f607cdd1dbf5296"><code>0cdccf5</code></a> feat add InAnyOrder matcher (<a href="https://github-redirect.dependabot.com/golang/mock/issues/546">#546</a>)</li>
<li><a href="https://github.com/golang/mock/commit/e3034614db1cb7f651faba8942085fbd81a38580"><code>e303461</code></a> add type information to error messages (<a href="https://github-redirect.dependabot.com/golang/mock/issues/559">#559</a>)</li>
<li><a href="https://github.com/golang/mock/commit/82ce4a77a940bbed5cb83b18dda44488e4640213"><code>82ce4a7</code></a> feat validate Do &amp; DoReturn args (<a href="https://github-redirect.dependabot.com/golang/mock/issues/558">#558</a>)</li>
<li><a href="https://github.com/golang/mock/commit/d19a21299ddc9ba3207d1f1d3d9428ca68be1093"><code>d19a212</code></a> upgrade dependencies (<a href="https://github-redirect.dependabot.com/golang/mock/issues/557">#557</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/golang/mock/compare/v1.5.0...v1.6.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/golang/mock&package-manager=go_modules&previous-version=1.5.0&new-version=1.6.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

* feat: grpc-web add CORS handler (#9493)

<!--
The default pull request template is for types feat, fix, or refactor.
For other templates, add one of the following parameters to the url:
- template=docs.md
- template=other.md
-->

## Description

Closes: #9467

<!-- Add a description of the changes that this PR introduces and the files that
are the most critical to review. -->

* fix: Handle MAX_INT_256 (#9511)

Change maxBitLen of sdk.Int to handle max Erc20 value.

<!--
The default pull request template is for types feat, fix, or refactor.
For other templates, add one of the following parameters to the url:
- template=docs.md
- template=other.md
-->

## Description

Closes: #XXXX

<!-- Add a description of the changes that this PR introduces and the files that
are the most critical to review. -->

* build(deps): bump github.com/armon/go-metrics from 0.3.8 to 0.3.9 (#9518)

Bumps [github.com/armon/go-metrics](https://github.com/armon/go-metrics) from 0.3.8 to 0.3.9.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/armon/go-metrics/releases">github.com/armon/go-metrics's releases</a>.</em></p>
<blockquote>
<h2>v0.3.9</h2>
<p>Adds a new <code>Stream</code> method that provides a streaming HTTP 1.x handler that will return a news set of metrics every interval.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/armon/go-metrics/commit/f792dbc8f4b651df89dc7098fce61ca56a0a2bee"><code>f792dbc</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/armon/go-metrics/issues/125">#125</a> from dnephin/dnephin/stream-metrics</li>
<li><a href="https://github.com/armon/go-metrics/commit/01db6876d8b120509a8d3bafc87bc361b600a94b"><code>01db687</code></a> inmem: reduce the interface to Stream</li>
<li><a href="https://github.com/armon/go-metrics/commit/056fff3a320dba56e38d0f773519dbb137a3a111"><code>056fff3</code></a> inmem: add support for streaming metrics as intervals complete</li>
<li><a href="https://github.com/armon/go-metrics/commit/96c40ac2d920cfbb050ae85f1a8e1e43db14cfab"><code>96c40ac</code></a> inmem: Inline a few functions into getInterval</li>
<li>See full diff in <a href="https://github.com/armon/go-metrics/compare/v0.3.8...v0.3.9">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/armon/go-metrics&package-manager=go_modules&previous-version=0.3.8&new-version=0.3.9)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

* build(deps): bump github.com/spf13/viper from 1.7.1 to 1.8.0 (#9524)

Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.7.1 to 1.8.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/spf13/viper/releases">github.com/spf13/viper's releases</a>.</em></p>
<blockquote>
<h2>v1.8.0</h2>
<p>This is a maintenance release primarily containing fixes and improvements. The most prominent change is the etcd update to <a href="https://github.com/etcd-io/etcd/releases/tag/v3.5.0">3.5.0</a>. Thanks to proper Go modules support, the dependency graph became much smaller.</p>
<p>## Changes</p>
<h3>Added</h3>
<ul>
<li>Allow BindEnv to register multiple environment variables</li>
<li>Support for accessing slices</li>
<li>Experimental WASM support: Viper compiles on WASM</li>
<li>INI load options</li>
</ul>
<h3>Changed</h3>
<ul>
<li>Ensure <code>BindPFlag</code> detects a nil flag parameter</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Merging a key into a nil target</li>
<li>Panics during saving INI files</li>
</ul>
<h3>Security</h3>
<ul>
<li>Updated etcd to 3.5 which should make a lot of false positive vulnerability reports disappear</li>
</ul>
<hr />
<p>In addition to the above changes, this release comes with tons of minor improvements, documentation changes an dependency updates. Find more details in the <a href="https://github.com/spf13/viper/milestone/4?closed=1">1.8.0</a> milestone.</p>
<p><strong>Many thanks to everyone who contributed to this release!</strong></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/spf13/viper/commit/faa8ba0c53e004728577632c8d1eb540e6676369"><code>faa8ba0</code></a> chore: update gotestsum</li>
<li><a href="https://github.com/spf13/viper/commit/65ee98690cc32b2019383929119eb782d71842a5"><code>65ee986</code></a> chore(lint): fix gofumpt</li>
<li><a href="https://github.com/spf13/viper/commit/04ef5fa07d430a580ae736335f9c36e580de974c"><code>04ef5fa</code></a> chore: update golangci-lint</li>
<li><a href="https://github.com/spf13/viper/commit/acd965b54e98b963351818a2afc705135ec32199"><code>acd965b</code></a> Add ini load options argument</li>
<li><a href="https://github.com/spf13/viper/commit/5f4d053c3e42f4ddc95945254b45378f3f950593"><code>5f4d053</code></a> chore(deps): update dependencies</li>
<li><a href="https://github.com/spf13/viper/commit/dd57ae6279084b4fe70bd4b4aa1aaffe6b8fd9eb"><code>dd57ae6</code></a> chore(deps): update etcd</li>
<li><a href="https://github.com/spf13/viper/commit/cdb5e5976f9bb9e9ede7da170187742fc4bd7e9f"><code>cdb5e59</code></a> Fix merging a key into a nil target</li>
<li><a href="https://github.com/spf13/viper/commit/36be6bf91f8c02e8fd53f87205ad230706a3eea9"><code>36be6bf</code></a> feat: make sure Viper compiles on WASM</li>
<li><a href="https://github.com/spf13/viper/commit/727a41c38a24844f5090d1442867b0e7226e22f4"><code>727a41c</code></a> doc: add a note about concurent Get/Set to godoc</li>
<li><a href="https://github.com/spf13/viper/commit/cb41ae0ab887b6544ac9df75c5703f3442f56dc2"><code>cb41ae0</code></a> doc: discuss concurrency in README</li>
<li>Additional commits viewable in <a href="https://github.com/spf13/viper/compare/v1.7.1...v1.8.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/spf13/viper&package-manager=go_modules&previous-version=1.7.1&new-version=1.8.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

* perf: Speedup to params simulation (#9481)

## Description

In Osmosis' simulation, we were observing that a large percent of the time was spent within SimulateParamChangeProposalContent, in particular within the composed key function. This is from a trace of our simulator running for 10 minutes:

<img width="931" alt="Screenshot 2021-06-08 at 2 32 28 PM" src="https://user-images.githubusercontent.com/6440154/121238788-16cdd000-c85e-11eb-8251-94537e69f8ce.png">

~This change lowers the number of calls to ComposedKey() by a factor of 3, and speeds up the underlying ComposedKey function. (sprintf is not particularly efficient for string concatenation, https://dev.to/pmalhaire/concatenate-strings-in-golang-a-quick-benchmark-4ahh ). After these change, the effect of ComposedKey() can no longer be seen in the profiler outputs.~

~This change does not change the result of the simulator on a given seed.~

See https://github.com/cosmos/cosmos-sdk/pull/9481#issuecomment-857119210 for description of changes.

* perf: MsgTypeUrl optimization (#9530)

## Description

Tiny optimization: no need to do string formatting to prefix a string with one character.

* docs: Add docs for setting store loader (#9526)

## Description

Closes: #9503

<!-- Add a description of the changes that this PR introduces and the files that
are the most critical to review. -->

Add documentation for setting StoreLoader as part of in-place store migration.

* fix: duplicate vesting and format (#9535)

<!--
The default pull request template is for types feat, fix, or refactor.
For other templates, add one of the following parameters to the url:
- template=docs.md
- template=other.md
-->

## Description

<!-- Add a description of the changes that this PR introduces and the files that
are the most critical to review. -->

This pull request fixes the duplicate `vesting` command displayed with `--help` for the `tx` command. It also removes line breaks for consistent formatting across all commands and it fixes a minor typo.

## Manual Test

```
make build
```

```
./build/simd tx -h
```

```
./build/simd tx vesting -h
```

* build(deps): tendermint version (#9541)

* bump tendermint version

* go mod tidy

* feat: add cosmos-sdk Version (#9429)

<!-- < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < ☺
v                               ✰  Thanks for creating a PR! ✰
v    Before smashing the submit button please review the checkboxes.
v    If a checkbox is n/a - please still include it but + a little note why
☺ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >  -->

## Description

Add CosmosSDKVersion to nodeInfo.

closes: #9420

* fix: collect all responses from authz/MsgExec (#9538)

## Description

Closes: #9536

### 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
- [ ] 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/master/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/master/docs/building-modules)
- [ ] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/master/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)

* fix: query txs command adds output flag (#9540)

<!--
The default pull request template is for types feat, fix, or refactor.
For other templates, add one of the following parameters to the url:
- template=docs.md
- template=other.md
-->

## Description

* `Query txs` command adds `output` flag, to make it consistent with other query commands.

* Delete unused flag `keyring-backend`.

<!-- Add a description of the changes that this PR introduces and the files that
are the most critical to review. -->

* fix: set header hash every block (#9552)

## Description

- Sets the header hash on every block (ref #9390). Previously was only set during initialization for `deliverState`.
- Closes #9514

<!-- Add a description of the changes that this PR introduces and the files that
are the most critical to review. -->

* docs: use RFC 2119 keywords (#9532)

## Description

Recently when discussing NFT standard we stumbled upon the proper use of keywards such as SHOULD, MAY etc ...
Let's add them to our guidelines.

* chore: Update CHANGELOG with 0.42.5 and 0.42.6 (#9558)

<!--
The default pull request template is for types feat, fix, or refactor.
For other templates, add one of the following parameters to the url:
- template=docs.md
- template=other.md
-->

## Description

0.42.5 and 0.42.6 have both been released. This PR forward-ports the Changelog updates to master.

<!-- Add a description of the changes that this PR introduces and the files that
are the most critical to review. -->

* test(bank): check that zero balances are deleted (#9559)

## Description

Ref: zero balance check for v0.43

* docs: fix cosmovisor readme (#9549)

## Description

<!-- Add a description of the changes that this PR introduces and the files that
are the most critical to review. -->

The pull request fixes the staking amount, adds the auto-restart option, and improves the user flow for the simd example. This pull request also fixes spelling and grammar, updates content for clarity, and applies consistent formatting.

* feat: make authz MsgExec emit events from all executed msgs (#9522)

<!--
The default pull request template is for types feat, fix, or refactor.
For other templates, add one of the following parameters to the url:
- template=docs.md
- template=other.md
-->

## Description

Closes: #9501

<!-- Add a description of the changes that this PR introduces and the files that
are the most critical to review. -->

This PR makes MsgExec emit all events from each executed message. Adds a test to check for the additional events.

* feat: Allow app developers to override default appConfig template (#9550)

<!--
The default pull request template is for types feat, fix, or refactor.
For other templates, add one of the following parameters to the url:
- template=docs.md
- template=other.md
-->

## Description

Closes: #5540

<!-- Add a description of the changes that this PR introduces and the files that
are the most critical to review. -->

* refactor: Bring back deprecated proto fields to `v1beta1` (#9534)

<!--
The default pull request template is for types feat, fix, or refactor.
For other templates, add one of the following parameters to the url:
- template=docs.md
- template=other.md
-->

## Description

Closes: #9446

<!-- Add a description of the changes that this PR introduces and the files that
are the most critical to review. -->

* feat: multisig should accept name, not just address (#9553)

ref: #9407

`--multisig` should accept name, not just an address

* fix(keyring): update keyring for kwallet fix (#9563)

## Description

Closes: #9562

* feat: return trace value from baseapp (#9578)

## Description

Closes: #XXXX

<!-- Add a description of the changes that this PR introduces and the files that
are the most critical to review. -->

* feat: Non-zero Default Fees (#9371)

<!-- < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < ☺
v                               ✰  Thanks for creating a PR! ✰
v    Before smashing the submit button please review the checkboxes.
v    If a checkbox is n/a - please still include it but + a little note why
☺ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >  -->

## Description

<!-- Add a description of the changes that this PR introduces and the files that
are the most critical to review.
-->

closes: #9106

* fix: added key when dry-run is true (#9480)

<!--
The default pull request template is for types feat, fix, or refactor.
For other templates, add one of the following parameters to the url:
- template=docs.md
- template=other.md
-->

## Description

Closes: #9475

<!-- Add a description of the changes that this PR introduces and the files that
are the most critical to review. -->

This pull request ensures a key is not added after running `keys add` with `--dry-run`. This pull request also adds consistent output information for each key (previously multisig and pubkey did not print info).

* fix: Correctly populate legacy Vote.Option field (#9583)

* chore: Create v0.43.0-rc0 section in CHANGELOG (#9572)

* chore: Create v0.43.0-rc0 section in CHANGELOG

* re-org items

* order items

* Reorder items

* Reorder again

* Update CHANGELOG.md

* chore: Add release notes for 0.43.0-rc0 (#9584)

* feat: Error on blank chain-id in multisign command (backport #9593) (#9606)

* feat: Error on blank chain-id in multisign command (#9593)

Error on `tx multisign` command if chain-id is blank. This is a common cause of signature verification failures when combining signatures and the error message doesn't provide any clues to this common cause.

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/master/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/master/docs/building-modules)
- [ ] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/master/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
- [ ] r…
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. C:Simulations C:x/params
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants