Skip to content

Commit

Permalink
docs: all fees (#1615)
Browse files Browse the repository at this point in the history
* remove non-46 packages until go mod tidy runs

* builds but had to remove IBC and E2E

* fix: undeclared identifier 'kIOMainPortDefault'

* restore E2E

* add back minimal upgrade handler

* Add local e2e docker

* fix: keys list

* fix: e2e test

* Fix e2e (#1479)

* adding debug lines to e2e

* adding debug lines to e2e

* Add local e2e docker

* removed logs, e2e runs but still no blocks produced

* fix: keys list

* nits

* adding debug lines to e2e

* adding debug lines to e2e

* removed logs, e2e runs but still no blocks produced

* fix conflicts

* Update tests/e2e/keys.go

* fix: e2e test

* adding debug lines to e2e

* fix conflicts

* removed logs, e2e runs but still no blocks produced

* fix conflicts

* adding debug lines to e2e

* fix conflicts

* removed logs, e2e runs but still no blocks produced

* format fixes

* try adding new tendermint --mode flag to ignite CLI for liveness-test CI

* validator mode, bank send test, no relayer

* passing!

* remove liveness test

* Add await block to token send e2e test to accomodate docker network lag

* Remove local e2e dockerfile experiment

* Replace commented out test with Skip

Co-authored-by: lg <lauren@interchain.io>
Co-authored-by: Yaru Wang <yaru@interchain.io>

* add global fee module

* add glob fee ante handler

* add glob fee to app

* add proto files

* add proto script and docs

* fix tests

* add globalfee README

* Update README.md

* fix: lint

* add: globfee antehandler

* fix lint

* docs: all fees

* docs: update fee readme

* docs: minor corrections

* docs: adjust

* Update antehandler docs

Updated the readability of the tex and removed some duplicates

* custom global fee: make global accept fee bypass, define fee denoms (#1570)

* add globalfee decorator to bypass min fee decorator

* fix: fee.go

* add: tests for min_gas_price, globalfee and bypass fee

* fix: lint

* feat: check fee not paid in the denom of global fee

* feat: custom globalfee checks

* fix:global fee TestValidateGenesis

* fix: lint, add more testcases

* remove automatically sort globalfee denom

* remove original globalfee antehandler, add more testcases

* fix: build test

* Update ante/fee.go

Co-authored-by: billy rennekamp <billy.rennekamp@gmail.com>

* add comments, change IsAnyGTEIncludingZero to consider empty sets

* refactor: fee_test.go

* refactor: add setTestGasLimit func

* fix: all fees (#1609)

* Updated roadmap, removed tendermint v0.35 and Budget module (#1571)

* swap out ignite for liveness test (#1574)

* swap out ignite for liveness test

* force liveness test to run

* add min-gas-price

* add validator mode flag

* show logs

* add more logs

* add more logs

* gopath

* more logs

* change to build dir

* change to pkg

* change sed for linux

* clean up

* fix ledger nano s dependency (#1575)

thanks @julienrbrt ! Will make a new issue to follow up on cosmos/ledger-go

* fumpt (#1581)

* fumpt

* remove gitpod

* Fix error handling and fix linting (#1507)

* Fix error handling and fix linting.

* Update lint.yml

* Update .golangci.yml

* keep actions same as main

Co-authored-by: billy rennekamp <billy.rennekamp@gmail.com>

* gofumpt -w -l for consistency with cosmos-sdk (#1512)

* Update lint.yml (#1547)

* Update lint.yml

opening in place of #1509 to make gaia consistent with cosmos sdk

* Update .golangci.yml

* Update .github/workflows/lint.yml

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

* Fix typo (#1583)

* Bump actions/cache from 3.0.4 to 3.0.5 (#1585)

Bumps [actions/cache](https://github.com/actions/cache) from 3.0.4 to 3.0.5.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3.0.4...v3.0.5)

---
updated-dependencies:
- dependency-name: actions/cache
  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 Docs: Overview page (#1586)

Made changes to the Wallet section:
 - Put Crypto.com in alphabetical order
 - Added Citadel.One

* Bump actions/stale from 5.0.0 to 5.1.0 (#1589)

Bumps [actions/stale](https://github.com/actions/stale) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v5.0.0...v5.1.0)

---
updated-dependencies:
- dependency-name: actions/stale
  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>

* Fix formatting in join-testnet.md (#1588)

The code block endquote was misplaced.

* Update CODEOWNERS (#1591)

Remove tokamak-git from codeowners

* Update markdown links/config (#1590)

* Update mlc_config.json

Http header check to (hopefully) remove the 403 error for some url's

* Update mlc_config.json

Header check does not work, reverting.

* Update overview.md

Disabled check for token.im

* Update join-mainnet.md

Disabled check for cosmos.stake.id

* Bump github.com/golangci/golangci-lint from 1.46.0 to 1.47.0 (#1593)

Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.46.0 to 1.47.0.
- [Release notes](https://github.com/golangci/golangci-lint/releases)
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/golangci/golangci-lint/compare/v1.46.0...v1.47.0)

---
updated-dependencies:
- dependency-name: github.com/golangci/golangci-lint
  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>

* Bump github.com/golangci/golangci-lint from 1.47.0 to 1.47.1 (#1597)

Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.47.0 to 1.47.1.
- [Release notes](https://github.com/golangci/golangci-lint/releases)
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/golangci/golangci-lint/compare/v1.47.0...v1.47.1)

---
updated-dependencies:
- dependency-name: github.com/golangci/golangci-lint
  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>

* Bump docker/build-push-action from 2.5.0 to 3.1.0 (#1598)

Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2.5.0 to 3.1.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/ad44023a93711e3deb337508980b4b5e9bcdc5dc...1cb9d22b932e4832bb29793b7777ec860fc1cde0)

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

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

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

* Bump terser from 4.8.0 to 4.8.1 in /docs (#1599)

Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

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

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

* Correcting the email address in Code of Conduct (#1600)

contact@interchain.berlin is no longer active/monitored. Changing to hello@interchain.io

* fix: globalfee antehandler to exclude the cases of zero paidfee

* increase validator set to 175 (#1603)

* add: test cases for globalfee contains zero coins

* Bump JamesIves/github-pages-deploy-action from 4.3.2 to 4.4.0 (#1606)

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

---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-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>

* Bump github.com/golangci/golangci-lint from 1.47.1 to 1.47.2 (#1605)

Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.47.1 to 1.47.2.
- [Release notes](https://github.com/golangci/golangci-lint/releases)
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/golangci/golangci-lint/compare/v1.47.1...v1.47.2)

---
updated-dependencies:
- dependency-name: github.com/golangci/golangci-lint
  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>

* fix: errlog

* Update release-sims.yml (#1613)

* Update sims.yml (#1612)

* Update sims.yml

* Update sims.yml

* Update sims.yml

* Update sims.yml

* Update sims.yml

* Update sims.yml

* Bump actions/stale from 5.1.0 to 5.1.1 (#1617)

Bumps [actions/stale](https://github.com/actions/stale) from 5.1.0 to 5.1.1.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/v5.1.1/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v5.1.0...v5.1.1)

---
updated-dependencies:
- dependency-name: actions/stale
  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>

* Morelint (#1611)

* Update lint.yml

* Update lint.yml

* Update lint.yml

* Update lint.yml

* linting

* linting complete

* Cosmos Hub with ibc-go v5 and cosmos-sdk v0.46.0 (#1616)

* Cosmos Hub with ibc-go v5 and cosmos-sdk v0.46.0

* e2e cleanup

* fix e2e

* note the many golangci-lint warnings

* complete linting

* remove linters replaced by gofumpt

* tidy

* math

* tidy

* Update lint.yml

* use go workspace for e2e

* use go workspace

* remove unused but not deadcode

* pause

* fix e2e

* update figment.io for link CI

Co-authored-by: billy rennekamp <billy.rennekamp@gmail.com>

* remove now-unnecessary replace statement in go.mod (#1626)

* remove now-unnecessary replace statement in go.mod

* name the decorator

* fixup

* Bump github.com/gravity-devs/liquidity/v2 from 2.0.0-rc3 to 2.0.0 (#1637)

[//]: # (dependabot-start)
⚠️  **Dependabot is rebasing this PR** ⚠️ 

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.

---

[//]: # (dependabot-end)

Bumps [github.com/gravity-devs/liquidity/v2](https://github.com/gravity-devs/liquidity) from 2.0.0-rc3 to 2.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/gravity-devs/liquidity/releases">github.com/gravity-devs/liquidity/v2's releases</a>.</em></p>
<blockquote>
<h3>v2.0.0 contain state-breaking changes <a href="https://github-redirect.dependabot.com/Gravity-Devs/liquidity/pull/15">Gravity-Devs/liquidity#15</a></h3>
<ul>
<li>bump cosmos-sdk to v0.46.0-rc2</li>
<li>remove swap functionality (circuit breaker enabled and deprecated on the cosmos-hub)</li>
<li>bump package name to liquididty/v2</li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/Gravity-Devs/liquidity/compare/v1.5.0...v2.0.0">https://github.com/Gravity-Devs/liquidity/compare/v1.5.0...v2.0.0</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/Gravity-Devs/liquidity/blob/master/CHANGELOG.md">github.com/gravity-devs/liquidity/v2's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/Gravity-Devs/liquidity/releases/tag/v2.0.0">v2.0.0</a> - 2022.07.27</h2>
<h3>State Machine Breaking</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/Gravity-Devs/liquidity/pull/15">#15</a> (sdk) Bump SDK version to <a href="https://github.com/cosmos/cosmos-sdk/releases/tag/v0.46.0-rc1">v0.46.0-rc1</a></li>
<li><a href="https://github-redirect.dependabot.com/Gravity-Devs/liquidity/pull/15">#15</a> Remove swap functionality (circuit breaker enabled on cosmos-hub, deprecated)</li>
</ul>
<h2><a href="https://github.com/tendermint/liquidity/releases/tag/v1.5.0">v1.5.0</a> - 2022.02.23</h2>
<h3>State Machine Breaking</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/tendermint/liquidity/pull/466">#466</a> fix: exclude circuit breaking logic for MsgWithdrawWithinBatch</li>
<li><a href="https://github-redirect.dependabot.com/tendermint/liquidity/pull/473">#473</a> (sdk) Bump SDK version to <a href="https://github.com/cosmos/cosmos-sdk/releases/tag/v0.45.1">v0.45.1</a></li>
</ul>
<h2><a href="https://github.com/tendermint/liquidity/releases/tag/v1.4.6">v1.4.6</a> - 2022.02.23</h2>
<ul>
<li><a href="https://github-redirect.dependabot.com/tendermint/liquidity/pull/475">#475</a> (sdk) Bump SDK version to <a href="https://github.com/cosmos/cosmos-sdk/releases/tag/v0.44.6">v0.44.6</a></li>
</ul>
<h2><a href="https://github.com/tendermint/liquidity/releases/tag/v1.4.5">v1.4.5</a> - 2022.01.30</h2>
<ul>
<li>Unusable release</li>
</ul>
<h2><a href="https://github.com/tendermint/liquidity/releases/tag/v1.4.4">v1.4.4</a> - 2022.01.26</h2>
<ul>
<li>Unusable release</li>
</ul>
<h2><a href="https://github.com/tendermint/liquidity/releases/tag/v1.4.2">v1.4.2</a> - 2021.11.11</h2>
<ul>
<li><a href="https://github-redirect.dependabot.com/tendermint/liquidity/pull/461">#461</a> (sdk) Bump SDK version to <a href="https://github.com/cosmos/cosmos-sdk/releases/tag/v0.44.3">v0.44.3</a></li>
</ul>
<h2><a href="https://github.com/tendermint/liquidity/releases/tag/v1.4.1">v1.4.1</a> - 2021.10.25</h2>
<ul>
<li><a href="https://github-redirect.dependabot.com/tendermint/liquidity/pull/455">#455</a> (sdk) Bump SDK version to <a href="https://github.com/cosmos/cosmos-sdk/releases/tag/v0.44.2">v0.44.2</a></li>
<li><a href="https://github-redirect.dependabot.com/tendermint/liquidity/pull/446">#446</a> Fix: Pool Coin Decimal Truncation During Deposit</li>
<li><a href="https://github-redirect.dependabot.com/tendermint/liquidity/pull/448">#448</a> Fix: add overflow checking and test codes for cover edge cases</li>
</ul>
<h2><a href="https://github.com/tendermint/liquidity/releases/tag/v1.4.0">v1.4.0</a> - 2021.09.07</h2>
<ul>
<li><a href="https://github-redirect.dependabot.com/tendermint/liquidity/pull/440">#440</a> (sdk) Bump SDK version to <a href="https://github.com/cosmos/cosmos-sdk/releases/tag/v0.44.0">v0.44.0</a></li>
</ul>
<h2><a href="https://github.com/tendermint/liquidity/releases/tag/v1.3.0">v1.3.0</a> - 2021-08-31</h2>
<h3>State Machine Breaking</h3>
<ul>
<li>
<p><a href="https://github-redirect.dependabot.com/tendermint/liquidity/pull/433">#433</a> (sdk) Bump SDK version to <a href="https://github.com/cosmos/cosmos-sdk/releases/tag/v0.43.0">v0.43.0</a>.</p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/tendermint/liquidity/pull/436">#436</a> Validation <code>MsgSwapWithinBatch</code> and <code>OfferCoinFee</code> ceiling</p>
<ul>
<li>When calculating <code>OfferCoinFee</code>, the decimal points are rounded up.
<ul>
<li>before (v1.2.x):  <code>MsgSwapWithinBatch.OfferCoinFee</code> should be <code>OfferCoin</code> * <code>params.SwapFeeRate/2</code> with Truncate or 0</li>
<li>after (v1.3.x):  <code>MsgSwapWithinBatch.OfferCoinFee</code> should be <code>OfferCoin</code> * <code>params.SwapFeeRate/2</code> with Ceil</li>
</ul>
</li>
<li>Fix reserveOfferCoinFee residual Issue due to decimal error</li>
</ul>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/tendermint/liquidity/pull/438">#438</a> Fix PoolBatch index, beginHeight issues and genesis logic</p>
</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/Gravity-Devs/liquidity/commit/05cd43d414ae0d3f0ad523e38b88b196bbf8ecfd"><code>05cd43d</code></a> bump gogo/proto down to a version that exists upstream</li>
<li><a href="https://github.com/Gravity-Devs/liquidity/commit/ba7b225e20d79dfeb8daa59db791ae6367ff7ef3"><code>ba7b225</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/gravity-devs/liquidity/issues/15">#15</a> from Gravity-Devs/v2-rho-prepare</li>
<li>See full diff in <a href="https://github.com/gravity-devs/liquidity/compare/v2.0.0-rc3...v2.0.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/gravity-devs/liquidity/v2&package-manager=go_modules&previous-version=2.0.0-rc3&new-version=2.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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

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

---

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

* Bump github.com/golangci/golangci-lint from 1.47.2 to 1.47.3 (#1636)

Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.47.2 to 1.47.3.
- [Release notes](https://github.com/golangci/golangci-lint/releases)
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/golangci/golangci-lint/compare/v1.47.2...v1.47.3)

---
updated-dependencies:
- dependency-name: github.com/golangci/golangci-lint
  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>

* Bump cosmossdk.io/math from 1.0.0-beta.2 to 1.0.0-beta.3 (#1635)

Bumps [cosmossdk.io/math](https://github.com/cosmos/cosmos-sdk) from 1.0.0-beta.2 to 1.0.0-beta.3.
- [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/math/v1.0.0-beta.2...math/v1.0.0-beta.3)

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

* Update cosmos/ledger-go to release version (#1634)

Co-authored-by: billy rennekamp <billy.rennekamp@gmail.com>

* work on the workspace (#1641)

thank you @faddat !

* closes #1621 (#1628)

* closes #1621

* run from root

* change to nonroot

* Create .gitpod.yml (#1601)

thanks @faddat !

* Revert "closes #1621 (#1628)" (#1646)

This reverts commit e911a62da68040290aabb38ab10645a940dc20f4.

* add back ibc e2e tests (#1625)

* add back ibc e2e tests

* added teardown but fund_community_pool fails now

* fixed calculation

* add sleep

* ensure correct endpoint

* try skipping cancel upgrade

* add back upgrade but make height further in future

* skip  cancel upgrade test

* docs: add testing building artifacts in release (#1647)

* Bump github.com/golangci/golangci-lint from 1.47.3 to 1.48.0 (#1649)

Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.47.3 to 1.48.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/golangci/golangci-lint/releases">github.com/golangci/golangci-lint's releases</a>.</em></p>
<blockquote>
<h2>v1.48.0</h2>
<h2>Changelog</h2>
<ul>
<li>368c41cd build(deps): bump github.com/daixiang0/gci from 0.5.0 to 0.6.0 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3035">#3035</a>)</li>
<li>2d8fea81 build(deps): bump github.com/daixiang0/gci from 0.6.0 to 0.6.2 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3058">#3058</a>)</li>
<li>aeb5860c build(deps): bump github.com/kisielk/errcheck from 1.6.1 to 1.6.2 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3059">#3059</a>)</li>
<li>0559b922 build(deps): bump revgrep to HEAD (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3054">#3054</a>)</li>
<li>6313fa9a contextcheck: disable linter (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3050">#3050</a>)</li>
<li>0ba1388a feat: add usestdlibvars (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3016">#3016</a>)</li>
<li>1557692e feat: go1.19 support  (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3037">#3037</a>)</li>
<li>15cba447 gci: add missing <code>custom-order</code> setting (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3052">#3052</a>)</li>
<li>9a1b9492 ifshort: deprecate linter (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3034">#3034</a>)</li>
<li>f8f8f9a6 nolint: drop allow-leading-space option and add &quot;nolint:all&quot; (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3002">#3002</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md">github.com/golangci/golangci-lint's changelog</a>.</em></p>
<blockquote>
<h3>v1.48.0</h3>
<ol>
<li>new linters
<ul>
<li><code>usestdlibvars</code>:<a href="https://github.com/sashamelentyev/usestdlibvars">https://github.com/sashamelentyev/usestdlibvars</a></li>
</ul>
</li>
<li>updated linters
<ul>
<li><code>contextcheck</code>: disable linter</li>
<li><code>errcheck</code>: from 1.6.1 to 1.6.2</li>
<li><code>gci</code>: add missing <code>custom-order</code> setting</li>
<li><code>gci</code>: from 0.5.0 to 0.6.0</li>
<li><code>ifshort</code>: deprecate linter</li>
<li><code>nolint</code>: drop allow-leading-space option and add &quot;nolint:all&quot;</li>
<li><code>revgrep</code>: bump to HEAD</li>
</ul>
</li>
<li>documentation
<ul>
<li>remove outdated info on source install</li>
</ul>
</li>
<li>misc
<ul>
<li>go1.19 support</li>
</ul>
</li>
</ol>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/golangci/golangci-lint/commit/2d8fea819e651d384cf47784a5fb9c789cf5bd59"><code>2d8fea8</code></a> build(deps): bump github.com/daixiang0/gci from 0.6.0 to 0.6.2 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3058">#3058</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/aeb5860ca84aa6115f8c5b469cec174921350c29"><code>aeb5860</code></a> build(deps): bump github.com/kisielk/errcheck from 1.6.1 to 1.6.2 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3059">#3059</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/0559b9220bcc3b726041135fca2fd7f26c763a5c"><code>0559b92</code></a> build(deps): bump revgrep to HEAD (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3054">#3054</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/3ffde13a17071e61d3ab75a6ddd158cf81046d95"><code>3ffde13</code></a> dev: remove stable from actions/setup-go (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3055">#3055</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/1557692e59c0db1b6eaa771a5887f9434158683d"><code>1557692</code></a> feat: go1.19 support  (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3037">#3037</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/6313fa9a673cbbc339501f077154115254e28509"><code>6313fa9</code></a> contextcheck: disable linter (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3050">#3050</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/0ba1388a4194525dfea1e8b91211c49de9d260f2"><code>0ba1388</code></a> feat: add usestdlibvars (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3016">#3016</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/15cba447fd0e577f1f60170bb188b5c0eca04dab"><code>15cba44</code></a> gci: add missing <code>custom-order</code> setting (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3052">#3052</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/452544a2e7ae9a8fff6422298b0384818de77807"><code>452544a</code></a> build(deps): bump gatsby from 4.15.2 to 4.19.2 in /docs (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3046">#3046</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/f9dfb687aa3a7ea9789219e9eb4842ece424b739"><code>f9dfb68</code></a> build(deps): bump gatsby-transformer-yaml from 4.13.0 to 4.19.0 in /docs (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3045">#3045</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/golangci/golangci-lint/compare/v1.47.3...v1.48.0">compare view</a></li>
</ul>
</details>
<br />


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

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

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

---

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

* bump packet-forward-midddleware (#1651)

* bump packet-forward-middleware

* import packet-forward-middleware

* fix: lint

* fix: gofumpt

* formatting

* fix: formatting

* Bump actions/cache from 3.0.5 to 3.0.6 (#1650)

* Bump actions/cache from 3.0.5 to 3.0.6

Bumps [actions/cache](https://github.com/actions/cache) from 3.0.5 to 3.0.6.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3.0.5...v3.0.6)

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

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

* Removed spacing for nolint directives

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

* PR review updates

* gofumpt lint

* Update ante/fee.go

* linting

* Update ante/fee_utils.go

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

* change hermes test to uatom

* convert tests from photon to uatom

Co-authored-by: Milan Mulji <98309852+mmulji-ic@users.noreply.github.com>
Co-authored-by: billy rennekamp <billy.rennekamp@gmail.com>
Co-authored-by: Jacob Gadikian <jacobgadikian@gmail.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Rootul Patel <rootulp@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Syed C <101879995+syed-Interchain@users.noreply.github.com>
Co-authored-by: Kevin Yang <5478483+k-yang@users.noreply.github.com>
Co-authored-by: Barrie Byron <barrie.byron@tendermint.com>
Co-authored-by: Gjermund Bjaanes <gjermund@empower.eco>
Co-authored-by: lg <8335464+glnro@users.noreply.github.com>

* last minute nits

Co-authored-by: billy rennekamp <billy.rennekamp@gmail.com>
Co-authored-by: Milan Mulji <98309852+mmulji-ic@users.noreply.github.com>
Co-authored-by: Jacob Gadikian <jacobgadikian@gmail.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Rootul Patel <rootulp@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Syed C <101879995+syed-Interchain@users.noreply.github.com>
Co-authored-by: Kevin Yang <5478483+k-yang@users.noreply.github.com>
Co-authored-by: Barrie Byron <barrie.byron@tendermint.com>
Co-authored-by: Gjermund Bjaanes <gjermund@empower.eco>
Co-authored-by: lg <8335464+glnro@users.noreply.github.com>

* fix: fix doc according to comments

* refactor: change globalfee doc path to docs/modules/globalfee

* test: global fee e2e tests, bypass fee e2e (#1594)

* add: globalfee e2e test

* add: genesis.go for global fee

* Update tests/e2e/e2e_test.go

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

* remove redundancy

* add globalfee decorator to bypass min fee decorator

* fix: fee.go

* add: tests for min_gas_price, globalfee and bypass fee

* fix: lint

* feat: check fee not paid in the denom of global fee

* fix ledger nano s dependency (#1575)

thanks @julienrbrt ! Will make a new issue to follow up on cosmos/ledger-go

* feat: custom globalfee checks

* fix:global fee TestValidateGenesis

* fix: lint, add more testcases

* remove automatically sort globalfee denom

* remove original globalfee antehandler, add more testcases

* fix: build test

* Update ante/fee.go

Co-authored-by: billy rennekamp <billy.rennekamp@gmail.com>

* add comments, change IsAnyGTEIncludingZero to consider empty sets

* refactor: fee_test.go

* refactor: add setTestGasLimit func

* fumpt (#1581)

* fumpt

* remove gitpod

* Fix error handling and fix linting (#1507)

* Fix error handling and fix linting.

* Update lint.yml

* Update .golangci.yml

* keep actions same as main

Co-authored-by: billy rennekamp <billy.rennekamp@gmail.com>

* gofumpt -w -l for consistency with cosmos-sdk (#1512)

* Update lint.yml (#1547)

* Update lint.yml

opening in place of #1509 to make gaia consistent with cosmos sdk

* Update .golangci.yml

* Update .github/workflows/lint.yml

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

* Fix typo (#1583)

* Bump actions/cache from 3.0.4 to 3.0.5 (#1585)

Bumps [actions/cache](https://github.com/actions/cache) from 3.0.4 to 3.0.5.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3.0.4...v3.0.5)

---
updated-dependencies:
- dependency-name: actions/cache
  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 Docs: Overview page (#1586)

Made changes to the Wallet section:
 - Put Crypto.com in alphabetical order
 - Added Citadel.One

* Bump actions/stale from 5.0.0 to 5.1.0 (#1589)

Bumps [actions/stale](https://github.com/actions/stale) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v5.0.0...v5.1.0)

---
updated-dependencies:
- dependency-name: actions/stale
  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>

* Fix formatting in join-testnet.md (#1588)

The code block endquote was misplaced.

* Update CODEOWNERS (#1591)

Remove tokamak-git from codeowners

* Update markdown links/config (#1590)

* Update mlc_config.json

Http header check to (hopefully) remove the 403 error for some url's

* Update mlc_config.json

Header check does not work, reverting.

* Update overview.md

Disabled check for token.im

* Update join-mainnet.md

Disabled check for cosmos.stake.id

* Bump github.com/golangci/golangci-lint from 1.46.0 to 1.47.0 (#1593)

Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.46.0 to 1.47.0.
- [Release notes](https://github.com/golangci/golangci-lint/releases)
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/golangci/golangci-lint/compare/v1.46.0...v1.47.0)

---
updated-dependencies:
- dependency-name: github.com/golangci/golangci-lint
  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>

* add e2e test: gov propose globalfee

* add e2e test: empty globalfee

* Bump github.com/golangci/golangci-lint from 1.47.0 to 1.47.1 (#1597)

Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.47.0 to 1.47.1.
- [Release notes](https://github.com/golangci/golangci-lint/releases)
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/golangci/golangci-lint/compare/v1.47.0...v1.47.1)

---
updated-dependencies:
- dependency-name: github.com/golangci/golangci-lint
  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>

* Bump docker/build-push-action from 2.5.0 to 3.1.0 (#1598)

Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2.5.0 to 3.1.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/ad44023a93711e3deb337508980b4b5e9bcdc5dc...1cb9d22b932e4832bb29793b7777ec860fc1cde0)

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

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

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

* Bump terser from 4.8.0 to 4.8.1 in /docs (#1599)

Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

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

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

* Correcting the email address in Code of Conduct (#1600)

contact@interchain.berlin is no longer active/monitored. Changing to hello@interchain.io

* fix: globalfee antehandler to exclude the cases of zero paidfee

* increase validator set to 175 (#1603)

* add: test cases for globalfee contains zero coins

* Bump JamesIves/github-pages-deploy-action from 4.3.2 to 4.4.0 (#1606)

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

---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-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>

* Bump github.com/golangci/golangci-lint from 1.47.1 to 1.47.2 (#1605)

Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.47.1 to 1.47.2.
- [Release notes](https://github.com/golangci/golangci-lint/releases)
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/golangci/golangci-lint/compare/v1.47.1...v1.47.2)

---
updated-dependencies:
- dependency-name: github.com/golangci/golangci-lint
  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>

* add: tests for global fee

* add: all tests

* tests: add e2e tests for bypass_min_fee

* Update release-sims.yml (#1613)

* Update sims.yml (#1612)

* Update sims.yml

* Update sims.yml

* Update sims.yml

* Update sims.yml

* Update sims.yml

* Update sims.yml

* Bump actions/stale from 5.1.0 to 5.1.1 (#1617)

Bumps [actions/stale](https://github.com/actions/stale) from 5.1.0 to 5.1.1.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/v5.1.1/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v5.1.0...v5.1.1)

---
updated-dependencies:
- dependency-name: actions/stale
  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>

* Morelint (#1611)

* Update lint.yml

* Update lint.yml

* Update lint.yml

* Update lint.yml

* linting

* linting complete

* Cosmos Hub with ibc-go v5 and cosmos-sdk v0.46.0 (#1616)

* Cosmos Hub with ibc-go v5 and cosmos-sdk v0.46.0

* e2e cleanup

* fix e2e

* note the many golangci-lint warnings

* complete linting

* remove linters replaced by gofumpt

* tidy

* math

* tidy

* Update lint.yml

* use go workspace for e2e

* use go workspace

* remove unused but not deadcode

* pause

* fix e2e

* update figment.io for link CI

Co-authored-by: billy rennekamp <billy.rennekamp@gmail.com>

* remove now-unnecessary replace statement in go.mod (#1626)

* remove now-unnecessary replace statement in go.mod

* name the decorator

* fixup

* Bump github.com/gravity-devs/liquidity/v2 from 2.0.0-rc3 to 2.0.0 (#1637)

[//]: # (dependabot-start)
⚠️  **Dependabot is rebasing this PR** ⚠️ 

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.

---

[//]: # (dependabot-end)

Bumps [github.com/gravity-devs/liquidity/v2](https://github.com/gravity-devs/liquidity) from 2.0.0-rc3 to 2.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/gravity-devs/liquidity/releases">github.com/gravity-devs/liquidity/v2's releases</a>.</em></p>
<blockquote>
<h3>v2.0.0 contain state-breaking changes <a href="https://github-redirect.dependabot.com/Gravity-Devs/liquidity/pull/15">Gravity-Devs/liquidity#15</a></h3>
<ul>
<li>bump cosmos-sdk to v0.46.0-rc2</li>
<li>remove swap functionality (circuit breaker enabled and deprecated on the cosmos-hub)</li>
<li>bump package name to liquididty/v2</li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/Gravity-Devs/liquidity/compare/v1.5.0...v2.0.0">https://github.com/Gravity-Devs/liquidity/compare/v1.5.0...v2.0.0</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/Gravity-Devs/liquidity/blob/master/CHANGELOG.md">github.com/gravity-devs/liquidity/v2's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/Gravity-Devs/liquidity/releases/tag/v2.0.0">v2.0.0</a> - 2022.07.27</h2>
<h3>State Machine Breaking</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/Gravity-Devs/liquidity/pull/15">#15</a> (sdk) Bump SDK version to <a href="https://github.com/cosmos/cosmos-sdk/releases/tag/v0.46.0-rc1">v0.46.0-rc1</a></li>
<li><a href="https://github-redirect.dependabot.com/Gravity-Devs/liquidity/pull/15">#15</a> Remove swap functionality (circuit breaker enabled on cosmos-hub, deprecated)</li>
</ul>
<h2><a href="https://github.com/tendermint/liquidity/releases/tag/v1.5.0">v1.5.0</a> - 2022.02.23</h2>
<h3>State Machine Breaking</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/tendermint/liquidity/pull/466">#466</a> fix: exclude circuit breaking logic for MsgWithdrawWithinBatch</li>
<li><a href="https://github-redirect.dependabot.com/tendermint/liquidity/pull/473">#473</a> (sdk) Bump SDK version to <a href="https://github.com/cosmos/cosmos-sdk/releases/tag/v0.45.1">v0.45.1</a></li>
</ul>
<h2><a href="https://github.com/tendermint/liquidity/releases/tag/v1.4.6">v1.4.6</a> - 2022.02.23</h2>
<ul>
<li><a href="https://github-redirect.dependabot.com/tendermint/liquidity/pull/475">#475</a> (sdk) Bump SDK version to <a href="https://github.com/cosmos/cosmos-sdk/releases/tag/v0.44.6">v0.44.6</a></li>
</ul>
<h2><a href="https://github.com/tendermint/liquidity/releases/tag/v1.4.5">v1.4.5</a> - 2022.01.30</h2>
<ul>
<li>Unusable release</li>
</ul>
<h2><a href="https://github.com/tendermint/liquidity/releases/tag/v1.4.4">v1.4.4</a> - 2022.01.26</h2>
<ul>
<li>Unusable release</li>
</ul>
<h2><a href="https://github.com/tendermint/liquidity/releases/tag/v1.4.2">v1.4.2</a> - 2021.11.11</h2>
<ul>
<li><a href="https://github-redirect.dependabot.com/tendermint/liquidity/pull/461">#461</a> (sdk) Bump SDK version to <a href="https://github.com/cosmos/cosmos-sdk/releases/tag/v0.44.3">v0.44.3</a></li>
</ul>
<h2><a href="https://github.com/tendermint/liquidity/releases/tag/v1.4.1">v1.4.1</a> - 2021.10.25</h2>
<ul>
<li><a href="https://github-redirect.dependabot.com/tendermint/liquidity/pull/455">#455</a> (sdk) Bump SDK version to <a href="https://github.com/cosmos/cosmos-sdk/releases/tag/v0.44.2">v0.44.2</a></li>
<li><a href="https://github-redirect.dependabot.com/tendermint/liquidity/pull/446">#446</a> Fix: Pool Coin Decimal Truncation During Deposit</li>
<li><a href="https://github-redirect.dependabot.com/tendermint/liquidity/pull/448">#448</a> Fix: add overflow checking and test codes for cover edge cases</li>
</ul>
<h2><a href="https://github.com/tendermint/liquidity/releases/tag/v1.4.0">v1.4.0</a> - 2021.09.07</h2>
<ul>
<li><a href="https://github-redirect.dependabot.com/tendermint/liquidity/pull/440">#440</a> (sdk) Bump SDK version to <a href="https://github.com/cosmos/cosmos-sdk/releases/tag/v0.44.0">v0.44.0</a></li>
</ul>
<h2><a href="https://github.com/tendermint/liquidity/releases/tag/v1.3.0">v1.3.0</a> - 2021-08-31</h2>
<h3>State Machine Breaking</h3>
<ul>
<li>
<p><a href="https://github-redirect.dependabot.com/tendermint/liquidity/pull/433">#433</a> (sdk) Bump SDK version to <a href="https://github.com/cosmos/cosmos-sdk/releases/tag/v0.43.0">v0.43.0</a>.</p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/tendermint/liquidity/pull/436">#436</a> Validation <code>MsgSwapWithinBatch</code> and <code>OfferCoinFee</code> ceiling</p>
<ul>
<li>When calculating <code>OfferCoinFee</code>, the decimal points are rounded up.
<ul>
<li>before (v1.2.x):  <code>MsgSwapWithinBatch.OfferCoinFee</code> should be <code>OfferCoin</code> * <code>params.SwapFeeRate/2</code> with Truncate or 0</li>
<li>after (v1.3.x):  <code>MsgSwapWithinBatch.OfferCoinFee</code> should be <code>OfferCoin</code> * <code>params.SwapFeeRate/2</code> with Ceil</li>
</ul>
</li>
<li>Fix reserveOfferCoinFee residual Issue due to decimal error</li>
</ul>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/tendermint/liquidity/pull/438">#438</a> Fix PoolBatch index, beginHeight issues and genesis logic</p>
</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/Gravity-Devs/liquidity/commit/05cd43d414ae0d3f0ad523e38b88b196bbf8ecfd"><code>05cd43d</code></a> bump gogo/proto down to a version that exists upstream</li>
<li><a href="https://github.com/Gravity-Devs/liquidity/commit/ba7b225e20d79dfeb8daa59db791ae6367ff7ef3"><code>ba7b225</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/gravity-devs/liquidity/issues/15">#15</a> from Gravity-Devs/v2-rho-prepare</li>
<li>See full diff in <a href="https://github.com/gravity-devs/liquidity/compare/v2.0.0-rc3...v2.0.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/gravity-devs/liquidity/v2&package-manager=go_modules&previous-version=2.0.0-rc3&new-version=2.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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

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

---

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

* Bump github.com/golangci/golangci-lint from 1.47.2 to 1.47.3 (#1636)

Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.47.2 to 1.47.3.
- [Release notes](https://github.com/golangci/golangci-lint/releases)
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/golangci/golangci-lint/compare/v1.47.2...v1.47.3)

---
updated-dependencies:
- dependency-name: github.com/golangci/golangci-lint
  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>

* Bump cosmossdk.io/math from 1.0.0-beta.2 to 1.0.0-beta.3 (#1635)

Bumps [cosmossdk.io/math](https://github.com/cosmos/cosmos-sdk) from 1.0.0-beta.2 to 1.0.0-beta.3.
- [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/math/v1.0.0-beta.2...math/v1.0.0-beta.3)

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

* Update cosmos/ledger-go to release version (#1634)

Co-authored-by: billy rennekamp <billy.rennekamp@gmail.com>

* work on the workspace (#1641)

thank you @faddat !

* closes #1621 (#1628)

* closes #1621

* run from root

* change to nonroot

* Create .gitpod.yml (#1601)

thanks @faddat !

* Revert "closes #1621 (#1628)" (#1646)

This reverts commit e911a62da68040290aabb38ab10645a940dc20f4.

* add back ibc e2e tests (#1625)

* add back ibc e2e tests

* added teardown but fund_community_pool fails now

* fixed calculation

* add sleep

* ensure correct endpoint

* try skipping cancel upgrade

* add back upgrade but make height further in future

* skip  cancel upgrade test

* docs: add testing building artifacts in release (#1647)

* Bump github.com/golangci/golangci-lint from 1.47.3 to 1.48.0 (#1649)

Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.47.3 to 1.48.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/golangci/golangci-lint/releases">github.com/golangci/golangci-lint's releases</a>.</em></p>
<blockquote>
<h2>v1.48.0</h2>
<h2>Changelog</h2>
<ul>
<li>368c41cd build(deps): bump github.com/daixiang0/gci from 0.5.0 to 0.6.0 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3035">#3035</a>)</li>
<li>2d8fea81 build(deps): bump github.com/daixiang0/gci from 0.6.0 to 0.6.2 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3058">#3058</a>)</li>
<li>aeb5860c build(deps): bump github.com/kisielk/errcheck from 1.6.1 to 1.6.2 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3059">#3059</a>)</li>
<li>0559b922 build(deps): bump revgrep to HEAD (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3054">#3054</a>)</li>
<li>6313fa9a contextcheck: disable linter (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3050">#3050</a>)</li>
<li>0ba1388a feat: add usestdlibvars (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3016">#3016</a>)</li>
<li>1557692e feat: go1.19 support  (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3037">#3037</a>)</li>
<li>15cba447 gci: add missing <code>custom-order</code> setting (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3052">#3052</a>)</li>
<li>9a1b9492 ifshort: deprecate linter (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3034">#3034</a>)</li>
<li>f8f8f9a6 nolint: drop allow-leading-space option and add &quot;nolint:all&quot; (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3002">#3002</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md">github.com/golangci/golangci-lint's changelog</a>.</em></p>
<blockquote>
<h3>v1.48.0</h3>
<ol>
<li>new linters
<ul>
<li><code>usestdlibvars</code>:<a href="https://github.com/sashamelentyev/usestdlibvars">https://github.com/sashamelentyev/usestdlibvars</a></li>
</ul>
</li>
<li>updated linters
<ul>
<li><code>contextcheck</code>: disable linter</li>
<li><code>errcheck</code>: from 1.6.1 to 1.6.2</li>
<li><code>gci</code>: add missing <code>custom-order</code> setting</li>
<li><code>gci</code>: from 0.5.0 to 0.6.0</li>
<li><code>ifshort</code>: deprecate linter</li>
<li><code>nolint</code>: drop allow-leading-space option and add &quot;nolint:all&quot;</li>
<li><code>revgrep</code>: bump to HEAD</li>
</ul>
</li>
<li>documentation
<ul>
<li>remove outdated info on source install</li>
</ul>
</li>
<li>misc
<ul>
<li>go1.19 support</li>
</ul>
</li>
</ol>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/golangci/golangci-lint/commit/2d8fea819e651d384cf47784a5fb9c789cf5bd59"><code>2d8fea8</code></a> build(deps): bump github.com/daixiang0/gci from 0.6.0 to 0.6.2 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3058">#3058</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/aeb5860ca84aa6115f8c5b469cec174921350c29"><code>aeb5860</code></a> build(deps): bump github.com/kisielk/errcheck from 1.6.1 to 1.6.2 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3059">#3059</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/0559b9220bcc3b726041135fca2fd7f26c763a5c"><code>0559b92</code></a> build(deps): bump revgrep to HEAD (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3054">#3054</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/3ffde13a17071e61d3ab75a6ddd158cf81046d95"><code>3ffde13</code></a> dev: remove stable from actions/setup-go (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3055">#3055</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/1557692e59c0db1b6eaa771a5887f9434158683d"><code>1557692</code></a> feat: go1.19 support  (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3037">#3037</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/6313fa9a673cbbc339501f077154115254e28509"><code>6313fa9</code></a> contextcheck: disable linter (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3050">#3050</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/0ba1388a4194525dfea1e8b91211c49de9d260f2"><code>0ba1388</code></a> feat: add usestdlibvars (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3016">#3016</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/15cba447fd0e577f1f60170bb188b5c0eca04dab"><code>15cba44</code></a> gci: add missing <code>custom-order</code> setting (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3052">#3052</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/452544a2e7ae9a8fff6422298b0384818de77807"><code>452544a</code></a> build(deps): bump gatsby from 4.15.2 to 4.19.2 in /docs (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3046">#3046</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/f9dfb687aa3a7ea9789219e9eb4842ece424b739"><code>f9dfb68</code></a> build(deps): bump gatsby-transformer-yaml from 4.13.0 to 4.19.0 in /docs (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3045">#3045</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/golangci/golangci-lint/compare/v1.47.3...v1.48.0">compare view</a></li>
</ul>
</details>
<br />


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

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

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

---

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

* bump packet-forward-midddleware (#1651)

* bump packet-forward-middleware

* import packet-forward-middleware

* fix: lint

* fix: gofumpt

* formatting

* fix: formatting

* Bump actions/cache from 3.0.5 to 3.0.6 (#1650)

* Bump actions/cache from 3.0.5 to 3.0.6

Bumps [actions/cache](https://github.com/actions/cache) from 3.0.5 to 3.0.6.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3.0.5...v3.0.6)

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

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

* Removed spacing for nolint directives

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

* bump: update codeql version to v2 + Remove Python check (#1654)

* update-codeql-version-to-v2

* Remove Python from code quality check

* Bump docker/build-push-action from 3.1.0 to 3.1.1 (#1656)

Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/1cb9d22b932e4832bb29793b7777ec860fc1cde0...c84f38281176d4c9cdb1626ffafcd6b3911b5d94)

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

* fix merge

* fix unit tests

* fix: lint

* fix: e2e fee denoms swap

* fix: e2e

* fix: e2e reset global fee

* fix: dead link

* PR review updates

Co-authored-by: lg <8335464+glnro@users.noreply.github.com>
Co-authored-by: billy rennekamp <billy.rennekamp@gmail.com>
Co-authored-by: Jacob Gadikian <jacobgadikian@gmail.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Rootul Patel <rootulp@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Syed C <101879995+syed-Interchain@users.noreply.github.com>
Co-authored-by: Kevin Yang <5478483+k-yang@users.noreply.github.com>
Co-authored-by: Milan Mulji <98309852+mmulji-ic@users.noreply.github.com>
Co-authored-by: Barrie Byron <barrie.byron@tendermint.com>
Co-authored-by: Gjermund Bjaanes <gjermund@empower.eco>

* fix: dead links

* fix: invalid links

* fix: disable link checks for lunie.io

* fix: link

* Update overview.md

* Update overview.md

* Update ledger.md

* docs: update global fee readme

Co-authored-by: billy rennekamp <billy.rennekamp@gmail.com>
Co-authored-by: lg <lauren@interchain.io>
Co-authored-by: Milan Mulji <98309852+mmulji-ic@users.noreply.github.com>
Co-authored-by: Jacob Gadikian <jacobgadikian@gmail.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Rootul Patel <rootulp@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Syed C <101879995+syed-Interchain@users.noreply.github.com>
Co-authored-by: Kevin Yang <5478483+k-yang@users.noreply.github.com>
Co-authored-by: Barrie Byron <barrie.byron@tendermint.com>
Co-authored-by: Gjermund Bjaanes <gjermund@empower.eco>
Co-authored-by: lg <8335464+glnro@users.noreply.github.com>
  • Loading branch information
13 people authored Aug 12, 2022
1 parent ca20901 commit e691e9a
Show file tree
Hide file tree
Showing 6 changed files with 2,005 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/delegators/delegator-faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ To become delegators, Atom holders need to send a ["Delegate transaction"](./del
For a practical guide on how to become a delegator, click [here](./delegator-guide-cli.md).

## Choosing a validator

<!-- markdown-link-check-disable-next-line -->
In order to choose their validators, delegators have access to a range of information directly in [Lunie](https://lunie.io) or other Cosmos block explorers.

- **Validator's moniker**: Name of the validator candidate.
Expand Down
2 changes: 1 addition & 1 deletion docs/governance/proposals/previous-proposals/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,4 +204,4 @@ The Stargate team is recommending that the Cosmos Hub reschedule the next upgrad

Proposal to complete the Stargate upgrade, halt `cosmoshub-3` at 06:00 UTC on Feb 18th, export the state and start `cosmoshub-4` based on gaia 4.0.nn Gaia Commit hash: n a279d091c6f66f8a91c87943139ebaecdd84f689 Proposal details can be found on n github: https://github.com/cosmos/governance/pull/13 n Rendered: https://ipfs.io/ipfs/QmTkzDwWqPbnAh5YiV5VwcTLnGdwSNsNTn2aDxdXBFca7D/example#/ipfs/QmYn2SxCMYk5SWs5GMcXdbXR8wMCCXRmCyW19SFyzSeZp1 n ipfs: https://cloudflare-ipfs.com/ipfs/QmYn2SxCMYk5SWs5GMcXdbXR8wMCCXRmCyW19SFyzSeZp1 n sia: https://siasky.net/EACAsPcUjpTEpQlG9_nRI1OR07gNeRiudfEWAvKnf0tj_Q n

<!-- markdown-link-check-enable -->
<!-- markdown-link-check-enable -->
4 changes: 2 additions & 2 deletions docs/ko/resources/ledger.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,12 +141,12 @@ gaiad tx --help
를 입력하세요.

# Lunie.io

<!-- markdown-link-check-disable-next-line -->
Lunie 웹 지갑은 렛저 나노 S 기기를 사용해 서명하는 것을 지원합니다. 다음은 (Lunie.io)[https://lunie.io] 지갑을 Ledger 기기로 사용하는 방법을 정리합니다.

### 기기 연결하기

- 렛저 기기를 컴퓨터에 연결하시고, 비밀번호를 입력하여 잠금해제한 후 코스모스 앱을 실행하세요
- 렛저 기기를 컴퓨터에 연결하시고, 비밀번호를 입력하여 잠금해제한 후 코스모스 앱을 실행하세요<!-- markdown-link-check-disable-next-line -->
- 웹 브라우저에서 [https://lunie.io](https://lunie.io)를 가세요
- "Sign In"을 클릭하세요
- "Sign in with Ledger Nano S"를 선택하세요
Expand Down
2 changes: 1 addition & 1 deletion docs/migration/cosmoshub-2.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,4 +221,4 @@ single parameter, `max_validators`, that we're upgrading based on [proposal 10](
for the new tx formats. Server side applications should experience briefer service interruptions and
be able to just spin up new nodes and migrate to the new apis.
<!-- markdown-link-check-enable -->
<!-- markdown-link-check-enable -->
157 changes: 157 additions & 0 deletions docs/modules/globalfee/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@
# Gaia Fee Ante-handler

## Gaia Fees

The CosmosHub has two types of fees, both of which, are the [sdk.DecCoins](https://github.com/cosmos/cosmos-sdk/blob/a1143138716b64bc4fa0aa53c0f0fa59eb675bb7/types/dec_coin.go#L158) type:
- global fees (are defined at the network level, via [Gov Proposals](https://hub.cosmos.network/main/governance/proposals/))
- min_gas_prices (are specified validator node, in the `config/app.toml` configuration file)

### Global Fees
Global fees are set up through governance proposal which must be voted on by validators.

For a [global fee](https://github.com/cosmos/gaia/blob/82c4353ab1b04cf656a8c95d226c30c7845f157b/x/globalfee/types/params.go#L54-L99) to be valid:
- fees have to be alphabetically sorted by denomination (denom)
- fees have to have non-negative amount, with a valid and unique denom (i.e no duplicates).

Global fees allow denoms with zero coins or value.

Zero value coins are used to define fee denoms, when the chain does not charge fees. Each transaction (except bypass transactions) have to meet the following global fee requirements:
- All denoms of the paid fees (except zero coins) have to be a subset of the global fee's denom set.
- All paidfees' contain at least one denom that is present and greater than/or equal to the amount of the same denom in globalfee.

### Query global fees
CLI queries to retrieve the global fee value:
```shell
gaiad q globalfee minimum-gas-prices
# or
gaiad q params subspace globalfee MinimumGasPricesParam
```
### Empty global fees and default global fees
When the global fee is not setup, the query will return an empty globalfee list: `minimum_gas_prices: []`. Gaiad will use `0uatom` as global fee in this case. This is due to the CosmosHub accepting uatom as fee denom by default.

### Setting up global fees via Gov Proposals
An example of setting up a global fee by a gov proposals is shown below.

```shell
gov submit-legacy-proposal param-change proposal.json
````
A `proposal.json` example:
```
{
"title": "Global fees Param Change",
"description": "Update global fees",
"changes": [
{
"subspace": "globalfee",
"key": "MinimumGasPricesParam",
"value": [{"denom":"stake", "amount":"0.002"}, {"denom":"uatom", "amount": "0.001"}]
}
],
"deposit": "1000stake"
}
```
Please note: in the above "value" field, coins must sorted alphabetically by denom.
### Parameter: min_gas_prices
min_gas_prices are a node's further requirement of fees. Zero coins are removed from min_gas_prices when [parsing min_gas_prices](https://github.com/cosmos/cosmos-sdk/blob/3a097012b59413641ac92f18f226c5d6b674ae42/baseapp/options.go#L27), this is different from global fees.
- If the `min_gas_prices` set a denom that is not global fees's denom set. This min_gas_prices denom will not be considered when paying fees.
- If the `min_gas_prices` have a denom in global fees's denom set, and the min_gas_prices are lower than global fees, the fee still need to meet the global fees.
- If the `min_gas_prices` have a denom in global fees's denom set, and the min_gas_prices are higher than global fees, the fee need to meet the min_gas_prices.
### Fee Checks
Global fees, min_gas_prices and the paid fees all allow zero coins setup. After parsing the fee coins, zero coins and paid fees will be removed from the min_gas_prices and paid fees.
Only global fees might contain zero coins, which is used to define the allowed denoms of paid fees.
The [Fee AnteHandle](../../../ante/fee.go) will take global fees and min_gas_prices and merge them into one [combined `sdk.Deccoins`](https://github.com/cosmos/gaia/blob/f2be720353a969b6362feff369218eb9056a60b9/ante/fee.go#L79) according to the denoms and amounts of global fees and min_gas_prices.
If the paid fee is a subset of the combined fees set and the paid fee amount is greater than or equal to the required fees amount, the transaction can pass the fee check, otherwise an error will occur.
### Bypass Fees Message Types
The above `global fee` and `min_as_prices` fee checks do not apply to bypass message types. Transactions of bypass message types are free of fee charge. However, if the bypass type transactions still carry nonzero fees, the denom has to be a subset of denoms that global fees defined.
A node can set up its own bypass message types by adding the configuration parameter `bypass-min-fee-msg-types` in `config/app.toml` file.
An example:
```shell
###############################################################################
### Custom Gaia Configuration ###
###############################################################################
# bypass-min-fee-msg-types defines custom message types the operator may set that
# will bypass minimum fee checks during CheckTx.
#
# Example:
# ["/ibc.core.channel.v1.MsgRecvPacket", "/ibc.core.channel.v1.MsgAcknowledgement", ...]
bypass-min-fee-msg-types = ["/ibc.core.channel.v1.MsgRecvPacket", "/ibc.core.channel.v1.MsgAcknowledgement","/ibc.applications.transfer.v1.MsgTransfer"]
```

Even though each node can set its own `min_gas_prices` and `bypass-min-fee-msg-types`, when the transactions enters a validator's mempool, the transactions carried fees have to satisfy the validator's `min_gas_prices` and `bypass-min-fee-msg-types`'s requirement in order for the validators to process the transactions.

### Examples
Here are a few examples to clarify the relationship between global fees, min_gas_prices and paid fees.
- Case 1: globalfee=[], min_gas_prices=0.0001uatom, gas=2000000

This is the same case as globalfee=0uatom, min_gas_prices=0.0001uatom, gas=2000000.
- paidfee = "2000000 * 0.0001uatom", pass
- paidfee = "2000000 * 0.0001uatom, 0stake", pass
- paidfee = "2000000 * 0.0001uatom, 1stake", fail
- paidfee = "2000000 * 0.0001/2uatom", fail
- paidfee = "", pass


- Case 2: globalfee=[], min_gas_prices="", gas=2000000
- paidfee = "", pass
- paidfee = "0uatom", pass
- paidfee = "1uatom", pass
- paidfee = "0uatom, 0stake", pass
- paidfee = "0uatom, 1stake", fail


- Case 3: globalfee=0.0002uatom, min_gas_prices=0.0001uatom, gas=2000000 (global fee is lower than min_as_price)
- paidfee = "2000000 * 0.0002uatom", pass
- paidfee = "2000000 * 0.0001uatom", fail
- paidfee = "2000000 * 0.0002uatom, 1stake", fail
- paidfee = "2000000 * 0.0002uatom, 0stake", pass
- paidfee = "2000000 * 0.0002stake", fail
- paidfee = "", fail
- paidfee = 0uatom, fail


- Case 4: globalfee=0.0001uatom, min_gas_prices=0.0002uatom, gas=2000000 (global fee is higher than min_as_price)
- paidfee = "2000000 * 0.0002uatom", pass
- paidfee = "2000000 * 0.0001uatom", fail
- paidfee = "2000000 * 0.0002uatom, 1stake", fail
- paidfee = "2000000 * 0.0002uatom, 0stake", pass
- paidfee = "2000000 * 0.0002stake", fail
- paidfee = "", fail
- paidfee = 0uatom, fail


- Case 5: globalfee=[0uatom, 1stake], min_gas_prices="", gas=200000.
- fees="2000000 * 0uatom, 2000000 * 0.5stake", fail, (this is due to [fee parsing, zero coins are removed](https://github.com/cosmos/cosmos-sdk/blob/e716e4103e934344aa7be6dc9b5c453bdec5f225/client/tx/factory.go#L144), it equals to paidfees = 0.5stake in this case)
- paidfees="", pass
- paidfees="2000000 * 1uatom, 0.5stake", pass
- paidfees="0uatom, 0stake" pass, (due to the parsing of paidfees, it makes paidfees="")
- paidfees="2000000 * 1stake", pass


- Case 6: globalfee=[0.001uatom, 1stake], min_gas_prices=0.002uatom, gas=200000.
- paidfee = "2000000 * 0.0002uatom", pass
- paidfee = "2000000 * 0.0001uatom", fail
- paidfee = "2000000 * 1stake", pass
- paidfee = "2000000 * 1/2stake", fail
- paidfee = "2000000 * 0.0001uatom, 2000000*1stake", pass
- paidfee = "2000000 * 0.0002atom, 2000000*1/2stake", pass
- paidfee = "2000000 * 0.0001uatom, 2000000*1/2stake", fail


- Case 7: globalfee=[0.0001uatom], min_gas_prices=0.0002uatom,1stake, gas=200000.
`bypass-min-fee-msg-types = ["/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward"]`
- msg withdraw-all-rewards with paidfee=0uatom, pass
- msg withdraw-all-rewards with paidfee=200000 * 0.0001/2uatom, pass
- msg withdraw-all-rewards with paidfee=0stake,0photon, pass
- msg withdraw-all-rewards with paidfee=200000 * 1stake, 0photon, fail

### Reference
- [Fee caculations: fee and gas](https://docs.cosmos.network/main/basics/gas-fees.html)
Loading

0 comments on commit e691e9a

Please sign in to comment.