Skip to content

Commit

Permalink
chore!: add signing-info migration (cosmos#2886)
Browse files Browse the repository at this point in the history
* chore: merge main into feat/sdk-47-ibc-7 branch (#2625)

* fix: subspace (#2524)

* chore(deps): bump cosmossdk.io/math from 1.0.0 to 1.0.1 (#2513)

Bumps [cosmossdk.io/math](https://github.com/cosmos/cosmos-sdk) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/cosmos/cosmos-sdk/releases)
- [Changelog](https://github.com/cosmos/cosmos-sdk/blob/main/CHANGELOG.md)
- [Commits](https://github.com/cosmos/cosmos-sdk/compare/log/v1.0.0...math/v1.0.1)

---
updated-dependencies:
- dependency-name: cosmossdk.io/math
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* chore(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.3 (#2512)

Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.2 to 1.8.3.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.2...v1.8.3)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* chore(deps): bump codecov/codecov-action from 3.1.2 to 3.1.4 (#2510)

Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.2 to 3.1.4.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v3.1.2...v3.1.4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Milan Mulji <98309852+mmulji-ic@users.noreply.github.com>

* update changelog (#2517)

* chore: update release note generation (#2528)

* Update mergify config with rules for feature branch

* chore: rm extra .mergify rule

---------

Co-authored-by: MSalopek <matija.salopek994@gmail.com>

* chore: fix typo in PR template (#2521)

* deps: bump IBC to v4.4.1 (#2543)

* bump IBC to v4.4.1

* update changelog

* fix: debug upgrade tests in gh actions (#2531)

* Fix upgrade test in gh actions

* update testnet link

* fix links

* docs: update changelog for v9.1.1 (#2546)

* run link checker once per day (#2525)

* run lint only on diff (#2526)

Co-authored-by: Simon Noetzlin <simon.ntz@gmail.com>

* chore: update module to gaia v11 (#2515)

* update module to gaia v11

* update go.mod

* update globalfee.md

* fix: provider keeper

* fix: upgrade test in CI

* revert to ics v1.1.1

* tidy CI upgrade test scripts

* chore: add v10 upgrades

* fix: lint

* fix: version in app.go

* test: improve test

* fix: upgrade test (#2550)

* ci: bump go to latest 1.20.x for vulncheck (#2520)

* bump go to 1.20.4 for vulncheck

* use latest version of go

* run at 3am UTC

* Updated go version

* Revert "Updated go version"

This reverts commit effe7b745ffbbfef9b808b0542ea492a2d287eb4.

---------

Co-authored-by: Yaru Wang <yaru@informal.systems>
Co-authored-by: Milan Mulji <98309852+mmulji-ic@users.noreply.github.com>
Co-authored-by: yaruwangway <69694322+yaruwangway@users.noreply.github.com>

* chore(deps): bump github.com/cosmos/ibc-go/v4 from 4.4.1 to 4.4.2 (#2554)

* chore(deps): bump github.com/cosmos/ibc-go/v4 from 4.4.1 to 4.4.2

Bumps [github.com/cosmos/ibc-go/v4](https://github.com/cosmos/ibc-go) from 4.4.1 to 4.4.2.
- [Release notes](https://github.com/cosmos/ibc-go/releases)
- [Changelog](https://github.com/cosmos/ibc-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/cosmos/ibc-go/compare/v4.4.1...v4.4.2)

---
updated-dependencies:
- dependency-name: github.com/cosmos/ibc-go/v4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* update changelog

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mpoke <marius.poke@posteo.de>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>

* ci: improve codeql (#2523)

* improve codeql

* update release/v* pattern

---------

Co-authored-by: yaruwangway <69694322+yaruwangway@users.noreply.github.com>

* fix!: revert to ICS v1.1.0-multiden (#2559)

* use ICS v1.1.0-multiden

* multisig + distribution fix

* chore(deps): bump JamesIves/github-pages-deploy-action (#2551)

Bumps [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action) from 4.4.0 to 4.4.2.
- [Release notes](https://github.com/JamesIves/github-pages-deploy-action/releases)
- [Commits](https://github.com/JamesIves/github-pages-deploy-action/compare/v4.4.0...v4.4.2)

---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* chore(deps): bump slackapi/slack-github-action from 1.23.0 to 1.24.0 (#2511)

Bumps [slackapi/slack-github-action](https://github.com/slackapi/slack-github-action) from 1.23.0 to 1.24.0.
- [Release notes](https://github.com/slackapi/slack-github-action/releases)
- [Commits](https://github.com/slackapi/slack-github-action/compare/v1.23.0...v1.24.0)

---
updated-dependencies:
- dependency-name: slackapi/slack-github-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* refactor: update comments on globalfee, genutil module init order (#2494)

* docs: update comments on globalfee, genutil module init order

* rename GlobalMinFee GlobalMinFeeParamSource in FeeDecorator

* fix: deadlink

* test: add e2e test for ibc bypass msg (#2532)

* test: setup a new hermes instance

* test: add executeHermesCommand

* test: add hermesTransfer

* test: add ibc-bypass-msg test

* test: add hermes config

* test: enable all e2e test

* fix: tearDownSuite in e2e test

* Apply suggestions from code review

Co-authored-by: Simon Noetzlin <simon.ntz@gmail.com>

* update according to comments

* chore: add comments to code

* chore: correct typo

* refactor bypass msg test

* fix: parse query pending packet result

* fix: format print error

* fix: pending packets parsing

* Apply suggestions from code review

Co-authored-by: Philip Offtermatt <57488781+p-offtermatt@users.noreply.github.com>

* docs: fix dead link

* chore: fix lint

* chore: lint fix

* chore: lint fix1

* chore: remove nolint

* Update tests/e2e/e2e_ibc_test.go

---------

Co-authored-by: Simon Noetzlin <simon.ntz@gmail.com>
Co-authored-by: Philip Offtermatt <57488781+p-offtermatt@users.noreply.github.com>

* docs: Updated atoms amount in governance process (#2566)

* Updated atoms amount in governance process

* Missed some references

* Updated Discord link (#2567)

* chore: add goreleaser, cleanup release process (#2549)

* chore: add goreleaser, cleanup release process

* chore: update RELEASING.md

* chore: add RELEASE_NOTES.md; add make create-release

* chore: rm old release file

* update release process

* fix: apply review comments

* chore: update RELEASE_PROCESS.md with PR comments

* chore: add install step for goreleaser dry-run

---------

Co-authored-by: mpoke <marius.poke@posteo.de>

* test: parsing result of query hermes pending packets (#2571)

* fix: e2e test

* fix: parsing hermes pending packet query result

* fix: rename response RelayerPacketsOutput

* chore: update workflow re. issues and PRs (#2573)

* update PR workflow

* update issue workflow

* docs: Increase the validator set of cosmos hub to 180 from 175 (#2572)

* Updated references 175 validators

* Updated some missing references

* chore(deps): bump docker/login-action from 2.1.0 to 2.2.0 (#2576)

Bumps [docker/login-action](https://github.com/docker/login-action) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v2.1.0...v2.2.0)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* chore(deps): bump docker/metadata-action from 4.4.0 to 4.5.0 (#2577)

Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Commits](https://github.com/docker/metadata-action/compare/v4.4.0...v4.5.0)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* chore(deps): bump docker/build-push-action from 4.0.0 to 4.1.0 (#2578)

Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v4.0.0...v4.1.0)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* chore(deps): bump github.com/spf13/viper from 1.15.0 to 1.16.0 (#2563)

Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/spf13/viper/releases)
- [Commits](https://github.com/spf13/viper/compare/v1.15.0...v1.16.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/viper
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Milan Mulji <98309852+mmulji-ic@users.noreply.github.com>

* chore(deps): bump github.com/stretchr/testify from 1.8.3 to 1.8.4 (#2564)

Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.3 to 1.8.4.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.3...v1.8.4)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Milan Mulji <98309852+mmulji-ic@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>

* chore: update version for mergify and dependabot (#2582)

* update mergify

* update dependabot

* Update CONTRIBUTING.md (#2580)

* docs: Updates for v9.1.1 and re-arranging roadmap docs (#2560)

* Updates for v9.1.1 and re-arranging roadmap docs

* Updated SDK release for Lambda as being an ICS variant

* Added living roadmap link to google docs

* Updated changelog

* bump ICS to v2.0.0-rc2 (#2589)

* refactor: errors module (#2471)

* use the errors module to ease 47 transition

* golangci-lint run ./... --fix

---------

Co-authored-by: Marius Poke <marius.poke@posteo.de>

* go mod tidy (#2592)

* Feat : Removed SDK general error types (#2496)

* Feat : Removed SDK general error types

* Changed  unnecessary wrapf to wrap

* made some required changes

* changed version 10 to 11

* ran go mod tidy

---------

Co-authored-by: Marius Poke <marius.poke@posteo.de>

* ci: migrate code quality tooling from Codecov to Sonar Cloud  (#2598)

* remove codecov and add sonarcloud

* remove /tools folder

* add sonarcloud properties

* update README.md

* docs: Updating the quickstart, joining mainnet & upgrade docs for v10 (#2599)

* Updating the quickstart, joining & upgrade docs

* Updated the changelog

* Updated halt-heights

* Updated the banner for the upgrade, on the initial page

* Updates for pr comments

* Added upgrade doc

* Updated incorrect version number

* Apply suggestions from code review

Co-authored-by: Dante Sanchez <dante.a.sanchez@gmail.com>

---------

Co-authored-by: Dante Sanchez <dante.a.sanchez@gmail.com>

* Update README.md (#2602)

* fix broken link (#2585)

* docs: update globalfee.md according to the `bypass-msg-types` migration (#2463)

* update globalfee.md according to the bypass-msg-types migration

* update test cases in globalfee.md

* update test cases

* improve the docs: globalfee.md

* docs: formatting

* docs: update globalfee.md

* Apply suggestions from code review

Co-authored-by: Simon Noetzlin <simon.ntz@gmail.com>

* docs: update globalfee.md

* docs: improve globalfee.md

* Update docs/modules/globalfee.md

Co-authored-by: Simon Noetzlin <simon.ntz@gmail.com>

* Apply suggestions from code review

Co-authored-by: Simon Noetzlin <simon.ntz@gmail.com>

* docs: update globalfee.md according to comments

* docs: tidy globalfee or global fees

* docs: update globalfee.md

* docs: update globalfee.md

* docs: update docs

---------

Co-authored-by: Simon Noetzlin <simon.ntz@gmail.com>

* chore(deps): bump docker/build-push-action from 4.1.0 to 4.1.1 (#2609)

Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* chore(deps): bump docker/metadata-action from 4.5.0 to 4.6.0 (#2610)

Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Commits](https://github.com/docker/metadata-action/compare/v4.5.0...v4.6.0)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* chore: update meaning of type-prefix! in production PRs (#2597)

* update meaning of type-prefix! in PRs

* apply review suggestions

* Update test.yml (#2615)

* chore(deps): bump github.com/cosmos/interchain-security/v2 (#2612)

Bumps [github.com/cosmos/interchain-security/v2](https://github.com/cosmos/interchain-security) from 2.0.0-rc2 to 2.0.0-rc3.
- [Release notes](https://github.com/cosmos/interchain-security/releases)
- [Changelog](https://github.com/cosmos/interchain-security/blob/main/CHANGELOG.md)
- [Commits](https://github.com/cosmos/interchain-security/compare/v2.0.0-rc2...v2.0.0-rc3)

---
updated-dependencies:
- dependency-name: github.com/cosmos/interchain-security/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* docs: Update docs for Comet BFT (#2493)

* initial pass-thru replace of tendermint for cometbft

* Updated comet links

* Updated vuepress-theme package

* Updated based on comments

* Update docs/zh/validators/security.md

Co-authored-by: yaruwangway <69694322+yaruwangway@users.noreply.github.com>

* Updated CometBFT reference

* Updated CometBFT references

---------

Co-authored-by: yaruwangway <69694322+yaruwangway@users.noreply.github.com>

* chore: Update CODEOWNERS (#2614)

* Update CODEOWNERS

* update codeowners

* Updated release notes with v10.0.1 (#2618)

* chore: start using unclog (#2605)

* add unrelease changelog entries to .changelog

* run unclog build -a

* rename changelog categories

* add tests as a component

* update workflow doc

* docs: update changelog for unreleased (#2584)

* docs: update changelog for v11

* unclog build

---------

Co-authored-by: mpoke <marius.poke@posteo.de>

* deps: bump comet to v0.34.29 (#2594)

* bump comet to v0.34.29

* update changelog

* add entry to .changelog

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: yaruwangway <69694322+yaruwangway@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Milan Mulji <98309852+mmulji-ic@users.noreply.github.com>
Co-authored-by: Marius Poke <marius.poke@posteo.de>
Co-authored-by: lg <8335464+glnro@users.noreply.github.com>
Co-authored-by: MSalopek <matija.salopek994@gmail.com>
Co-authored-by: Yaru Wang <yaru@informal.systems>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Philip Offtermatt <57488781+p-offtermatt@users.noreply.github.com>
Co-authored-by: Jacob Gadikian <jacobgadikian@gmail.com>
Co-authored-by: ruthishvitwit <122080147+ruthishvitwit@users.noreply.github.com>
Co-authored-by: Dante Sanchez <dante.a.sanchez@gmail.com>

* feat!: SDK v0.47 & IBC v7 Base (#2541)

* SDK & IBC Base

Signed-off-by: lg <lauren@informal.systems>

* revert GaiaApp AnteHandler, InitChainer, BeginBlock, EndBlocker setters and fix linter

* fix linter: 2nd attempt

* fix sims test

* Update app/params/proto.go

* deps: bump IBC to v4.4.1 (#2543)

* bump IBC to v4.4.1

* update changelog

* fix: debug upgrade tests in gh actions (#2531)

* Fix upgrade test in gh actions

* update testnet link

* fix links

* docs: update changelog for v9.1.1 (#2546)

* run link checker once per day (#2525)

* run lint only on diff (#2526)

Co-authored-by: Simon Noetzlin <simon.ntz@gmail.com>

* chore: update module to gaia v11 (#2515)

* update module to gaia v11

* update go.mod

* update globalfee.md

* fix: provider keeper

* fix: upgrade test in CI

* revert to ics v1.1.1

* tidy CI upgrade test scripts

* chore: add v10 upgrades

* fix: lint

* fix: version in app.go

* test: improve test

* fix: upgrade test (#2550)

* ci: bump go to latest 1.20.x for vulncheck (#2520)

* bump go to 1.20.4 for vulncheck

* use latest version of go

* run at 3am UTC

* Updated go version

* Revert "Updated go version"

This reverts commit effe7b745ffbbfef9b808b0542ea492a2d287eb4.

---------

Co-authored-by: Yaru Wang <yaru@informal.systems>
Co-authored-by: Milan Mulji <98309852+mmulji-ic@users.noreply.github.com>
Co-authored-by: yaruwangway <69694322+yaruwangway@users.noreply.github.com>

* chore(deps): bump github.com/cosmos/ibc-go/v4 from 4.4.1 to 4.4.2 (#2554)

* chore(deps): bump github.com/cosmos/ibc-go/v4 from 4.4.1 to 4.4.2

Bumps [github.com/cosmos/ibc-go/v4](https://github.com/cosmos/ibc-go) from 4.4.1 to 4.4.2.
- [Release notes](https://github.com/cosmos/ibc-go/releases)
- [Changelog](https://github.com/cosmos/ibc-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/cosmos/ibc-go/compare/v4.4.1...v4.4.2)

---
updated-dependencies:
- dependency-name: github.com/cosmos/ibc-go/v4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* update changelog

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mpoke <marius.poke@posteo.de>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>

* ci: improve codeql (#2523)

* improve codeql

* update release/v* pattern

---------

Co-authored-by: yaruwangway <69694322+yaruwangway@users.noreply.github.com>

* fix!: revert to ICS v1.1.0-multiden (#2559)

* use ICS v1.1.0-multiden

* multisig + distribution fix

* chore(deps): bump JamesIves/github-pages-deploy-action (#2551)

Bumps [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action) from 4.4.0 to 4.4.2.
- [Release notes](https://github.com/JamesIves/github-pages-deploy-action/releases)
- [Commits](https://github.com/JamesIves/github-pages-deploy-action/compare/v4.4.0...v4.4.2)

---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* chore(deps): bump slackapi/slack-github-action from 1.23.0 to 1.24.0 (#2511)

Bumps [slackapi/slack-github-action](https://github.com/slackapi/slack-github-action) from 1.23.0 to 1.24.0.
- [Release notes](https://github.com/slackapi/slack-github-action/releases)
- [Commits](https://github.com/slackapi/slack-github-action/compare/v1.23.0...v1.24.0)

---
updated-dependencies:
- dependency-name: slackapi/slack-github-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* refactor: update comments on globalfee, genutil module init order (#2494)

* docs: update comments on globalfee, genutil module init order

* rename GlobalMinFee GlobalMinFeeParamSource in FeeDecorator

* fix: deadlink

* test: add e2e test for ibc bypass msg (#2532)

* test: setup a new hermes instance

* test: add executeHermesCommand

* test: add hermesTransfer

* test: add ibc-bypass-msg test

* test: add hermes config

* test: enable all e2e test

* fix: tearDownSuite in e2e test

* Apply suggestions from code review

Co-authored-by: Simon Noetzlin <simon.ntz@gmail.com>

* update according to comments

* chore: add comments to code

* chore: correct typo

* refactor bypass msg test

* fix: parse query pending packet result

* fix: format print error

* fix: pending packets parsing

* Apply suggestions from code review

Co-authored-by: Philip Offtermatt <57488781+p-offtermatt@users.noreply.github.com>

* docs: fix dead link

* chore: fix lint

* chore: lint fix

* chore: lint fix1

* chore: remove nolint

* Update tests/e2e/e2e_ibc_test.go

---------

Co-authored-by: Simon Noetzlin <simon.ntz@gmail.com>
Co-authored-by: Philip Offtermatt <57488781+p-offtermatt@users.noreply.github.com>

* docs: Updated atoms amount in governance process (#2566)

* Updated atoms amount in governance process

* Missed some references

* Updated Discord link (#2567)

* chore: add goreleaser, cleanup release process (#2549)

* chore: add goreleaser, cleanup release process

* chore: update RELEASING.md

* chore: add RELEASE_NOTES.md; add make create-release

* chore: rm old release file

* update release process

* fix: apply review comments

* chore: update RELEASE_PROCESS.md with PR comments

* chore: add install step for goreleaser dry-run

---------

Co-authored-by: mpoke <marius.poke@posteo.de>

* test: parsing result of query hermes pending packets (#2571)

* fix: e2e test

* fix: parsing hermes pending packet query result

* fix: rename response RelayerPacketsOutput

* chore: update workflow re. issues and PRs (#2573)

* update PR workflow

* update issue workflow

* docs: Increase the validator set of cosmos hub to 180 from 175 (#2572)

* Updated references 175 validators

* Updated some missing references

* chore(deps): bump docker/login-action from 2.1.0 to 2.2.0 (#2576)

Bumps [docker/login-action](https://github.com/docker/login-action) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v2.1.0...v2.2.0)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* chore(deps): bump docker/metadata-action from 4.4.0 to 4.5.0 (#2577)

Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Commits](https://github.com/docker/metadata-action/compare/v4.4.0...v4.5.0)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* chore(deps): bump docker/build-push-action from 4.0.0 to 4.1.0 (#2578)

Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v4.0.0...v4.1.0)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* chore(deps): bump github.com/spf13/viper from 1.15.0 to 1.16.0 (#2563)

Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/spf13/viper/releases)
- [Commits](https://github.com/spf13/viper/compare/v1.15.0...v1.16.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/viper
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Milan Mulji <98309852+mmulji-ic@users.noreply.github.com>

* chore(deps): bump github.com/stretchr/testify from 1.8.3 to 1.8.4 (#2564)

Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.3 to 1.8.4.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.3...v1.8.4)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Milan Mulji <98309852+mmulji-ic@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>

* chore: update version for mergify and dependabot (#2582)

* update mergify

* update dependabot

* Update CONTRIBUTING.md (#2580)

* docs: Updates for v9.1.1 and re-arranging roadmap docs (#2560)

* Updates for v9.1.1 and re-arranging roadmap docs

* Updated SDK release for Lambda as being an ICS variant

* Added living roadmap link to google docs

* Updated changelog

* bump ICS to v2.0.0-rc2 (#2589)

* refactor: errors module (#2471)

* use the errors module to ease 47 transition

* golangci-lint run ./... --fix

---------

Co-authored-by: Marius Poke <marius.poke@posteo.de>

* go mod tidy (#2592)

* Feat : Removed SDK general error types (#2496)

* Feat : Removed SDK general error types

* Changed  unnecessary wrapf to wrap

* made some required changes

* changed version 10 to 11

* ran go mod tidy

---------

Co-authored-by: Marius Poke <marius.poke@posteo.de>

* ci: migrate code quality tooling from Codecov to Sonar Cloud  (#2598)

* remove codecov and add sonarcloud

* remove /tools folder

* add sonarcloud properties

* update README.md

* docs: Updating the quickstart, joining mainnet & upgrade docs for v10 (#2599)

* Updating the quickstart, joining & upgrade docs

* Updated the changelog

* Updated halt-heights

* Updated the banner for the upgrade, on the initial page

* Updates for pr comments

* Added upgrade doc

* Updated incorrect version number

* Apply suggestions from code review

Co-authored-by: Dante Sanchez <dante.a.sanchez@gmail.com>

---------

Co-authored-by: Dante Sanchez <dante.a.sanchez@gmail.com>

* Update README.md (#2602)

* fix broken link (#2585)

* docs: update globalfee.md according to the `bypass-msg-types` migration (#2463)

* update globalfee.md according to the bypass-msg-types migration

* update test cases in globalfee.md

* update test cases

* improve the docs: globalfee.md

* docs: formatting

* docs: update globalfee.md

* Apply suggestions from code review

Co-authored-by: Simon Noetzlin <simon.ntz@gmail.com>

* docs: update globalfee.md

* docs: improve globalfee.md

* Update docs/modules/globalfee.md

Co-authored-by: Simon Noetzlin <simon.ntz@gmail.com>

* Apply suggestions from code review

Co-authored-by: Simon Noetzlin <simon.ntz@gmail.com>

* docs: update globalfee.md according to comments

* docs: tidy globalfee or global fees

* docs: update globalfee.md

* docs: update globalfee.md

* docs: update docs

---------

Co-authored-by: Simon Noetzlin <simon.ntz@gmail.com>

* chore(deps): bump docker/build-push-action from 4.1.0 to 4.1.1 (#2609)

Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* chore(deps): bump docker/metadata-action from 4.5.0 to 4.6.0 (#2610)

Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Commits](https://github.com/docker/metadata-action/compare/v4.5.0...v4.6.0)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* chore: update meaning of type-prefix! in production PRs (#2597)

* update meaning of type-prefix! in PRs

* apply review suggestions

* Update test.yml (#2615)

* chore(deps): bump github.com/cosmos/interchain-security/v2 (#2612)

Bumps [github.com/cosmos/interchain-security/v2](https://github.com/cosmos/interchain-security) from 2.0.0-rc2 to 2.0.0-rc3.
- [Release notes](https://github.com/cosmos/interchain-security/releases)
- [Changelog](https://github.com/cosmos/interchain-security/blob/main/CHANGELOG.md)
- [Commits](https://github.com/cosmos/interchain-security/compare/v2.0.0-rc2...v2.0.0-rc3)

---
updated-dependencies:
- dependency-name: github.com/cosmos/interchain-security/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* docs: Update docs for Comet BFT (#2493)

* initial pass-thru replace of tendermint for cometbft

* Updated comet links

* Updated vuepress-theme package

* Updated based on comments

* Update docs/zh/validators/security.md

Co-authored-by: yaruwangway <69694322+yaruwangway@users.noreply.github.com>

* Updated CometBFT reference

* Updated CometBFT references

---------

Co-authored-by: yaruwangway <69694322+yaruwangway@users.noreply.github.com>

* chore: Update CODEOWNERS (#2614)

* Update CODEOWNERS

* update codeowners

* Updated release notes with v10.0.1 (#2618)

* chore: start using unclog (#2605)

* add unrelease changelog entries to .changelog

* run unclog build -a

* rename changelog categories

* add tests as a component

* update workflow doc

* docs: update changelog for unreleased (#2584)

* docs: update changelog for v11

* unclog build

---------

Co-authored-by: mpoke <marius.poke@posteo.de>

* deps: bump comet to v0.34.29 (#2594)

* bump comet to v0.34.29

* update changelog

* add entry to .changelog

* bump upgrades v7 and v8 to ibc-v7

* bump ics to v3

* fix go tidy

* docs: Update docs for Comet BFT (#2493)

* initial pass-thru replace of tendermint for cometbft

* Updated comet links

* Updated vuepress-theme package

* Updated based on comments

* Update docs/zh/validators/security.md

Co-authored-by: yaruwangway <69694322+yaruwangway@users.noreply.github.com>

* Updated CometBFT reference

* Updated CometBFT references

---------

Co-authored-by: yaruwangway <69694322+yaruwangway@users.noreply.github.com>

* docs: update changelog for unreleased (#2584)

* docs: update changelog for v11

* unclog build

---------

Co-authored-by: mpoke <marius.poke@posteo.de>

---------

Signed-off-by: lg <lauren@informal.systems>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Simon Noetzlin <simon.ntz@gmail.com>
Co-authored-by: Marius Poke <marius.poke@posteo.de>
Co-authored-by: yaruwangway <69694322+yaruwangway@users.noreply.github.com>
Co-authored-by: Yaru Wang <yaru@informal.systems>
Co-authored-by: Milan Mulji <98309852+mmulji-ic@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Philip Offtermatt <57488781+p-offtermatt@users.noreply.github.com>
Co-authored-by: MSalopek <matija.salopek994@gmail.com>
Co-authored-by: Jacob Gadikian <jacobgadikian@gmail.com>
Co-authored-by: ruthishvitwit <122080147+ruthishvitwit@users.noreply.github.com>
Co-authored-by: Dante Sanchez <dante.a.sanchez@gmail.com>

* feat: refactor base E2E tests (#2587)

* Squash multiple commits for E2E tests after history was broken
* Upgrade all e2e tests except global fee and ICS
* Add back go.mod replace ` github.com/syndtr/goleveldb => github.com/syndtr/goleveldb  v1.0.1-0.20210819022825-2ae1ddf74ef7`
* Upgrade hermes version for e2e tests
* Change docker image for e2e tets to be able to attach shell for debugging
* Bump ICS to v3rc0 to work with SDK47 n IBC7

* clean dockerfiles

* revert changes in Dockerfile

* linter fix

* feat: refactor global fee module for SDK v47 (#2660)

* save

* upgrade GlobalFee module w UTs

* make pass BypassFee e2e with sdk FeeChecker Tx priority

* full e2e pass wo bypass msg hermes

* pass bypass fee e2e tests

* update Hermes Dockerfile

* build Hermes image in CI

* fix Hermes Builder

* fix Hermes Builder

* test local min gas prices REST query

* fix linter and typos

* add FeeCheck ante handler comment

---------

Co-authored-by: yaruwangway <69694322+yaruwangway@users.noreply.github.com>

* deps: bump ics to v3.1; chore: update e2e (#2663)

* deps: bump ics to v3.1; chore: update e2e

* fix: update hermes.Dockerfile

* chore: refactor remaining E2E tests for SDK v47 (#2744)

* add bank multi-send api test

* add cancel-unbond ET

* nits

* nits

* nits

* reformat

* fix

* reformat

* lint

* remove simapp from genesis test

* nit

* deps: bump go version to 1.21

* tests: update hermes images and setup (#2841)

* tests: update hermes images and setup

* fix makefile hermes build

* scripts: update hermes bootstrap scripts

* deps: use lsm cosmos-sdk fork and ics 3.3.0-rc0-lsm (#2842)

* tests: update hermes images and setup

* fix makefile hermes build

* deps: use lsm cosmos-sdk fork and ics 3.3.0-rc0-lsm

* deps: post rebase go mod tidy

* update hermes scripts

* chore!: merge main into feat/sdk-47-ibc7 (#2851)

* Removed outdated ICS docs (#2634)

* feat: add query local min-gas-price (#2627)

* feat: add query local min-gas-price

* docs: add changelog

* test: add test for query local min-gas-prices

* test: add test for local min-gas-price query

* fix: test query min-gas-price

* bring v10.0.2 changelog to main (#2648)

* add missing changelog for PFM bump

* fix typo in PFM changelog

* Merge pull request from GHSA-354m-4qv6-x846

* refactor: use gci linter to sort imports (#2608)

* use the gci linter to sort imports

* enable custom ordering in gci

* chore: remove depguard and bump golangci-lint (#2596)

* remove depguard from gaia, bump golangci-lint

* use the actual latest version of golangci-lint

* update state sync script to use sg1 cached endpoint

* use 1.53.3

* revert changes to statesync script

* fix: use the latest release of hermes for e2e (#2644)

* use the latest release of hermes for e2e

* make hermes.Dockerfile work in multiplatform environments.

* deps!: bump liquidity to v1.6.0-forced-withdrawal (#2652)

* bump liquidity to v1.6.0-forced-withdrawal

* add entries to .changelog

* fix filenames to contain PR number

* add changelog entry for gov bug fix (#2653)

* upgrade release testnet to v11 (#2665)

* docs: refactor gaia ADRs (#2628)

* refactor gaia ADRs

* apply review suggestions

* add  mermaid graph

* add ADR-001 back as rejected

* fix typo

* mergify and dependabot for v11 (#2654)

* fix: fix tag sorting in goreleaser (#2666)

* chore: update Cosmos Hub Upgrade Epic (#2661)

* update upgrade checklist

* Update .github/ISSUE_TEMPLATE/upgrade-checklist.md

Co-authored-by: Dante Sanchez <dante.a.sanchez@gmail.com>

---------

Co-authored-by: Dante Sanchez <dante.a.sanchez@gmail.com>

* fix: add "v" prefix to release binary version (#2671)

* feat: update module name to v12 (#2672)

* bump to v12

* feat: add upgrade handler for v12

* feat: add upgrade test for v12 (#2678)

* test: fix upgrade test (#2680)

* fix: upgrade test

* chore: write to log file

* fix: update upgrade handler to v12 (#2681)

* docs: global fee adr (#2603)

* docs: add adr template

* tmp

* docs: add globalfee ADR

* docs: update globalfee adr

* docs: minor change of globalfee adr

* Apply suggestions from code review

Co-authored-by: Simon Noetzlin <simon.ntz@gmail.com>

* Apply suggestions from code review

Co-authored-by: Simon Noetzlin <simon.ntz@gmail.com>

* docs: update according to comment

* docs: formatting

* docs: add fee check details

* renaming as ADR 002

* Apply suggestions from code review

Co-authored-by: Marius Poke <marius.poke@posteo.de>

* chore: cosmos-sdk -> Cosmos SDK

* chore: typo correction

* docs: restructure

* docs: add BypassMinFeeMsgTypes intro

* docs: clean

* docs

* docs update

* docs formatting

* docs: add defination of CombinedFeeRequirement

* feat: update chart

* Update docs/architecture/adr-002-globalfee.md

Co-authored-by: Simon Noetzlin <simon.ntz@gmail.com>

* Update docs/architecture/adr-002-globalfee.md

Co-authored-by: Simon Noetzlin <simon.ntz@gmail.com>

---------

Co-authored-by: Simon Noetzlin <simon.ntz@gmail.com>
Co-authored-by: mpoke <marius.poke@posteo.de>

* Fix pointer to store upgrades inside loop (#2675)

Co-authored-by: MSalopek <matija.salopek994@gmail.com>

* docs: bring v11.0.0 changelog to main (#2676)

* bring v11.0.0 changelog to main

* rename 10.0.2 to v10.0.2

* remove duplicates from unreleased

* unclog build

* chore(deps): bump JamesIves/github-pages-deploy-action from 4.4.2 to 4.4.3 (#2651)

Bumps [JamesIves/github-pages-deploy-action](https://github.com/jamesives/github-pages-deploy-action) from 4.4.2 to 4.4.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/jamesives/github-pages-deploy-action/releases">JamesIves/github-pages-deploy-action's releases</a>.</em></p>
<blockquote>
<h2>v4.4.3</h2>
<h2>What's Changed</h2>
<ul>
<li>Bump <code>@​types/node</code> from 18.8.0 to 18.8.4 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/JamesIves/github-pages-deploy-action/pull/1239">JamesIves/github-pages-deploy-action#1239</a></li>
<li>Bump webfactory/ssh-agent from 0.5.4 to 0.7.0 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/JamesIves/github-pages-deploy-action/pull/1252">JamesIves/github-pages-deploy-action#1252</a></li>
<li>Bump <code>@​types/node</code> from 18.8.4 to 18.11.9 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/JamesIves/github-pages-deploy-action/pull/1262">JamesIves/github-pages-deploy-action#1262</a></li>
<li>Bump eslint-plugin-jest from 27.0.4 to 27.1.5 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/JamesIves/github-pages-deploy-action/pull/1268">JamesIves/github-pages-deploy-action#1268</a></li>
<li>Bump <code>@​types/node</code> from 18.11.9 to 18.11.10 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/JamesIves/github-pages-deploy-action/pull/1276">JamesIves/github-pages-deploy-action#1276</a></li>
<li>Bump <code>@​types/node</code> from 18.11.10 to 18.11.13 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/JamesIves/github-pages-deploy-action/pull/1283">JamesIves/github-pages-deploy-action#1283</a></li>
<li>Bump eslint-config-prettier from 8.5.0 to 8.6.0 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/JamesIves/github-pages-deploy-action/pull/1293">JamesIves/github-pages-deploy-action#1293</a></li>
<li>Bump json5 from 2.1.1 to 2.2.3 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/JamesIves/github-pages-deploy-action/pull/1294">JamesIves/github-pages-deploy-action#1294</a></li>
<li>Bump minimatch from 3.0.4 to 3.1.2 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/JamesIves/github-pages-deploy-action/pull/1270">JamesIves/github-pages-deploy-action#1270</a></li>
<li>Bump decode-uri-component from 0.2.0 to 0.2.2 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/JamesIves/github-pages-deploy-action/pull/1277">JamesIves/github-pages-deploy-action#1277</a></li>
<li>Bump typescript from 4.8.4 to 4.9.4 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/JamesIves/github-pages-deploy-action/pull/1281">JamesIves/github-pages-deploy-action#1281</a></li>
<li>Bump eslint-plugin-jest from 27.1.5 to 27.2.1 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/JamesIves/github-pages-deploy-action/pull/1296">JamesIves/github-pages-deploy-action#1296</a></li>
<li>Bump rimraf from 3.0.2 to 4.1.2 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/JamesIves/github-pages-deploy-action/pull/1307">JamesIves/github-pages-deploy-action#1307</a></li>
<li>Bump typescript from 4.9.4 to 4.9.5 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/JamesIves/github-pages-deploy-action/pull/1311">JamesIves/github-pages-deploy-action#1311</a></li>
<li>Bump codecov/codecov-action from 3.1.1 to 3.1.2 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/JamesIves/github-pages-deploy-action/pull/1353">JamesIves/github-pages-deploy-action#1353</a></li>
<li>Bump <code>@​types/node</code> from 18.11.13 to 18.16.3 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/JamesIves/github-pages-deploy-action/pull/1361">JamesIves/github-pages-deploy-action#1361</a></li>
<li>Bump codecov/codecov-action from 3.1.2 to 3.1.4 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/JamesIves/github-pages-deploy-action/pull/1372">JamesIves/github-pages-deploy-action#1372</a></li>
<li>Bump <code>@​actions/io</code> from 1.1.2 to 1.1.3 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/JamesIves/github-pages-deploy-action/pull/1339">JamesIves/github-pages-deploy-action#1339</a></li>
<li>Bump prettier from 2.7.1 to 2.8.8 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/JamesIves/github-pages-deploy-action/pull/1357">JamesIves/github-pages-deploy-action#1357</a></li>
<li>Bump <code>@​types/node</code> from 18.16.3 to 20.2.3 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/JamesIves/github-pages-deploy-action/pull/1380">JamesIves/github-pages-deploy-action#1380</a></li>
<li>Bump webfactory/ssh-agent from 0.7.0 to 0.8.0 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/JamesIves/github-pages-deploy-action/pull/1348">JamesIves/github-pages-deploy-action#1348</a></li>
<li>Bump eslint-config-prettier from 8.6.0 to 8.8.0 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/JamesIves/github-pages-deploy-action/pull/1342">JamesIves/github-pages-deploy-action#1342</a></li>
<li>Bump <code>@​types/node</code> from 20.2.3 to 20.2.4 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/JamesIves/github-pages-deploy-action/pull/1381">JamesIves/github-pages-deploy-action#1381</a></li>
<li>Bump <code>@​types/node</code> from 20.2.4 to 20.2.5 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/JamesIves/github-pages-deploy-action/pull/1383">JamesIves/github-pages-deploy-action#1383</a></li>
<li>Bump <code>@​types/node</code> from 20.2.5 to 20.3.1 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/JamesIves/github-pages-deploy-action/pull/1385">JamesIves/github-pages-deploy-action#1385</a></li>
<li>Bump eslint-plugin-jest from 27.2.1 to 27.2.2 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/JamesIves/github-pages-deploy-action/pull/1386">JamesIves/github-pages-deploy-action#1386</a></li>
<li>Bump <code>@​types/node</code> from 20.3.1 to 20.3.2 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/JamesIves/github-pages-deploy-action/pull/1387">JamesIves/github-pages-deploy-action#1387</a></li>
<li>Bump <code>@​types/node</code> from 20.3.2 to 20.3.3 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/JamesIves/github-pages-deploy-action/pull/1389">JamesIves/github-pages-deploy-action#1389</a></li>
<li>Bump semver from 5.7.1 to 5.7.2 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/JamesIves/github-pages-deploy-action/pull/1396">JamesIves/github-pages-deploy-action#1396</a></li>
<li>Bump tough-cookie from 4.0.0 to 4.1.3 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/JamesIves/github-pages-deploy-action/pull/1394">JamesIves/github-pages-deploy-action#1394</a></li>
<li>Bump <code>@​types/node</code> from 20.3.3 to 20.4.1 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/JamesIves/github-pages-deploy-action/pull/1395">JamesIves/github-pages-deploy-action#1395</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/JamesIves/github-pages-deploy-action/compare/v4...v4.4.3">https://github.com/JamesIves/github-pages-deploy-action/compare/v4...v4.4.3</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/JamesIves/github-pages-deploy-action/commit/a1ea191d508feb8485aceba848389d49f80ca2dc"><code>a1ea191</code></a> Deploy Production Code for Commit a8bd9aef1855024c235ad911985c97e153ddc9c4 🚀</li>
<li><a href="https://github.com/JamesIves/github-pages-deploy-action/commit/a8bd9aef1855024c235ad911985c97e153ddc9c4"><code>a8bd9ae</code></a> Merge branch 'dev' into releases/v4</li>
<li><a href="https://github.com/JamesIves/github-pages-deploy-action/commit/7e13873dee76cdcb5d247f8c10ab5871c0b2418a"><code>7e13873</code></a> Bump <code>@​types/node</code> from 20.3.3 to 20.4.1 (<a href="https://redirect.github.com/jamesives/github-pages-deploy-action/issues/1395">#1395</a>)</li>
<li><a href="https://github.com/JamesIves/github-pages-deploy-action/commit/da986918281e44cc68ab44229f63d49f2f13b389"><code>da98691</code></a> Bump tough-cookie from 4.0.0 to 4.1.3 (<a href="https://redirect.github.com/jamesives/github-pages-deploy-action/issues/1394">#1394</a>)</li>
<li><a href="https://github.com/JamesIves/github-pages-deploy-action/commit/4a6bcf161550cade762c80e51159b5a8d20b7920"><code>4a6bcf1</code></a> Bump semver from 5.7.1 to 5.7.2 (<a href="https://redirect.github.com/jamesives/github-pages-deploy-action/issues/1396">#1396</a>)</li>
<li><a href="https://github.com/JamesIves/github-pages-deploy-action/commit/426d422c1c72978c4c926ef8dcf600b3c5ced561"><code>426d422</code></a> Bump <code>@​types/node</code> from 20.3.2 to 20.3.3 (<a href="https://redirect.github.com/jamesives/github-pages-deploy-action/issues/1389">#1389</a>)</li>
<li><a href="https://github.com/JamesIves/github-pages-deploy-action/commit/6c78091d858515ea8cd1db9b735f1312197d7773"><code>6c78091</code></a> Bump <code>@​types/node</code> from 20.3.1 to 20.3.2 (<a href="https://redirect.github.com/jamesives/github-pages-deploy-action/issues/1387">#1387</a>)</li>
<li><a href="https://github.com/JamesIves/github-pages-deploy-action/commit/dbbf76c054a31d7ac44d8f0bb381fba0a47d1c80"><code>dbbf76c</code></a> Deploying to dev from @ JamesIves/github-pages-deploy-action@ce9d786e639c4709...</li>
<li><a href="https://github.com/JamesIves/github-pages-deploy-action/commit/ce9d786e639c47093af973a5d65242993b6913bb"><code>ce9d786</code></a> Bump eslint-plugin-jest from 27.2.1 to 27.2.2 (<a href="https://redirect.github.com/jamesives/github-pages-deploy-action/issues/1386">#1386</a>)</li>
<li><a href="https://github.com/JamesIves/github-pages-deploy-action/commit/e33c1e26e1b70d7da5746d4165ba79b49029dfef"><code>e33c1e2</code></a> Bump <code>@​types/node</code> from 20.2.5 to 20.3.1 (<a href="https://redirect.github.com/jamesives/github-pages-deploy-action/issues/1385">#1385</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/jamesives/github-pages-deploy-action/compare/v4.4.2...v4.4.3">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=JamesIves/github-pages-deploy-action&package-manager=github_actions&previous-version=4.4.2&new-version=4.4.3)](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)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>

* deps!: bump PFM to v4.1.0 (#2677)

* bump PFM to 4.0.6

* add entries to .changelog

* bump PFM to 4.0.6

* add entries to .changelog

* bump PFM to 4.1.0

* make lint-fix

* chore(deps): bump cosmossdk.io/errors from 1.0.0-beta.7 to 1.0.0 (#2650)

Bumps [cosmossdk.io/errors](https://github.com/cosmos/cosmos-sdk) from 1.0.0-beta.7 to 1.0.0.
- [Release notes](https://github.com/cosmos/cosmos-sdk/releases)
- [Changelog](https://github.com/cosmos/cosmos-sdk/blob/main/CHANGELOG.md)
- [Commits](https://github.com/cosmos/cosmos-sdk/compare/errors/v1.0.0-beta.7...log/v1.0.0)

---
updated-dependencies:
- dependency-name: cosmossdk.io/errors
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* update swagger (#2590)

Co-authored-by: Milan Mulji <98309852+mmulji-ic@users.noreply.github.com>

* Fix:  sim genesis account validation (#2690)

* fix: app: make SimGenesisAccount.Validate error if .BaseAccount is nil

This change ensures that an error is returned, instead of panicking,
when SimGenesisAccount.BaseAccount is nil, after invoking .Validate.
Found by fuzzing and added the tests in here to catch future
regressions.

Fixes #2586

* merge fix FuzzGenesisAccountValidate test

* fix: lint

---------

Co-authored-by: Emmanuel T Odeke <emmanuel@orijtech.com>
Co-authored-by: Philip Offtermatt <57488781+p-offtermatt@users.noreply.github.com>

* docs: release testnet upgraded to v11 (#2668)

* testnet upgraded to v11

* replace v11.0.0-rc0 with v11.0.0

* docs: Updating the quickstart, joining mainnet & upgrade docs for v11 (#2670)

* add upgrade instructions for v11

* update docs for v11

* update proposal number and link

* Updated cosmovisor version and a typo

---------

Co-authored-by: Milan Mulji <98309852+mmulji-ic@users.noreply.github.com>

* deps!: use cosmos-sdk v0.45.16-lsm-ics (#2643)

* deps: use cosmos-sdk v0.45.16-lsm-ics

* deps&rebase: use cosmos-sdk v0.45.16-lsm-ics

* add local testing script

* fix: update test_helpers; use latest lsm/ics versions

* chore: bump iqlusion:cosmos-sdk to latest

* Jstr/lsm e2e tests (#2679)

* lsm e2e test work - wip

* Add validator bond functionality on lsm happy path

* add tokenize share check on lsm test & redeemShare utility function

* add bank send lsm tokens test

* Add test for transfer reward ownership, and redeem shares

* Add staking param query utility & LSM params update process on LSM e2e test

* Add IBC transfer test on LSM share tokens & Resolve e2e tests by updating gas configs and result checker

* resolve github action bot comments

* bring all e2e test items back to enabled

* Update tests/e2e/e2e_lsm_test.go

Co-authored-by: sampocs <sam@stridelabs.co>

* resolve comments

* reenable tokenize share record module account balance check

---------

Co-authored-by: jstr1121 <jun@stridelabs.co>
Co-authored-by: jstr1121 <118450565+jstr1121@users.noreply.github.com>
Co-authored-by: sampocs <sam@stridelabs.co>

* Add lsm params to upgrade handler (#2686)

* set LSM params in upgrade handler

* added comments around constants

* test: add migrateUBDEntries to upgrade handler — required adding exported.go to sdk

* Revert "test: add migrateUBDEntries to upgrade handler — required adding exported.go to sdk"

This reverts commit 7bd9727ce734e829ef54538485c3bbf327009345.

---------

Co-authored-by: Riley Edmunds <riley@stridelabs.co>

* chore: bump cosmos-sdk and ics to latest

* Fix staking & distribution e2e test with LSM (#2687)

* lsm e2e test work - wip

* Add validator bond functionality on lsm happy path

* add tokenize share check on lsm test & redeemShare utility function

* add bank send lsm tokens test

* Add test for transfer reward ownership, and redeem shares

* Add staking param query utility & LSM params update process on LSM e2e test

* Add IBC transfer test on LSM share tokens & Resolve e2e tests by updating gas configs and result checker

* resolve github action bot comments

* bring all e2e test items back to enabled

* Update tests/e2e/e2e_lsm_test.go

Co-authored-by: sampocs <sam@stridelabs.co>

* resolve comments

* reenable tokenize share record module account balance check

* fix staking test affected by other test

---------

Co-authored-by: jstr1121 <jun@stridelabs.co>
Co-authored-by: jstr1121 <118450565+jstr1121@users.noreply.github.com>

* chore: appease lint rules

* docs: Add LSM docs (#2683)

* docs: validator FAQ updated with LSM docs

* docs: validator faq - remove min self delegation references

* docs: delegator faq - add lsm docs

* docs: address Marius review comments on docs

* bump SDK to 0.45.16-ics-lsm-rc0 and ICS to 2.0.0-lsm-rc0

* add .changelog entries

* use sdk.Dec

* Update constants.go

---------

Co-authored-by: riley-stride <104941670+riley-stride@users.noreply.github.com>
Co-authored-by: jstr1121 <jun@stridelabs.co>
Co-authored-by: jstr1121 <118450565+jstr1121@users.noreply.github.com>
Co-authored-by: sampocs <sam@stridelabs.co>
Co-authored-by: Riley Edmunds <riley@stridelabs.co>
Co-authored-by: Marius Poke <marius.poke@posteo.de>
Co-authored-by: Shawn <44221603+smarshall-spitzbart@users.noreply.github.com>

* deps: bump SDK to v0.45.16-ics-lsm and ICS to v2.0.0-lsm (#2695)

* bump SDK to v0.45.16-ics-lsm and ICS to v2.0.0-lsm

* fix link in .changelog entry

* chore(deps): bump cosmossdk.io/math from 1.0.1 to 1.1.0 (#2698)

Bumps [cosmossdk.io/math](https://github.com/cosmos/cosmos-sdk) from 1.0.1 to 1.1.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/cosmos/cosmos-sdk/releases">cosmossdk.io/math's releases</a>.</em></p>
<blockquote>
<h2>Cosmovisor v1.1.0</h2>
<h2>Release Notes</h2>
<h3>New execution model</h3>
<p>With this release we are shifting to a new CLI design:</p>
<ul>
<li>in the past, Cosmovisor was designed to act as a wrapper for a Cosmos App. An admin could link it and use it instead of the Cosmos App. When running it will pass all options and configuration  parameters to the app. Hence the only way to configure the Cosmovisor was through environment variables.</li>
<li>now, we are moving to a more traditional model, where Cosmovisor has it's own command set and is a true supervisor.</li>
</ul>
<p>New commands have been added:</p>
<ul>
<li><code>run</code> will start the Cosmos App and pass remaining arguments to the app (similar to <code>npm run</code>)</li>
<li><code>help</code> will display Cosmovisor help</li>
<li><code>version</code> will display both Cosmovisor and the associated app version.</li>
</ul>
<p>The existing way of starting an app with Cosmovisor has been deprecated (<code>cosmovisor [app params]</code>) and will be removed in the future version. Please use <code>cosmovisor run [app pararms]</code>  instead.</p>
<h3>New Features</h3>
<p>We added a new configuration option: <code>DAEMON_BACKUP_DIR</code> (as env variable). When set, Cosmovisor will create backup the app data backup in that directory (instead of using the app home directory) before running the update. See the <a href="https://github.com/cosmos/cosmos-sdk/blob/master/cosmovisor/README.md#command-line-arguments-and-environment-variables">README</a> file for more details.</p>
<h3>Bug Fixes</h3>
<ul>
<li>Fixed <code>cosmovisor version</code> output when installed using 'go install github.com/cosmos/cosmos-sdk/cosmovisor/cmd/cosmovisor@v1.0.0'.</li>
</ul>
<h3>Changelog</h3>
<p>For more details, please see the <a href="https://github.com/cosmos/cosmos-sdk/blob/cosmovisor/v1.1.0/cosmovisor/CHANGELOG.md">CHANGELOG</a>.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/cosmos/cosmos-sdk/commit/be5e3aa52bd04ab9ecd86ca739d2252c34f419b4"><code>be5e3aa</code></a> feat(log): extend logger options (<a href="https://redirect.github.com/cosmos/cosmos-sdk/issues/15956">#15956</a>)</li>
<li><a href="https://github.com/cosmos/cosmos-sdk/commit/851e9e873b5c68aefe098b78f1a23d5acf50a81f"><code>851e9e8</code></a> docs: update roadmap for q2 (<a href="https://redirect.github.com/cosmos/cosmos-sdk/issues/15952">#15952</a>)</li>
<li><a href="https://github.com/cosmos/cosmos-sdk/commit/91278f6602ebac9534fc19c2d803d23c9df78bac"><code>91278f6</code></a> refactor(x/authz)!: Use KVStoreService, context.Context and return errors ins...</li>
<li><a href="https://github.com/cosmos/cosmos-sdk/commit/26faee9bf7f59f5f65cacc6177e4034225ea0f12"><code>26faee9</code></a> refactor: bcrypt key derivation to aead (<a href="https://redirect.github.com/cosmos/cosmos-sdk/issues/509">#509</a>) (<a href="https://redirect.github.com/cosmos/cosmos-sdk/issues/15817">#15817</a>)</li>
<li><a href="https://github.com/cosmos/cosmos-sdk/commit/428e19f4f0b79ea20c15c2b15fa77a7a44b8213f"><code>428e19f</code></a> refactor(x/distribution)!: Use KVStoreService, context.Context and return err...</li>
<li><a href="https://github.com/cosmos/cosmos-sdk/commit/a6ea0948b2884417423ebee41809d28667c67c2e"><code>a6ea094</code></a> ci: skip fix registration for linting (<a href="https://redirect.github.com/cosmos/cosmos-sdk/issues/15965">#15965</a>)</li>
<li><a href="https://github.com/cosmos/cosmos-sdk/commit/00b78fae00004df8ab9ebc8c880c6fc8166dadda"><code>00b78fa</code></a> refactor(x/auth): v2 adaptable tx instead of double decode (<a href="https://redirect.github.com/cosmos/cosmos-sdk/issues/15910">#15910</a>)</li>
<li><a href="https://github.com/cosmos/cosmos-sdk/commit/1179285bf2893…
  • Loading branch information
1 parent 59170a3 commit e78fb33
Show file tree
Hide file tree
Showing 3 changed files with 101 additions and 0 deletions.
@@ -0,0 +1,5 @@
Migrate the signing infos of validators for which the consensus address is missing.
([\#2866](https://github.com/cosmos/gaia/pull/2866))



37 changes: 37 additions & 0 deletions app/upgrades/v15/upgrades.go
Expand Up @@ -3,12 +3,18 @@ package v15
import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/module"
slashingkeeper "github.com/cosmos/cosmos-sdk/x/slashing/keeper"
slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types"
stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper"
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"

"github.com/cosmos/gaia/v15/app/keepers"
)

// CreateUpgradeHandler returns a upgrade handler for Gaia v15
// which executes the following migrations:
// - update the slashing module SigningInfos for which the consensus address is empty,
// see https://github.com/cosmos/gaia/issues/1734.
func CreateUpgradeHandler(
mm *module.Manager,
configurator module.Configurator,
Expand All @@ -22,13 +28,44 @@ func CreateUpgradeHandler(
return vm, err
}

UpgradeSigningInfos(ctx, keepers.SlashingKeeper)
UpgradeMinCommissionRate(ctx, *keepers.StakingKeeper)

ctx.Logger().Info("Upgrade v15 complete")
return vm, err
}
}

// UpgradeSigningInfos updates the signing infos of validators for which
// the consensus address is missing
func UpgradeSigningInfos(ctx sdk.Context, sk slashingkeeper.Keeper) {
ctx.Logger().Info("Migrating signing infos...")

signingInfos := []slashingtypes.ValidatorSigningInfo{}

// update consensus address in signing info
// using the store key of validators
sk.IterateValidatorSigningInfos(ctx, func(address sdk.ConsAddress, info slashingtypes.ValidatorSigningInfo) (stop bool) {
if info.Address == "" {
info.Address = address.String()
signingInfos = append(signingInfos, info)
}

return false
})

for _, si := range signingInfos {
addr, err := sdk.ConsAddressFromBech32(si.Address)
if err != nil {
ctx.Logger().Error("incorrect consensus address in signing info %s: %s", si.Address, err)
continue
}
sk.SetValidatorSigningInfo(ctx, addr, si)
}

ctx.Logger().Info("Finished migrating signing infos")
}

// UpgradeMinCommissionRate sets the minimum commission rate staking parameter to 5%
// and updates the commission rate for all validators that have a commission rate less than 5%
// adhere to prop 826 which sets the minimum commission rate to 5% for all validators
Expand Down
59 changes: 59 additions & 0 deletions app/upgrades/v15/upgrades_test.go
Expand Up @@ -2,20 +2,79 @@ package v15_test

import (
"testing"
"time"

"github.com/stretchr/testify/require"

tmrand "github.com/cometbft/cometbft/libs/rand"
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"

"github.com/cosmos/cosmos-sdk/crypto/keys/ed25519"
"github.com/cosmos/cosmos-sdk/testutil/mock"
sdk "github.com/cosmos/cosmos-sdk/types"
slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"

"github.com/cosmos/gaia/v15/app/helpers"
v15 "github.com/cosmos/gaia/v15/app/upgrades/v15"
)

func TestUpgradeSigningInfos(t *testing.T) {
gaiaApp := helpers.Setup(t)
ctx := gaiaApp.NewUncachedContext(true, tmproto.Header{})
slashingKeeper := gaiaApp.SlashingKeeper

signingInfosNum := 8
emptyAddrSigningInfo := make(map[string]struct{})

// create some dummy signing infos, half of which with an empty address field
for i := 0; i < signingInfosNum; i++ {
pubKey, err := mock.NewPV().GetPubKey()
require.NoError(t, err)

consAddr := sdk.ConsAddress(pubKey.Address())
info := slashingtypes.NewValidatorSigningInfo(
consAddr,
0,
0,
time.Unix(0, 0),
false,
0,
)

if i < signingInfosNum/2 {
info.Address = ""
emptyAddrSigningInfo[consAddr.String()] = struct{}{}
}

slashingKeeper.SetValidatorSigningInfo(ctx, consAddr, info)
require.NoError(t, err)
}

require.Equal(t, signingInfosNum/2, len(emptyAddrSigningInfo))

// check that signing info are correctly set before migration
slashingKeeper.IterateValidatorSigningInfos(ctx, func(address sdk.ConsAddress, info slashingtypes.ValidatorSigningInfo) (stop bool) {
if _, ok := emptyAddrSigningInfo[address.String()]; ok {
require.Empty(t, info.Address)
} else {
require.NotEmpty(t, info.Address)
}

return false
})

// upgrade signing infos
v15.UpgradeSigningInfos(ctx, slashingKeeper)

// check that all signing info are updated as expected after migration
slashingKeeper.IterateValidatorSigningInfos(ctx, func(address sdk.ConsAddress, info slashingtypes.ValidatorSigningInfo) (stop bool) {
require.NotEmpty(t, info.Address)

return false
})
}

func TestUpgradeMinCommissionRate(t *testing.T) {
gaiaApp := helpers.Setup(t)
ctx := gaiaApp.NewUncachedContext(true, tmproto.Header{})
Expand Down

0 comments on commit e78fb33

Please sign in to comment.