Commit Graph

8704 Commits

Author SHA1 Message Date
dependabot[bot] 530cd7d256
build(deps): bump postcss from 7.0.35 to 7.0.36 in /docs (#9525)
Bumps [postcss](https://github.com/postcss/postcss) from 7.0.35 to 7.0.36.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/postcss/postcss/releases">postcss's releases</a>.</em></p>
<blockquote>
<h2>7.0.36</h2>
<ul>
<li>Backport ReDoS vulnerabilities from PostCSS 8.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/postcss/postcss/blob/main/CHANGELOG.md">postcss's changelog</a>.</em></p>
<blockquote>
<h2>7.0.36</h2>
<ul>
<li>Backport ReDoS vulnerabilities from PostCSS 8.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="67e3d7b340"><code>67e3d7b</code></a> Release 7.0.36 version</li>
<li><a href="54cbf3c484"><code>54cbf3c</code></a> Backport ReDoS vulnerabilities from PostCSS 8</li>
<li>See full diff in <a href="https://github.com/postcss/postcss/compare/7.0.35...7.0.36">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=postcss&package-manager=npm_and_yarn&previous-version=7.0.35&new-version=7.0.36)](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)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/cosmos/cosmos-sdk/network/alerts).

</details>
2021-06-17 05:52:08 +00:00
Venkatesh Mankena 3841df6468
fix: Handle MAX_INT_256 (#9511)
Change maxBitLen of sdk.Int to handle max Erc20 value.

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

## Description

Closes: #XXXX

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

---

### Author Checklist

*All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.*

I have...

- [x] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] added `!` to the type prefix if API or client breaking change
- [x] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/master/CONTRIBUTING.md#pr-targeting))
- [ ] provided a link to the relevant issue or specification
- [ ] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/master/docs/building-modules)
- [ ] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/master/CONTRIBUTING.md#testing)
- [x] added a changelog entry to `CHANGELOG.md`
- [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
- [ ] updated the relevant documentation or specification
- [ ] reviewed "Files changed" and left comments if necessary
- [ ] confirmed all CI checks have passed

### Reviewers Checklist

*All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.*

I have...

- [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] confirmed `!` in the type prefix if API or client breaking change
- [ ] confirmed all author checklist items have been addressed 
- [ ] reviewed state machine logic
- [ ] reviewed API design and naming
- [ ] reviewed documentation is accurate
- [ ] reviewed tests and test coverage
- [ ] manually tested (if applicable)
2021-06-16 14:18:02 +00:00
MD Aleem 38d670226f
feat: grpc-web add CORS handler (#9493)
<!--
The default pull request template is for types feat, fix, or refactor.
For other templates, add one of the following parameters to the url:
- template=docs.md
- template=other.md
-->

## Description

Closes: #9467 

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

---

### Author Checklist

*All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.*

I have...

- [x] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] added `!` to the type prefix if API or client breaking change
- [x] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/master/CONTRIBUTING.md#pr-targeting))
- [x] provided a link to the relevant issue or specification
- [x] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/master/docs/building-modules)
- [ ] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/master/CONTRIBUTING.md#testing)
- [ ] added a changelog entry to `CHANGELOG.md`
- [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
- [ ] updated the relevant documentation or specification
- [ ] reviewed "Files changed" and left comments if necessary
- [ ] confirmed all CI checks have passed

### Reviewers Checklist

*All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.*

I have...

- [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] confirmed `!` in the type prefix if API or client breaking change
- [ ] confirmed all author checklist items have been addressed 
- [ ] reviewed state machine logic
- [ ] reviewed API design and naming
- [ ] reviewed documentation is accurate
- [ ] reviewed tests and test coverage
- [ ] manually tested (if applicable)
2021-06-16 10:33:42 +00:00
dependabot[bot] 3c82a32f9b
build(deps): bump github.com/golang/mock from 1.5.0 to 1.6.0 (#9512)
Bumps [github.com/golang/mock](https://github.com/golang/mock) from 1.5.0 to 1.6.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/golang/mock/releases">github.com/golang/mock's releases</a>.</em></p>
<blockquote>
<h2>v1.6.0</h2>
<h2>Changelog</h2>
<p>317c030 Best effort guesses for output package path (<a href="https://github-redirect.dependabot.com/golang/mock/issues/547">#547</a>)
c59ba11 add ARM to support apple M1 chip to releaser (<a href="https://github-redirect.dependabot.com/golang/mock/issues/562">#562</a>)
58935d8 add a basic CONTRIBUTING.md (<a href="https://github-redirect.dependabot.com/golang/mock/issues/535">#535</a>)
a5582fc add docs on 1.16 install and adding to PATH (<a href="https://github-redirect.dependabot.com/golang/mock/issues/534">#534</a>)
0cd3aaf add flags documentation (<a href="https://github-redirect.dependabot.com/golang/mock/issues/539">#539</a>)
64b0b80 add notes and error helper for vendor+reflect error (<a href="https://github-redirect.dependabot.com/golang/mock/issues/567">#567</a>)
e303461 add type information to error messages (<a href="https://github-redirect.dependabot.com/golang/mock/issues/559">#559</a>)
0cdccf5 feat add InAnyOrder matcher (<a href="https://github-redirect.dependabot.com/golang/mock/issues/546">#546</a>)
82ce4a7 feat validate Do &amp; DoReturn args (<a href="https://github-redirect.dependabot.com/golang/mock/issues/558">#558</a>)
93308c3 fix broken badge (<a href="https://github-redirect.dependabot.com/golang/mock/issues/525">#525</a>)
9336b7e fix error message in parse.go (<a href="https://github-redirect.dependabot.com/golang/mock/issues/540">#540</a>)
ab03293 fix ill-formatted message with fmt-verbs like %s (<a href="https://github-redirect.dependabot.com/golang/mock/issues/564">#564</a>)
bb5fd5e fix linter errors (<a href="https://github-redirect.dependabot.com/golang/mock/issues/552">#552</a>)
aba2ff9 fix parse array with the external const correctly (<a href="https://github-redirect.dependabot.com/golang/mock/issues/569">#569</a>)
6ff1070 fix parse arrays with const length correctly (<a href="https://github-redirect.dependabot.com/golang/mock/issues/520">#520</a>)
7f5f64d fixup some docs and templates (<a href="https://github-redirect.dependabot.com/golang/mock/issues/524">#524</a>)
7078515 refactor go:generate lines so they are consistently placed (<a href="https://github-redirect.dependabot.com/golang/mock/issues/527">#527</a>)
7105dde refactor mockgen and cleanup (<a href="https://github-redirect.dependabot.com/golang/mock/issues/536">#536</a>)
f36d14a test(sample/user_test.go): minor correction at t.Errorf (<a href="https://github-redirect.dependabot.com/golang/mock/issues/544">#544</a>)
ef4ad87 update CI for 1.16 (<a href="https://github-redirect.dependabot.com/golang/mock/issues/526">#526</a>)
ad820b0 update Finish docs for Go1.14+ (<a href="https://github-redirect.dependabot.com/golang/mock/issues/556">#556</a>)
2421472 update dependencies (<a href="https://github-redirect.dependabot.com/golang/mock/issues/528">#528</a>)
953a5bb update user mock to be in test package (<a href="https://github-redirect.dependabot.com/golang/mock/issues/566">#566</a>)
d19a212 upgrade dependencies (<a href="https://github-redirect.dependabot.com/golang/mock/issues/557">#557</a>)</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="aba2ff9a68"><code>aba2ff9</code></a> fix parse array with the external const correctly (<a href="https://github-redirect.dependabot.com/golang/mock/issues/569">#569</a>)</li>
<li><a href="bb196fcb04"><code>bb196fc</code></a> fix typo in README (<a href="https://github-redirect.dependabot.com/golang/mock/issues/568">#568</a>)</li>
<li><a href="64b0b80f45"><code>64b0b80</code></a> add notes and error helper for vendor+reflect error (<a href="https://github-redirect.dependabot.com/golang/mock/issues/567">#567</a>)</li>
<li><a href="953a5bb40e"><code>953a5bb</code></a> update user mock to be in test package (<a href="https://github-redirect.dependabot.com/golang/mock/issues/566">#566</a>)</li>
<li><a href="c59ba111f4"><code>c59ba11</code></a> add ARM to support apple M1 chip to releaser (<a href="https://github-redirect.dependabot.com/golang/mock/issues/562">#562</a>)</li>
<li><a href="ab032936af"><code>ab03293</code></a> fix ill-formatted message with fmt-verbs like %s (<a href="https://github-redirect.dependabot.com/golang/mock/issues/564">#564</a>)</li>
<li><a href="0cdccf5f55"><code>0cdccf5</code></a> feat add InAnyOrder matcher (<a href="https://github-redirect.dependabot.com/golang/mock/issues/546">#546</a>)</li>
<li><a href="e3034614db"><code>e303461</code></a> add type information to error messages (<a href="https://github-redirect.dependabot.com/golang/mock/issues/559">#559</a>)</li>
<li><a href="82ce4a77a9"><code>82ce4a7</code></a> feat validate Do &amp; DoReturn args (<a href="https://github-redirect.dependabot.com/golang/mock/issues/558">#558</a>)</li>
<li><a href="d19a21299d"><code>d19a212</code></a> upgrade dependencies (<a href="https://github-redirect.dependabot.com/golang/mock/issues/557">#557</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/golang/mock/compare/v1.5.0...v1.6.0">compare view</a></li>
</ul>
</details>
<br />


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

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

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

---

<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>
2021-06-16 07:44:53 +00:00
dependabot[bot] 8c5b21eaf6
build(deps): bump codecov/codecov-action from 1.5.0 to 1.5.2 (#9482)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 1.5.0 to 1.5.2.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v1.5.0...v1.5.2)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-15 15:23:16 +02:00
chengwenxi 899e2a27bc store nft in bank module 2021-06-15 19:43:51 +08:00
dependabot[bot] d2e0819ad8
build(deps): bump github.com/rs/zerolog from 1.22.0 to 1.23.0 (#9515)
Bumps [github.com/rs/zerolog](https://github.com/rs/zerolog) from 1.22.0 to 1.23.0.
<details>
<summary>Commits</summary>
<ul>
<li><a href="117cb53bc6"><code>117cb53</code></a> Fix copying stack setting in logger's Output method (<a href="https://github-redirect.dependabot.com/rs/zerolog/issues/325">#325</a>)</li>
<li><a href="e05605c215"><code>e05605c</code></a> Use github.com/coreos/go-systemd/v22 (<a href="https://github-redirect.dependabot.com/rs/zerolog/issues/322">#322</a>)</li>
<li><a href="6ed1127758"><code>6ed1127</code></a> Fix panic on disabled event with CallerSkipFrame</li>
<li><a href="47a03bc5eb"><code>47a03bc</code></a> Add ability to customize internal json marshaler (<a href="https://github-redirect.dependabot.com/rs/zerolog/issues/318">#318</a>)</li>
<li><a href="ffbd37b8d7"><code>ffbd37b</code></a> Add Func log method (<a href="https://github-redirect.dependabot.com/rs/zerolog/issues/321">#321</a>)</li>
<li>See full diff in <a href="https://github.com/rs/zerolog/compare/v1.22.0...v1.23.0">compare view</a></li>
</ul>
</details>
<br />


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

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

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

---

<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>
2021-06-15 08:29:43 +00:00
Aaron Craelius 6e26c6c7d3
Remove Docs label from auto-label action (#9517) 2021-06-14 20:08:39 -04:00
dependabot[bot] e5110cb079
build(deps): bump github.com/prometheus/common from 0.28.0 to 0.29.0 (#9500)
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.28.0 to 0.29.0.
<details>
<summary>Commits</summary>
<ul>
<li><a href="8281fb2779"><code>8281fb2</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/prometheus/common/issues/308">#308</a> from austince/feat/with-idle-conn-timeout</li>
<li><a href="5018d4d329"><code>5018d4d</code></a> Add WithIdleConnTimeout HTTP client option</li>
<li>See full diff in <a href="https://github.com/prometheus/common/compare/v0.28.0...v0.29.0">compare view</a></li>
</ul>
</details>
<br />


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

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

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

---

<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>
2021-06-14 15:11:19 +00:00
Federico Kunze f1e81fa1db
Merge branch 'master' into hulatown/adr-043-nft 2021-06-14 11:04:39 -04:00
Amaury 5cd741a878
revert: Turn staking power reduction into an on-chain param (#9495)
<!--
The default pull request template is for types feat, fix, or refactor.
For other templates, add one of the following parameters to the url:
- template=docs.md
- template=other.md
-->

## Description

Closes: #9447

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

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

---

### Author Checklist

*All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.*

I have...

- [ ] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] added `!` to the type prefix if API or client breaking change
- [ ] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/master/CONTRIBUTING.md#pr-targeting))
- [ ] provided a link to the relevant issue or specification
- [ ] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/master/docs/building-modules)
- [ ] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/master/CONTRIBUTING.md#testing)
- [ ] added a changelog entry to `CHANGELOG.md`
- [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
- [ ] updated the relevant documentation or specification
- [ ] reviewed "Files changed" and left comments if necessary
- [ ] confirmed all CI checks have passed

### Reviewers Checklist

*All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.*

I have...

- [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] confirmed `!` in the type prefix if API or client breaking change
- [ ] confirmed all author checklist items have been addressed 
- [ ] reviewed state machine logic
- [ ] reviewed API design and naming
- [ ] reviewed documentation is accurate
- [ ] reviewed tests and test coverage
- [ ] manually tested (if applicable)
2021-06-14 14:45:15 +00:00
Tyler 179c819a9d
fix: testnet cli command update genesis supply (#9497)
<!--
The default pull request template is for types feat, fix, or refactor.
For other templates, add one of the following parameters to the url:
- template=docs.md
- template=other.md
-->

## Description

closes: #9372 

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

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

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

---

### Author Checklist

*All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.*

I have...

- [x] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [x] added `!` to the type prefix if API or client breaking change
- [x] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/master/CONTRIBUTING.md#pr-targeting))
- [x] provided a link to the relevant issue or specification
- [x] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/master/docs/building-modules)
- [ ] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/master/CONTRIBUTING.md#testing)
- [ ] added a changelog entry to `CHANGELOG.md`
- [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
- [ ] updated the relevant documentation or specification
- [x] reviewed "Files changed" and left comments if necessary
- [ ] confirmed all CI checks have passed

### Reviewers Checklist

*All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.*

I have...

- [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] confirmed `!` in the type prefix if API or client breaking change
- [ ] confirmed all author checklist items have been addressed 
- [ ] reviewed state machine logic
- [ ] reviewed API design and naming
- [ ] reviewed documentation is accurate
- [ ] reviewed tests and test coverage
- [ ] manually tested (if applicable)
2021-06-14 09:56:25 +00:00
Ryan Christoffersen e2ecfa735d
ci: use title+body for commit message (#9496)
Co-authored-by: ryanchrypto <12519942+ryanchrypto@users.noreply.github.com>
Co-authored-by: Cory <cjlevinson@gmail.com>
2021-06-11 11:56:00 -07:00
Robert Zaremba 7bca49e2d2
refactor(client): add client/Context.Codec and deprecate JSONCodec (#9498)
* chore(types): add sdk.Context.Codec and deprecate JSONCodec

* Use clientContext.Codec rather than JSONCodec everywhere

* update tests to use clientContext.Codec

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

* update changelog

* fix tests to use clientCtx.WithCodec instead of WithJSONCodec

* fix genutil build

* Update simapp/params/encoding.go

Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>

Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
2021-06-11 11:49:39 +00:00
MD Aleem 606bb2f46d
test (#9484)
Co-authored-by: Anil Kumar Kammari <anil@vitwit.com>
Co-authored-by: Cory <cjlevinson@gmail.com>
2021-06-10 15:23:20 +00:00
Haifeng Xi 5e2f4c3234
Merge branch 'master' into hulatown/adr-043-nft 2021-06-10 22:03:47 +08:00
chengwenxi 51df2170f2 apply comments 2021-06-10 19:21:50 +08:00
Haifeng Xi 745154aec0
docs: Fix ADR 030 reference link (#9487) 2021-06-10 12:46:14 +02:00
Ryan Christoffersen 8f2333d02a
docs: update contributing pull request process (#9472)
* docs: update contributing

* docs: update contributing

* docs: update contributing

Co-authored-by: ryanchrypto <12519942+ryanchrypto@users.noreply.github.com>
2021-06-09 17:37:58 -07:00
dependabot[bot] a15883f59a
build(deps): bump github.com/btcsuite/btcd (#9483)
Bumps [github.com/btcsuite/btcd](https://github.com/btcsuite/btcd) from 0.21.0-beta to 0.22.0-beta.
- [Release notes](https://github.com/btcsuite/btcd/releases)
- [Changelog](https://github.com/btcsuite/btcd/blob/master/CHANGES)
- [Commits](https://github.com/btcsuite/btcd/compare/v0.21.0-beta...v0.22.0-beta)

---
updated-dependencies:
- dependency-name: github.com/btcsuite/btcd
  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>
2021-06-09 16:27:02 +00:00
dependabot[bot] 6f65a03a22
build(deps): bump github.com/prometheus/common from 0.27.0 to 0.28.0 (#9473)
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.27.0 to 0.28.0.
- [Release notes](https://github.com/prometheus/common/releases)
- [Commits](https://github.com/prometheus/common/compare/v0.27.0...v0.28.0)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-06-09 11:02:21 +00:00
Adrien Duval dccc0d6a45
Fix ReadRESTReq documentation (#9476)
The `ReadRESTReq` function documentation stated it `returns true if errors occurred`, when it return false when an error occur

Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
2021-06-09 10:40:36 +00:00
Augustin Chan 98cf72c4ba
style: fix lint errors and update lint timeout (#9464)
* fix: misc fixes for make to work off freshly cloned repo

* gocritic appendAssign fix

* markdown trailing space and blank line fixes

* change golangci-lint timeout to 5min

* update changelog

* Update .golangci.yml

Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com>

* Update CHANGELOG.md

Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com>

Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com>
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-06-08 16:27:39 +00:00
Ryan Christoffersen 37fc37d853
fix interfaces links (#9448)
Co-authored-by: ryanchrypto <12519942+ryanchrypto@users.noreply.github.com>
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
2021-06-08 12:03:42 +00:00
dependabot[bot] a7b0eb1b90
build(deps): bump github.com/prometheus/client_golang (#9474)
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.10.0...v1.11.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  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>
2021-06-08 10:13:36 +00:00
Ryan Christoffersen cab40b4c7a
fix: feegrant grant period not resetting (#9450)
* fix grant period reset

* add period reset test

* consolidate condition

Co-authored-by: ryanchrypto <12519942+ryanchrypto@users.noreply.github.com>
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-06-07 15:02:49 +00:00
Robert Zaremba a55b6ed9be
fix: make proto-format (#9470) 2021-06-07 14:45:55 +00:00
mergify[bot] 8004004b66
Merge branch 'master' into hulatown/adr-043-nft 2021-06-07 09:04:27 +00:00
Marko f1289d0808
refactor: add util functions to reuse in simulations (#9456)
* add util functions to reuse in simulations

* keeper interface cleanup, gov migrate

* fix module name

* fix sims

* fix staking tests

* introduce a txContext

* fix feegrant

* take in consideration

* fix names

* fix tests

* add bank keeper where needed

* add bank keeper where needed
2021-06-07 09:03:24 +00:00
mergify[bot] 278507b309
Merge branch 'master' into hulatown/adr-043-nft 2021-06-07 08:32:20 +00:00
dependabot[bot] f96811c0dd
build(deps): bump ws from 6.2.1 to 6.2.2 in /docs (#9461)
Bumps [ws](https://github.com/websockets/ws) from 6.2.1 to 6.2.2.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/commits)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
2021-06-07 08:31:20 +00:00
mergify[bot] ccb280742b
Merge branch 'master' into hulatown/adr-043-nft 2021-06-07 06:56:46 +00:00
Federico Kunze 069514e4d6
client: update client error handling to use tx hash from tendermint (#9462) 2021-06-07 02:55:08 -04:00
mergify[bot] 0849698f03
Merge branch 'master' into hulatown/adr-043-nft 2021-06-04 09:30:54 +00:00
Amaury ec3e2b4d0d
feat: Add amino support for x/authz and x/feegrant (#9457)
* add amino for authz

* Add amion for feegrant

* add cl

* Remove protoCdc from simulations

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

Co-authored-by: likhita-809 <78951027+likhita-809@users.noreply.github.com>

* Address reviews

Co-authored-by: likhita-809 <78951027+likhita-809@users.noreply.github.com>
2021-06-04 09:29:58 +00:00
mergify[bot] 9b4f4cf17a
Merge branch 'master' into hulatown/adr-043-nft 2021-06-04 07:25:08 +00:00
Dev Ojha fc6e3d6056
docs: Fix simulation docs link (#9452)
* Fix simulation docs link

* Fix link

* apply suggestion

Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
2021-06-04 07:24:57 +00:00
mergify[bot] 55ebf53bb8
Merge branch 'master' into hulatown/adr-043-nft 2021-06-04 07:17:02 +00:00
dependabot[bot] 9ea550b867
build(deps): bump github.com/prometheus/common from 0.25.0 to 0.27.0 (#9459)
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.25.0 to 0.27.0.
- [Release notes](https://github.com/prometheus/common/releases)
- [Commits](https://github.com/prometheus/common/compare/v0.25.0...v0.27.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  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>
2021-06-04 07:16:01 +00:00
mergify[bot] 1098e27e18
Merge branch 'master' into hulatown/adr-043-nft 2021-06-03 15:43:43 +00:00
Ryan Christoffersen d14398f849
chore: update pull request templates (#9342)
* add new templates

* add revised checklists

* draft reviews checklist

* update checklists

* update checklists

* minor revisions

* delete old template

* apply review suggestion

* set default template

Co-authored-by: ryanchrypto <12519942+ryanchrypto@users.noreply.github.com>
2021-06-03 15:42:29 +00:00
mergify[bot] 3f7c8bb65f
Merge branch 'master' into hulatown/adr-043-nft 2021-06-03 15:09:19 +00:00
likhita-809 f1ec0e2193
fix: Fix testnet command (#9454)
* accept hyphen in node-dir-prefix flag for testnet and change `node-dir-prefixtoken` to `testtoken`

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

* add changelog

* add  changelog

* remove unrelated changelog
2021-06-03 15:08:21 +00:00
mergify[bot] cc289b6ed2
Merge branch 'master' into hulatown/adr-043-nft 2021-06-03 07:37:13 +00:00
MD Aleem 66ee994ce4
fix: x/gov deposits querier (Initial Deposit) (#9288)
* copied from old PR

* fix errors

* add test

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

Co-authored-by: Robert Zaremba <robert@zaremba.ch>

* fix tests

* fix failing test

* add test

* update test

* fix tests

* fix deposit query

* fix test

* update tests

* add more tests

* address lint error

* address lint error

* review changes

Co-authored-by: Robert Zaremba <robert@zaremba.ch>
2021-06-03 07:36:08 +00:00
mergify[bot] db8bd8409b
Merge branch 'master' into hulatown/adr-043-nft 2021-06-03 07:00:40 +00:00
Federico Kunze 90edeb67e2
feat: add `RefundGas` function to `GasMeter` (#9403)
* feat: add RefundGas function to GasMeter

* changelog

* add comment about use case

* Apply suggestions from code review

Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
2021-06-02 15:14:15 +00:00
Ryan Christoffersen 33c045c3c9
fix memo flag description (#9436)
Co-authored-by: ryanchrypto <12519942+ryanchrypto@users.noreply.github.com>
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
2021-06-02 13:50:59 +00:00
yys 2ae7875488
fix: Bank module init genesis optimization (#9428)
* optimize the bank module genesis initialization

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

* fix lint

Co-authored-by: Aaron Craelius <aaron@regen.network>
2021-06-01 20:03:32 +00:00
likhita-809 da87ab0d36
fix: Staking delegations should return empty list instead of rpc error when no records found (#9423)
* return empty list instead of rpc error when no records found for staking delegations

* fix grpc query DelegatorDelegations tests

* remove response code tests for staking delegations

* fix failing tests

* change staking delegations response code to 200 in grpc test

* add staking delegations response code tests to TestQueryDelegatorDelegationsGRPC

* add address without delegations testcase

* add changes to grpc query tests of delegatorDelegations

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

* minor fixes

* add testcases for request with no delegations

* address review comments

* add changelog

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-06-01 15:17:44 +00:00