Skip to content

Commit

Permalink
merge Rc0/v7.0.0 to release/v7.0.0 (#1357)
Browse files Browse the repository at this point in the history
* Theta main (#1356)

* update changelog

* make ica host allow msg types const

* merge Release/v7.0.0 rc0 to release/v7.0.x (#1340) (#1351)

* merge theta-main to release/v7.0.0-rc0 (#1339)

* Theta prepare merge to theta main (#1337)

* chore: update changelog (#1060)

* add changelog for backport release v5.0.8 (#1061)

* Change golangci-lint version to the latest version of golangci-lint (v1.42.1) (#1043)

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

* Update DOCS_README with switch to GH Actions (#1049)

* Update DOCS_README with switch to GH Actions

* update to repo makefile

Co-authored-by: billy rennekamp <[email protected]>

* Merge pull request #1051: reenable displying params in gov docs

* Update cosmos-hub-roadmap-2.0.md (#1065)

* Update cosmos-hub-roadmap-2.0.md

* Update cosmos-hub-roadmap-2.0.md

* Update cosmos-hub-roadmap-2.0.md

* Update cosmos-hub-roadmap-2.0.md (#1066)

* Update cosmos-hub-roadmap-2.0.md (#1068)

* Update CODEOWNERS (#1031)

* Update CODEOWNERS

* Update .github/CODEOWNERS

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

* Update CODEOWNERS

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

* Update README.md (#1063)

* hide top banner (#1062)

Co-authored-by: billy rennekamp <[email protected]>

* Update Readme.md (#1046)

* Update Readme.md

Added a 'How to Use' section and a line on learning more about the Cosmos Hub.

* Update README.md

Co-authored-by: billy rennekamp <[email protected]>

* Update README.md (#1069)

* Create statesync.bash (#1027)

* Create statesync.bash

Co-authored-by: billy rennekamp <[email protected]>

* Update interchain-security.md (#1071)

* Update cosmos-hub-roadmap-2.0.md (#1076)

* Vega 6.0.0 (#1077)

* fix: delete new modules from fromVM map to not skip init genesis

* fix: migrate auth module after staking

* gaia: add NewSetUpContextDecorator to antedecorator (#1078)

* Update upgrade-node.md (#1080)

add more info

* Add IOBScan to Cosmos Hub Explorers list (#1075)

* Update Readme (#1083)

* Update Readme

* Update README.md

* Update README.md

* Update README.md

Co-authored-by: billy rennekamp <[email protected]>

* Update Dockerfile.test (#1026)

Co-authored-by: billy rennekamp <[email protected]>

* Update cosmos-hub-roadmap-2.0.md (#1085)

* Update cosmos-hub-roadmap-2.0.md (#1088)

* Merge pull request #1050: Create Governance proposal template

* add first draft proposal templates

* add new PR template for governance

* edit for small fixes (#1086)

* Update validator-faq.md (#1087)

more editorial love for this essential content

* docs: fix links in governance section (#1089)

* rm dev discord links

* update and relativize links

* align with link style elsewhere in docs

* docs: vega upgrade instruction (#1096)

* docs: vega upgrade instruction

* chore: change upgrade time

* Update cosmoshub-4-vega-upgrade.md

chore: formatting

* Update docs/migration/cosmoshub-4-vega-upgrade.md

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

* Update docs/migration/cosmoshub-4-vega-upgrade.md

* Update docs/migration/cosmoshub-4-vega-upgrade.md

* Update docs/migration/cosmoshub-4-vega-upgrade.md

Co-authored-by: billy rennekamp <[email protected]>

* doc: change doc for vega upgrade instruction (#1098)

* doc: change doc for vega upgrade instruction

* Update cosmoshub-4-vega-upgrade.md

typo fix

* docs minor typo fix (#1104)

Cross Chain Validator (CCV)
relay validator set composition

* add dependabot (#1103)

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

* Update interchain-security.md (#1105)

Co-authored-by: billy rennekamp <[email protected]>

* Update gaiad installation docs, update docs install/run instructions, and clean up left menu ordering (#1095)

Make requested changes

Make ordering consistent

* Fix broken installation links (#1120)

* Bump technote-space/get-diff-action from 4 to 5.0.2 (#1108)

Bumps [technote-space/get-diff-action](https://github.com/technote-space/get-diff-action) from 4 to 5.0.2.
- [Release notes](https://github.com/technote-space/get-diff-action/releases)
- [Changelog](https://github.com/technote-space/get-diff-action/blob/main/.releasegarc)
- [Commits](technote-space/get-diff-action@v4...v5.0.2)

---
updated-dependencies:
- dependency-name: technote-space/get-diff-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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]>

* Bump github.com/spf13/cobra from 1.2.1 to 1.3.0 (#1119)

Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md)
- [Commits](spf13/cobra@v1.2.1...v1.3.0)

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

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]>

* Bump codecov/codecov-action from 1 to 2.1.0 (#1114)

Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 1 to 2.1.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](codecov/codecov-action@v1...v2.1.0)

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

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

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

* Bump JamesIves/github-pages-deploy-action from 3.7.1 to 4.1.8 (#1128)

Bumps [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action) from 3.7.1 to 4.1.8.
- [Release notes](https://github.com/JamesIves/github-pages-deploy-action/releases)
- [Commits](JamesIves/github-pages-deploy-action@3.7.1...4.1.8)

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

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

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

* Bump github.com/cosmos/ibc-go/v2 from 2.0.0 to 2.0.2 (#1124)

Bumps [github.com/cosmos/ibc-go/v2](https://github.com/cosmos/ibc-go) from 2.0.0 to 2.0.2.
- [Release notes](https://github.com/cosmos/ibc-go/releases)
- [Changelog](https://github.com/cosmos/ibc-go/blob/v2.0.2/CHANGELOG.md)
- [Commits](cosmos/ibc-go@v2.0.0...v2.0.2)

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

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]>

* Bump github.com/tendermint/tm-db from 0.6.4 to 0.6.6 (#1116)

Bumps [github.com/tendermint/tm-db](https://github.com/tendermint/tm-db) from 0.6.4 to 0.6.6.
- [Release notes](https://github.com/tendermint/tm-db/releases)
- [Changelog](https://github.com/tendermint/tm-db/blob/master/CHANGELOG.md)
- [Commits](tendermint/tm-db@v0.6.4...v0.6.6)

---
updated-dependencies:
- dependency-name: github.com/tendermint/tm-db
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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]>

* Bump gaurav-nelson/github-action-markdown-link-check (#1112)

Bumps [gaurav-nelson/github-action-markdown-link-check](https://github.com/gaurav-nelson/github-action-markdown-link-check) from 0.6.0 to 1.0.13.
- [Release notes](https://github.com/gaurav-nelson/github-action-markdown-link-check/releases)
- [Commits](gaurav-nelson/github-action-markdown-link-check@0.6.0...1.0.13)

---
updated-dependencies:
- dependency-name: gaurav-nelson/github-action-markdown-link-check
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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]>

* Bump actions/setup-go from 2.1.3 to 2.1.5 (#1130)

Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2.1.3 to 2.1.5.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](actions/setup-go@v2.1.3...v2.1.5)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

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

* Update broken links in docs (#1131)

* update links in docs

* cleanup

* Bump actions/stale from 3 to 4.1.0 (#1113)

Bumps [actions/stale](https://github.com/actions/stale) from 3 to 4.1.0.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](actions/stale@v3...v4.1.0)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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]>

* Bump actions/checkout from 2.3.1 to 2.4.0 (#1110)

Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.1 to 2.4.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v2.3.1...v2.4.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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]>

* Bump actions/cache from 1 to 2.1.7 (#1107)

Bumps [actions/cache](https://github.com/actions/cache) from 1 to 2.1.7.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](actions/cache@v1...v2.1.7)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

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

* Fix links to hub-tutorials (#1132)

* Fix links to hub-tutorials

Some of the links are broken due to the change of the gaia-tutorials folder. This should fix them.

* Update installation.md

* Update stale.yml to exclude issues (#1138)

Taken from https://github.com/cosmos/cosmos-sdk/blob/master/.github/workflows/stale.yml

* Update the upgrade time (#1102)

* Update cosmoshub-4-vega-upgrade.md

update the upgrade time

* Update docs/migration/cosmoshub-4-vega-upgrade.md

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

* docs: add system requirement

Co-authored-by: Noam <[email protected]>
Co-authored-by: billy rennekamp <[email protected]>

* Update Roadmap to mention Vega is completed (#1140)

* Update Roadmap to mention Vega is completed

And some little things to make sure the page is parsed well for the new cosmos hub roadmap page.

* Updates to gravity bridge mentions

Updated to signal Gravity Bridge is an external chain that was released around Vega.

* Update docs/roadmap/cosmos-hub-roadmap-2.0.md

Co-authored-by: billy rennekamp <[email protected]>

* Added instructions on depositing to a proposal (#1142)

* Added instructions on depositing to a proposal

Also replaced the Hubble instructions with Mintscan.

* Update docs/governance/submitting.md

* Update docs/governance/submitting.md

* Update docs/governance/submitting.md

* Update docs/governance/submitting.md

Co-authored-by: billy rennekamp <[email protected]>

* Merge pull request #1090: docs: Set up locales for existing translations

* set up locales for translations

* remove es translations from gov section

* update links in locale readmes

* add initial instruction on locales in DOCS_README

* add labels and selectText

* remove frontmatter in es README

* Module Readiness Github Issue & Docs (#1172)

* add tempalte and dir

* Update template.md

* add issue template

* Add module readiness template

* Add readiness readme and adr template

* Edit adr template

* Update ADR template

Co-authored-by: billy rennekamp <[email protected]>

* Update module-readiness.md

* Docs: Restructure governance section (#1126)

* rm gov gaiad page use getting started

* restructure proposal type readmes and formatting

* rename files to use - vs _

* update links and order pages

* move all best practices into a single doc

* Apply suggestions from code review

Co-authored-by: billy rennekamp <[email protected]>

Co-authored-by: billy rennekamp <[email protected]>

* Bump vuepress-theme-cosmos from 1.0.182 to 1.0.183 in /docs (#1161)

Bumps [vuepress-theme-cosmos](https://github.com/cosmos/vuepress-theme-cosmos) from 1.0.182 to 1.0.183.
- [Release notes](https://github.com/cosmos/vuepress-theme-cosmos/releases)
- [Commits](https://github.com/cosmos/vuepress-theme-cosmos/commits)

---
updated-dependencies:
- dependency-name: vuepress-theme-cosmos
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

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

* Bump JamesIves/github-pages-deploy-action from 4.1.8 to 4.2.2 (#1152)

Bumps [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action) from 4.1.8 to 4.2.2.
- [Release notes](https://github.com/JamesIves/github-pages-deploy-action/releases)
- [Commits](JamesIves/github-pages-deploy-action@4.1.8...v4.2.2)

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

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

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

* 1159 update state sync configs (#1160)

* Update default snapshot configs

* Refactor

* Fix override to include default template

Co-authored-by: billy rennekamp <[email protected]>

* Add tabbing for markdown docs (#1217)

* Add tabbing for markdown docs

* Add package-lock

* Theta update (#1211)

* Update cosmos-hub-roadmap-2.0.md

* Update docs/roadmap/cosmos-hub-roadmap-2.0.md

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

* Update docs/roadmap/cosmos-hub-roadmap-2.0.md

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

* Update cosmos-hub-roadmap-2.0.md

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

* Update Ledger doc with Keplr (#1205)

* Update Ledger doc with Keplr

Replaced Lunie instructions with Keplr

* Removed leftover Lunie content

* Update ledger.md

Co-authored-by: billy rennekamp <[email protected]>

* Update joining mainnet documentation (#1146)

* Update joining mainnet documentation

* Minor fixes for updated joining mainnet documentation

* Update menu order

* Make requested changes

* Additional updates

* Make requested changes for hardware config

* Update config header

* Fix tabbing header

* Update joining mainnet documentation

* Minor fixes for updated joining mainnet documentation

* Update menu order

* Make requested changes

* Additional updates

* Make requested changes for hardware config

* Update config header

* Fix tabbing header

Co-authored-by: billy rennekamp <[email protected]>

* Updates to Validator Docs (#1207)

* Updated validator documentation.

* Small updates

* fixes from yaru feedback

* Update docs/validators/validator-setup.md

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

* Update docs/validators/validator-setup.md

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

Co-authored-by: lg <[email protected]>
Co-authored-by: billy rennekamp <[email protected]>

* bump cosmsos-sdk v0.44.5 to v0.45.0, ibc-go v2 to v3-alpha2, fix in-place migration ordering

* fix: panic when forget to add modules to SetOrder{BeginBlocker, EndBlocker, InitGenesis, ExportGenesis} functions

* fix: store.StoreUpgrades{}

* bump: replace dependencies to depend on sdk 0.45.0

* bump: liquidity module to v1.4.5

* bump: cosmos-sdk to v0.45.1

* fix: server.Generate* is deprecated, it is moved to testutil

* fix: upgrade module should run first in SetOrderBeginBlockers

* fix:  client.ReadFromClientConfig -> client.ReadPersistentCommandFlags

* bump: gaia module: v6 -> v7

* bump: ibc-go to v3.0.0-beta1

* fix: router module

* style: adjust package import order

* fix: SetOrderEndBlockers

* fix: adjust capability module's beginblocker position

* Update app.go

style: remove extra print

* fix: SetOrderInitGenesis

* fix: lint

* add migration logs

* feat: add ica

* fix: lint

* bump: ibc-to to v3.0.0-rc0

* fix: ica init

* fix: fromVersionMap

* set ica params

* bump: liquidity to v1.5.0

* update upgrade name

* bump: packet-forward-module

* fix: ica in upgrade

* bump: packet-forward module to v1.0.2

* bump: ibc-go to v3.0.0-rc1

* chore: add log

* fix: upgrade add store

* block all module acct to receive tokens by MsgSend

* bump: ibc-go to v3.0.0-rc2

* remove unused function GetMaccPerms

* bump: liquidity module to v1.5.0

* chore: rename ibcmodule to transferIBCModule

* fix: delete ica controller module and allow more msg types in ica

* fix: add icacontroller store to avoid panic

* bump: ibc-go to v3.0.0 and remove ica controller

* bump: packet-forward module to v2.1.1

Co-authored-by: psh4nk <[email protected]>
Co-authored-by: dcwalk <[email protected]>
Co-authored-by: billy rennekamp <[email protected]>
Co-authored-by: Marko <[email protected]>
Co-authored-by: Daria K <[email protected]>
Co-authored-by: tmckenzie51 <[email protected]>
Co-authored-by: Jacob Gadikian <[email protected]>
Co-authored-by: Zhiwei(Jeffrey) Hu <[email protected]>
Co-authored-by: Jessica Dosseh <[email protected]>
Co-authored-by: Jack Zampolin <[email protected]>
Co-authored-by: Barrie Byron <[email protected]>
Co-authored-by: Marko Baricevic <[email protected]>
Co-authored-by: Gavin <[email protected]>
Co-authored-by: lg <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fkneeland-figure <[email protected]>
Co-authored-by: Noam <[email protected]>

* fix: fromVM

* chore: correct docs, comments, go.sum

Co-authored-by: psh4nk <[email protected]>
Co-authored-by: dcwalk <[email protected]>
Co-authored-by: billy rennekamp <[email protected]>
Co-authored-by: Marko <[email protected]>
Co-authored-by: Daria K <[email protected]>
Co-authored-by: tmckenzie51 <[email protected]>
Co-authored-by: Jacob Gadikian <[email protected]>
Co-authored-by: Zhiwei(Jeffrey) Hu <[email protected]>
Co-authored-by: Jessica Dosseh <[email protected]>
Co-authored-by: Jack Zampolin <[email protected]>
Co-authored-by: Barrie Byron <[email protected]>
Co-authored-by: Marko Baricevic <[email protected]>
Co-authored-by: Gavin <[email protected]>
Co-authored-by: lg <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fkneeland-figure <[email protected]>
Co-authored-by: Noam <[email protected]>

* chore: add CHANGELOG

Co-authored-by: psh4nk <[email protected]>
Co-authored-by: dcwalk <[email protected]>
Co-authored-by: billy rennekamp <[email protected]>
Co-authored-by: Marko <[email protected]>
Co-authored-by: Daria K <[email protected]>
Co-authored-by: tmckenzie51 <[email protected]>
Co-authored-by: Jacob Gadikian <[email protected]>
Co-authored-by: Zhiwei(Jeffrey) Hu <[email protected]>
Co-authored-by: Jessica Dosseh <[email protected]>
Co-authored-by: Jack Zampolin <[email protected]>
Co-authored-by: Barrie Byron <[email protected]>
Co-authored-by: Marko Baricevic <[email protected]>
Co-authored-by: Gavin <[email protected]>
Co-authored-by: lg <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fkneeland-figure <[email protected]>
Co-authored-by: Noam <[email protected]>

Co-authored-by: psh4nk <[email protected]>
Co-authored-by: dcwalk <[email protected]>
Co-authored-by: billy rennekamp <[email protected]>
Co-authored-by: Marko <[email protected]>
Co-authored-by: Daria K <[email protected]>
Co-authored-by: tmckenzie51 <[email protected]>
Co-authored-by: Jacob Gadikian <[email protected]>
Co-authored-by: Zhiwei(Jeffrey) Hu <[email protected]>
Co-authored-by: Jessica Dosseh <[email protected]>
Co-authored-by: Jack Zampolin <[email protected]>
Co-authored-by: Barrie Byron <[email protected]>
Co-authored-by: Marko Baricevic <[email protected]>
Co-authored-by: Gavin <[email protected]>
Co-authored-by: lg <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fkneeland-figure <[email protected]>
Co-authored-by: Noam <[email protected]>

* resolve conflict from cherrry pick 04b0191

* resolve conflit from cherry pick 611e338

* resolve conflit from cherry pick 1722cf8

* resolve conflit from cherry pick d6f7b57

* fix e2e gaia package version

* chore: fix lint

Co-authored-by: Yaru Wang <[email protected]>
Co-authored-by: yaruwangway <[email protected]>
Co-authored-by: psh4nk <[email protected]>
Co-authored-by: dcwalk <[email protected]>
Co-authored-by: billy rennekamp <[email protected]>
Co-authored-by: Marko <[email protected]>
Co-authored-by: Daria K <[email protected]>
Co-authored-by: tmckenzie51 <[email protected]>
Co-authored-by: Jacob Gadikian <[email protected]>
Co-authored-by: Zhiwei(Jeffrey) Hu <[email protected]>
Co-authored-by: Jessica Dosseh <[email protected]>
Co-authored-by: Jack Zampolin <[email protected]>
Co-authored-by: Barrie Byron <[email protected]>
Co-authored-by: Marko Baricevic <[email protected]>
Co-authored-by: Gavin <[email protected]>
Co-authored-by: lg <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fkneeland-figure <[email protected]>
Co-authored-by: Noam <[email protected]>
Co-authored-by: Aleksandr Bezobchuk <[email protected]>

* update CHANGELOG

Co-authored-by: Gaurav Raghuvanshy <[email protected]>
Co-authored-by: psh4nk <[email protected]>
Co-authored-by: dcwalk <[email protected]>
Co-authored-by: billy rennekamp <[email protected]>
Co-authored-by: Marko <[email protected]>
Co-authored-by: Daria K <[email protected]>
Co-authored-by: tmckenzie51 <[email protected]>
Co-authored-by: Jacob Gadikian <[email protected]>
Co-authored-by: Zhiwei(Jeffrey) Hu <[email protected]>
Co-authored-by: Jessica Dosseh <[email protected]>
Co-authored-by: Jack Zampolin <[email protected]>
Co-authored-by: Barrie Byron <[email protected]>
Co-authored-by: Marko Baricevic <[email protected]>
Co-authored-by: Gavin <[email protected]>
Co-authored-by: lg <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fkneeland-figure <[email protected]>
Co-authored-by: Noam <[email protected]>
Co-authored-by: Aleksandr Bezobchuk <[email protected]>
  • Loading branch information
20 people authored Mar 24, 2022
1 parent dfa0e38 commit 0ccfe31
Show file tree
Hide file tree
Showing 26 changed files with 1,744 additions and 91 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-sims.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
steps:
- uses: actions/[email protected]
with:
go-version: 1.16
go-version: 1.17
- name: Install runsim
run: export GO111MODULE="on" && go get github.com/cosmos/tools/cmd/[email protected]
- uses: actions/[email protected]
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/sims.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
steps:
- uses: actions/[email protected]
with:
go-version: 1.16
go-version: 1.17
- name: Install runsim
run: export GO111MODULE="on" && go get github.com/cosmos/tools/cmd/[email protected]
- uses: actions/[email protected]
Expand All @@ -33,7 +33,7 @@ jobs:
# - uses: actions/[email protected]
# - uses: actions/[email protected]
# with:
# go-version: 1.16
# go-version: 1.17
# - uses: technote-space/[email protected]
# with:
# PATTERNS: |
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
go-version: 1.16
go-version: 1.17
- uses: actions/[email protected]
with:
path: ~/go/bin
Expand All @@ -80,7 +80,7 @@ jobs:
steps:
- uses: actions/[email protected]
with:
go-version: 1.16
go-version: 1.17
- uses: actions/[email protected]
- uses: technote-space/[email protected]
with:
Expand All @@ -105,7 +105,7 @@ jobs:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
go-version: 1.16
go-version: 1.17
- uses: technote-space/[email protected]
with:
PATTERNS: |
Expand All @@ -130,7 +130,7 @@ jobs:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
go-version: 1.16
go-version: 1.17
- uses: technote-space/[email protected]
with:
PATTERNS: |
Expand All @@ -144,4 +144,4 @@ jobs:
- name: test liveness
run: |
./contrib/localnet-blocks-test.sh 100 5 50 localhost
if: "env.GIT_DIFF != ''"
if: "env.GIT_DIFF != ''"
29 changes: 26 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
steps:
- uses: actions/[email protected]
with:
go-version: 1.16
go-version: 1.17
- uses: actions/[email protected]
- uses: technote-space/[email protected]
with:
Expand All @@ -31,7 +31,7 @@ jobs:
make build
- name: test & coverage report creation
run: |
go test ./... -mod=readonly -timeout 12m -race -coverprofile=coverage.txt -covermode=atomic -tags='ledger test_ledger_mock'
make test-unit-cover
if: "env.GIT_DIFF != ''"
- name: filter out DONTCOVER
run: |
Expand All @@ -48,4 +48,27 @@ jobs:
with:
file: ./coverage.txt # optional
fail_ci_if_error: true
if: "env.GIT_DIFF != ''"
if: "env.GIT_DIFF != ''"

test-e2e:
runs-on: ubuntu-latest
timeout-minutes: 25
steps:
- uses: actions/[email protected]
with:
go-version: 1.17
- uses: actions/checkout@v2
- uses: technote-space/[email protected]
with:
PATTERNS: |
**/**.go
go.mod
go.sum
- name: Build Docker Image
run: |
make docker-build-debug
if: env.GIT_DIFF
- name: Test E2E
run: |
make test-e2e
if: env.GIT_DIFF
4 changes: 2 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
run:
tests: false
# # timeout for analysis, e.g. 30s, 5m, default is 1m
# timeout: 5m
skip-dirs:
- tests/e2e

linters:
disable-all: true
Expand Down
14 changes: 9 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ Ref: https://keepachangelog.com/en/1.0.0/

## [Unreleased]

## [7.0.0-rc0] - 2022-03-16
## [v7.0.0] - 2022-03-24
- (gaia) bump [cosmos-sdk](https://github.com/cosmos/cosmos-sdk) to [v0.45.1](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.45.1). See [CHANGELOG.md](https://github.com/cosmos/cosmos-sdk/blob/v0.45.1/CHANGELOG.md#v0451---2022-02-03) for details.
- (gaia) bump [ibc-go](https://github.com/cosmos/ibc-go) module to [v3.0.0](https://github.com/cosmos/ibc-go/releases/tag/v3.0.0). See [CHANGELOG.md](https://github.com/cosmos/ibc-go/blob/v3.0.0/CHANGELOG.md#v300---2022-03-15) for details.
- (gaia) add [interhcian account](https://github.com/cosmos/ibc-go/tree/main/modules/apps/27-interchain-accounts) module (interhchain-account module is part of ibc-go module).
- (gaia) bump [liquidity](github.com/gravity-devs/liquidity/x/liquidity) module to [v1.5.0](https://github.com/Gravity-Devs/liquidity/releases/tag/v1.5.0). See [CHANGELOG.md](https://github.com/Gravity-Devs/liquidity/blob/v1.5.0/CHANGELOG.md#v150---20220223) for details.
- (gaia) add [interchain account](https://github.com/cosmos/ibc-go/tree/main/modules/apps/27-interchain-accounts) module (interhchain-account module is part of ibc-go module).
- (gaia) bump [liquidity](https://github.com/gravity-devs/liquidity) module to [v1.5.0](https://github.com/Gravity-Devs/liquidity/releases/tag/v1.5.0). See [CHANGELOG.md](https://github.com/Gravity-Devs/liquidity/blob/v1.5.0/CHANGELOG.md#v150---20220223) for details.
- (gaia) bump [packet-forward-middleware](https://github.com/strangelove-ventures/packet-forward-middleware) module to [v2.1.1](https://github.com/strangelove-ventures/packet-forward-middleware/releases/tag/v2.1.1).
- (gaia) add migration logs for upgrade process.

Expand Down Expand Up @@ -78,6 +78,10 @@ Ref: https://keepachangelog.com/en/1.0.0/

* (gaia) This release includes a new AnteHandler that rejects redundant IBC transactions to save relayers fees.

## [v5.0.8] - 2021-10-14

* (gaia) This release includes a new AnteHandler that rejects redundant IBC transactions to save relayers fees.

## [v5.0.7] - 2021-09-30

* (gaia) Bump Cosmos SDK to 0.42.10
Expand Down Expand Up @@ -411,8 +415,8 @@ See the [Tendermint v0.34.7 SDK changelog](https://github.com/tendermint/tenderm

<!-- Release links -->

[Unreleased]: https://github.com/cosmos/gaia/compare/v7.0.0-rc1...HEAD
[7.0.0-rc0]: https://github.com/cosmos/gaia/releases/tag/v7.0.0-rc0
[Unreleased]: https://github.com/cosmos/gaia/compare/v7.0.1...HEAD
[v7.0.0]: https://github.com/cosmos/gaia/releases/tag/v7.0.0
[v6.0.4]: https://github.com/cosmos/gaia/releases/tag/v6.0.4
[v6.0.3]: https://github.com/cosmos/gaia/releases/tag/v6.0.3
[v6.0.2]: https://github.com/cosmos/gaia/releases/tag/v6.0.2
Expand Down
46 changes: 31 additions & 15 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -170,22 +170,39 @@ sync-docs:

include sims.mk

test: test-unit test-build

test-all: check test-race test-cover

test-unit:
@VERSION=$(VERSION) go test -mod=readonly -tags='ledger test_ledger_mock' ./...

test-race:
@VERSION=$(VERSION) go test -mod=readonly -race -tags='ledger test_ledger_mock' ./...
PACKAGES_UNIT=$(shell go list ./... | grep -v -e '/tests/e2e')
PACKAGES_E2E=$(shell go list ./... | grep '/e2e')
TEST_PACKAGES=./...
TEST_TARGETS := test-unit test-unit-cover test-race test-e2e

test-unit: ARGS=-timeout=5m -tags='norace'
test-unit: TEST_PACKAGES=$(PACKAGES_UNIT)
test-unit-cover: ARGS=-timeout=5m -tags='norace' -coverprofile=coverage.txt -covermode=atomic
test-unit-cover: TEST_PACKAGES=$(PACKAGES_UNIT)
test-race: ARGS=-timeout=5m -race
test-race: TEST_PACKAGES=$(PACKAGES_UNIT)
test-e2e: ARGS=-timeout=25m -v
test-e2e: TEST_PACKAGES=$(PACKAGES_E2E)
$(TEST_TARGETS): run-tests

run-tests:
ifneq (,$(shell which tparse 2>/dev/null))
@echo "--> Running tests"
@go test -mod=readonly -json $(ARGS) $(TEST_PACKAGES) | tparse
else
@echo "--> Running tests"
@go test -mod=readonly $(ARGS) $(TEST_PACKAGES)
endif

test-cover:
@go test -mod=readonly -timeout 30m -race -coverprofile=coverage.txt -covermode=atomic -tags='ledger test_ledger_mock' ./...
.PHONY: run-tests $(TEST_TARGETS)

benchmark:
@go test -mod=readonly -bench=. ./...
docker-build-debug:
@docker build -t cosmos/gaiad-e2e --build-arg IMG_TAG=debug -f e2e.Dockerfile .

# TODO: Push this to the Cosmos Dockerhub so we don't have to keep building it
# in CI.
docker-build-hermes:
@cd tests/e2e/docker; docker build -t cosmos/hermes-e2e:latest -f hermes.Dockerfile .

###############################################################################
### Linting ###
Expand Down Expand Up @@ -229,7 +246,6 @@ test-docker-push: test-docker
.PHONY: all build-linux install format lint \
go-mod-cache draw-deps clean build \
setup-transactions setup-contract-tests-data start-gaia run-lcd-contract-tests contract-tests \
test test-all test-build test-cover test-unit test-race \
benchmark \
build-docker-gaiadnode localnet-start localnet-stop \
docker-single-node
docker-single-node docker-build-debug docker-build-hermes
55 changes: 26 additions & 29 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,6 @@ import (
_ "github.com/cosmos/cosmos-sdk/client/docs/statik"
)

const appName = "GaiaApp"
const upgradeName = "v7-Theta"

var (
// DefaultNodeHome default home directories for the application daemon
DefaultNodeHome string
Expand Down Expand Up @@ -637,32 +634,32 @@ func NewGaiaApp(
hostParams := icahosttypes.Params{
HostEnabled: true,
AllowMessages: []string{
"/cosmos.authz.v1beta1.MsgExec",
"/cosmos.authz.v1beta1.MsgGrant",
"/cosmos.authz.v1beta1.MsgRevoke",
"/cosmos.bank.v1beta1.MsgSend",
"/cosmos.bank.v1beta1.MsgMultiSend",
"/cosmos.distribution.v1beta1.MsgSetWithdrawAddress",
"/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission",
"/cosmos.distribution.v1beta1.MsgFundCommunityPool",
"/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward",
"/cosmos.feegrant.v1beta1.MsgGrantAllowance",
"/cosmos.feegrant.v1beta1.MsgRevokeAllowance",
"/cosmos.gov.v1beta1.MsgVoteWeighted",
"/cosmos.gov.v1beta1.MsgSubmitProposal",
"/cosmos.gov.v1beta1.MsgDeposit",
"/cosmos.gov.v1beta1.MsgVote",
"/cosmos.staking.v1beta1.MsgEditValidator",
"/cosmos.staking.v1beta1.MsgDelegate",
"/cosmos.staking.v1beta1.MsgUndelegate",
"/cosmos.staking.v1beta1.MsgBeginRedelegate",
"/cosmos.staking.v1beta1.MsgCreateValidator",
"/cosmos.vesting.v1beta1.MsgCreateVestingAccount",
"/ibc.applications.transfer.v1.MsgTransfer",
"/tendermint.liquidity.v1beta1.MsgCreatePool",
"/tendermint.liquidity.v1beta1.MsgSwapWithinBatch",
"/tendermint.liquidity.v1beta1.MsgDepositWithinBatch",
"/tendermint.liquidity.v1beta1.MsgWithdrawWithinBatch",
authzMsgExec,
authzMsgGrant,
authzMsgRevoke,
bankMsgSend,
bankMsgMultiSend,
distrMsgSetWithdrawAddr,
distrMsgWithdrawValidatorCommission,
distrMsgFundCommunityPool,
distrMsgWithdrawDelegatorReward,
feegrantMsgGrantAllowance,
feegrantMsgRevokeAllowance,
govMsgVoteWeighted,
govMsgSubmitProposal,
govMsgDeposit,
govMsgVote,
stakingMsgEditValidator,
stakingMsgDelegate,
stakingMsgUndelegate,
stakingMsgBeginRedelegate,
stakingMsgCreateValidator,
vestingMsgCreateVestingAccount,
transferMsgTransfer,
liquidityMsgCreatePool,
liquidityMsgSwapWithinBatch,
liquidityMsgDepositWithinBatch,
liquidityMsgWithdrawWithinBatch,
},
}

Expand Down
33 changes: 33 additions & 0 deletions app/const.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
package gaia

const (
appName = "GaiaApp"
upgradeName = "v7-Theta"

authzMsgExec = "/cosmos.authz.v1beta1.MsgExec"
authzMsgGrant = "/cosmos.authz.v1beta1.MsgGrant"
authzMsgRevoke = "/cosmos.authz.v1beta1.MsgRevoke"
bankMsgSend = "/cosmos.bank.v1beta1.MsgSend"
bankMsgMultiSend = "/cosmos.bank.v1beta1.MsgMultiSend"
distrMsgSetWithdrawAddr = "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress"
distrMsgWithdrawValidatorCommission = "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission"
distrMsgFundCommunityPool = "/cosmos.distribution.v1beta1.MsgFundCommunityPool"
distrMsgWithdrawDelegatorReward = "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward"
feegrantMsgGrantAllowance = "/cosmos.feegrant.v1beta1.MsgGrantAllowance"
feegrantMsgRevokeAllowance = "/cosmos.feegrant.v1beta1.MsgRevokeAllowance"
govMsgVoteWeighted = "/cosmos.gov.v1beta1.MsgVoteWeighted"
govMsgSubmitProposal = "/cosmos.gov.v1beta1.MsgSubmitProposal"
govMsgDeposit = "/cosmos.gov.v1beta1.MsgDeposit"
govMsgVote = "/cosmos.gov.v1beta1.MsgVote"
stakingMsgEditValidator = "/cosmos.staking.v1beta1.MsgEditValidator"
stakingMsgDelegate = "/cosmos.staking.v1beta1.MsgDelegate"
stakingMsgUndelegate = "/cosmos.staking.v1beta1.MsgUndelegate"
stakingMsgBeginRedelegate = "/cosmos.staking.v1beta1.MsgBeginRedelegate"
stakingMsgCreateValidator = "/cosmos.staking.v1beta1.MsgCreateValidator"
vestingMsgCreateVestingAccount = "/cosmos.vesting.v1beta1.MsgCreateVestingAccount"
transferMsgTransfer = "/ibc.applications.transfer.v1.MsgTransfer"
liquidityMsgCreatePool = "/tendermint.liquidity.v1beta1.MsgCreatePool"
liquidityMsgSwapWithinBatch = "/tendermint.liquidity.v1beta1.MsgSwapWithinBatch"
liquidityMsgDepositWithinBatch = "/tendermint.liquidity.v1beta1.MsgDepositWithinBatch"
liquidityMsgWithdrawWithinBatch = "/tendermint.liquidity.v1beta1.MsgWithdrawWithinBatch"
)
Loading

0 comments on commit 0ccfe31

Please sign in to comment.