Skip to content

Commit

Permalink
fix: all fees (#1609)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>

* 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 <[email protected]>

* 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](actions/cache@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] <[email protected]>

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](actions/stale@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] <[email protected]>

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](golangci/golangci-lint@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] <[email protected]>

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](golangci/golangci-lint@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] <[email protected]>

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](docker/build-push-action@ad44023...1cb9d22)

---
updated-dependencies:
- dependency-name: docker/build-push-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 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] <[email protected]>

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

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

[email protected] is no longer active/monitored. Changing to [email protected]

* 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](JamesIves/github-pages-deploy-action@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] <[email protected]>

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](golangci/golangci-lint@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] <[email protected]>

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](actions/stale@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] <[email protected]>

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 <[email protected]>

* 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](golangci/golangci-lint@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] <[email protected]>

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](cosmos/cosmos-sdk@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] <[email protected]>

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 <[email protected]>

* 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 e911a62.

* 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](actions/cache@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] <[email protected]>

* Removed spacing for nolint directives

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

* PR review updates

* gofumpt lint

* Update ante/fee.go

* linting

* Update ante/fee_utils.go

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

* change hermes test to uatom

* convert tests from photon to uatom

Co-authored-by: Milan Mulji <[email protected]>
Co-authored-by: billy rennekamp <[email protected]>
Co-authored-by: Jacob Gadikian <[email protected]>
Co-authored-by: Marko <[email protected]>
Co-authored-by: Rootul Patel <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Syed C <[email protected]>
Co-authored-by: Kevin Yang <[email protected]>
Co-authored-by: Barrie Byron <[email protected]>
Co-authored-by: Gjermund Bjaanes <[email protected]>
Co-authored-by: lg <[email protected]>
  • Loading branch information
12 people authored Aug 8, 2022
1 parent 1e6640b commit ef2ea1c
Show file tree
Hide file tree
Showing 72 changed files with 3,805 additions and 1,195 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# CODEOWNERS: https://help.github.com/articles/about-codeowners/

# Primary repo maintainers
* @okwme @alexanderbez @zmanian @yaruwangway @jgimeno @crodriguezvega @cmwaters @jackzampolin @mmulji-ic @glnro @tokamak-git
* @okwme @alexanderbez @zmanian @yaruwangway @jgimeno @crodriguezvega @cmwaters @jackzampolin @mmulji-ic @glnro

# Governance Process and Docs maintainers
docs/governance/* @ebuchman @zmanian @hxrts @mariapao
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

- name: Build and push Docker image
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
uses: docker/build-push-action@1cb9d22b932e4832bb29793b7777ec860fc1cde0
with:
context: .
push: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
make build-docs LEDGER_ENABLED=false
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.3.2
uses: JamesIves/github-pages-deploy-action@v4.4.0
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
Expand Down
27 changes: 14 additions & 13 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,26 @@
name: Lint
name: golangci-lint
on:
pull_request:
push:
tags:
- v*
branches:
- main

pull_request:
permissions:
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
# pull-requests: read
jobs:
golangci:
name: Run golangci-lint
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.18
- uses: technote-space/[email protected]
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
PATTERNS: |
**/**.go
go.mod
go.sum
- name: Run golangci-lint
run: make lint
if: env.GIT_DIFF
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: latest
14 changes: 7 additions & 7 deletions .github/workflows/release-sims.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'skip-sims')"
steps:
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v3
- run: |
make build
Expand All @@ -29,7 +29,7 @@ jobs:
go-version: 1.18
- name: Install runsim
run: go install github.com/cosmos/tools/cmd/[email protected]
- uses: actions/[email protected].4
- uses: actions/[email protected].6
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary
Expand All @@ -40,7 +40,7 @@ jobs:
steps:
- name: install runsim
run: go install github.com/cosmos/tools/cmd/[email protected]
- uses: actions/[email protected].4
- uses: actions/[email protected].6
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary
Expand All @@ -50,7 +50,7 @@ jobs:
needs: [build, install-runsim]
steps:
- uses: actions/[email protected]
- uses: actions/[email protected].4
- uses: actions/[email protected].6
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary
Expand All @@ -62,17 +62,17 @@ jobs:
runs-on: ubuntu-latest
needs: newbuild
steps:
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v3
- uses: actions/[email protected]
with:
go-version: 1.16
- uses: technote-space/get-diff-action@v5.0.2
- uses: technote-space/get-diff-action@v6.0.1
with:
PATTERNS: |
**/**.go
go.mod
go.sum
- uses: actions/[email protected].4
- uses: actions/[email protected].6
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sim-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
go-version: 1.18
- name: Install runsim
run: go install github.com/cosmos/tools/cmd/[email protected]
- uses: actions/[email protected].4
- uses: actions/[email protected].6
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary
Expand All @@ -34,7 +34,7 @@ jobs:
- uses: actions/[email protected]
with:
go-version: 1.16
- uses: actions/[email protected].4
- uses: actions/[email protected].6
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary
Expand Down
30 changes: 15 additions & 15 deletions .github/workflows/sims.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3.0.0
- uses: actions/setup-go@v3
with:
go-version: 1.18
- name: Install runsim
run: go install github.com/cosmos/tools/cmd/[email protected]
- uses: actions/[email protected].4
- uses: actions/[email protected].6
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary
Expand All @@ -40,7 +40,7 @@ jobs:
# **/**.go
# go.mod
# go.sum
# - uses: actions/[email protected].4
# - uses: actions/[email protected].6
# with:
# path: ~/go/bin
# key: ${{ runner.os }}-go-runsim-binary
Expand All @@ -54,17 +54,17 @@ jobs:
runs-on: ubuntu-latest
needs: Build
steps:
- uses: technote-space/get-diff-action@v5.0.2
- uses: technote-space/get-diff-action@v6
with:
PATTERNS: |
**/**.go
go.mod
go.sum
- uses: actions/checkout@v2.4.0
- uses: actions/setup-go@v3.0.0
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.18
- uses: actions/[email protected].4
- uses: actions/[email protected].6
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary
Expand All @@ -78,17 +78,17 @@ jobs:
runs-on: ubuntu-latest
needs: Build
steps:
- uses: actions/setup-go@v3.0.0
- uses: actions/setup-go@v3
with:
go-version: 1.18
- uses: actions/checkout@v2.4.0
- uses: technote-space/get-diff-action@v5.0.2
- uses: actions/checkout@v3
- uses: technote-space/get-diff-action@v6
with:
PATTERNS: |
**/**.go
go.mod
go.sum
- uses: actions/[email protected].4
- uses: actions/[email protected].6
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary
Expand All @@ -102,17 +102,17 @@ jobs:
runs-on: ubuntu-latest
needs: Build
steps:
- uses: actions/checkout@v2.4.0
- uses: actions/setup-go@v3.0.0
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.18
- uses: technote-space/get-diff-action@v5.0.2
- uses: technote-space/get-diff-action@v6
with:
PATTERNS: |
**/**.go
go.mod
go.sum
- uses: actions/[email protected].4
- uses: actions/[email protected].6
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v5.0.0
- uses: actions/stale@v5.1.1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-pr-message: "This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions."
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
**/**.go
go.mod
go.sum
- uses: actions/[email protected].4
- uses: actions/[email protected].6
with:
path: |
~/.cache/go-build
Expand Down Expand Up @@ -89,16 +89,15 @@ jobs:
**/**.go
go.mod
go.sum
- name: Install Ignite CLI
- name: Install Gaia
run: |
curl https://get.ignite.com/[email protected]! | bash
make build
if: env.GIT_DIFF
- name: Start Local Network via Ignite CLI
- name: Start Local Network
run: |
make start-localnet-ci > ignite.out 2>&1 &
make start-localnet-ci > liveness.out 2>&1 &
if: env.GIT_DIFF
- name: Test Local Network Liveness
run: |
sleep 3m
./contrib/scripts/test_localnet_liveness.sh 100 5 50 localhost
if: env.GIT_DIFF
4 changes: 4 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
tasks:
- init: go get && go build ./... && go test ./... && make
command: go run
image: ghcr.io/notional-labs/cosmos
29 changes: 10 additions & 19 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,40 +1,32 @@
run:
tests: false
skip-dirs:
- tests/e2e
# timeout for analysis, e.g. 30s, 5m, default is 1m
timeout: 5m

linters:
disable-all: true
enable:
- bodyclose
- deadcode
- depguard
- dogsled
# - errcheck
- exportloopref
- goconst
- gocritic
- gofmt
- goimports
- golint
- gofumpt
- gosec
- gosimple
- govet
- ineffassign
- interfacer
- maligned
- misspell
- nakedret
- prealloc
- scopelint
- nolintlint
- revive
- staticcheck
- structcheck
- stylecheck
- typecheck
- unconvert
- unused
- unparam
# - wsl
- nolintlint
- unused

issues:
exclude-rules:
Expand All @@ -47,9 +39,6 @@ issues:
- text: "don't use an underscore in package name"
linters:
- golint
- text: "put a space between `//` and comment text"
linters:
- gocritic
- text: "ST1003:"
linters:
- stylecheck
Expand All @@ -58,9 +47,11 @@ issues:
- text: "ST1016:"
linters:
- stylecheck
- text: "SA1019: codec.LegacyAmino is deprecated"
- path: "migrations"
text: "SA1019:"
linters:
- staticcheck

max-issues-per-linter: 10000
max-same-issues: 10000

Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
# Changelog

## [Unreleased]
* (gaia-rho) [#1573](https://github.com/cosmos/gaia/issues/1573), [#1576](https://github.com/cosmos/gaia/issues/1576) Update cosmos ledger version to [v.0.9.3](https://github.com/cosmos/ledger-go/releases/tag/v0.9.3)
* (gaia-rho) Update go to 1.18
* (gaia-rho) Update Liquidity module to v2.0.0-beta1 to work with Cosmos-SDK v0.46.0-beta2
* (gaia-rho) Update [cosmos-sdk](https://github.com/cosmos/cosmos-sdk) to [v0.46.0-beta2](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.46.0-beta2). See [CHANGELOG.md](https://github.com/cosmos/cosmos-sdk/blob/v0.46.0-beta2/CHANGELOG.md) for details.
Expand Down
2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ representative at an online or offline event.

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at
`contact@interchain.berlin`.
`hello@interchain.io`.
All complaints will be reviewed and investigated promptly and fairly.

All community leaders are obligated to respect the privacy and security of the
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ ARG IMG_TAG
COPY --from=gaiad-builder /go/bin/gaiad /usr/local/bin/
EXPOSE 26656 26657 1317 9090

ENTRYPOINT ["gaiad", "start", "--mode", "validator"]
ENTRYPOINT ["gaiad", "start"]
12 changes: 10 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ sync-docs:
include sims.mk

PACKAGES_UNIT=$(shell go list ./... | grep -v -e '/tests/e2e')
PACKAGES_E2E=$(shell go list ./... | grep '/e2e')
PACKAGES_E2E=$(shell cd tests/e2e && go list ./... | grep '/e2e')
TEST_PACKAGES=./...
TEST_TARGETS := test-unit test-unit-cover test-race test-e2e

Expand Down Expand Up @@ -222,7 +222,15 @@ format:
###############################################################################

start-localnet-ci:
@ignite chain serve --mode validator --reset-once -v -c ./ignite.ci.yml
./build/gaiad init liveness --chain-id liveness --home ~/.gaiad-liveness
./build/gaiad config chain-id liveness --home ~/.gaiad-liveness
./build/gaiad config keyring-backend test --home ~/.gaiad-liveness
./build/gaiad keys add val --home ~/.gaiad-liveness
./build/gaiad add-genesis-account val 10000000000000000000000000stake --home ~/.gaiad-liveness --keyring-backend test
./build/gaiad gentx val 1000000000stake --home ~/.gaiad-liveness --chain-id liveness
./build/gaiad collect-gentxs --home ~/.gaiad-liveness
sed -i'' 's/minimum-gas-prices = ""/minimum-gas-prices = "0uatom"/' ~/.gaiad-liveness/config/app.toml
./build/gaiad start --home ~/.gaiad-liveness --x-crisis-skip-assert-invariants

.PHONY: start-localnet-ci

Expand Down
Loading

0 comments on commit ef2ea1c

Please sign in to comment.