Commit Graph

10679 Commits

Author SHA1 Message Date
Julien Robert
d2977478bc
feat: use go embed for swagger (#15216) 2023-02-28 15:21:38 +00:00
Julien Robert
1273c05ada
test(math): fix FormatDec test (#15215) 2023-02-28 14:57:42 +00:00
Marko
17ba80df7c
chore: use message router interface (#15213) 2023-02-28 12:40:16 +01:00
dependabot[bot]
82e7ed1f08
build(deps): Bump golang.org/x/sys from 0.0.0-20220209214540-3681064d5158 to 0.5.0 in /depinject (#15161)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 22:01:47 +00:00
Julien Robert
5d559dd265
feat!: use cosmossdk.io/log logger (#15011) 2023-02-27 21:36:22 +00:00
dependabot[bot]
35d1e7a90a
build(deps): Bump github.com/jhump/protoreflect from 1.12.1-0.20220721211354-060cc04fc18b to 1.15.0 (#15173)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-27 21:50:12 +01:00
dependabot[bot]
b1603227e5
build(deps): Bump github.com/stretchr/testify from 1.8.1 to 1.8.2 (#15172)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-27 19:49:52 +00:00
dependabot[bot]
5c76bff0d4
build(deps): Bump actions/add-to-project from 0.4.0 to 0.4.1 (#15171) 2023-02-27 19:21:34 +00:00
dependabot[bot]
d1625654ae
build(deps): Bump github.com/cosmos/cosmos-db from 0.0.0-20221226095112-f3c38ecb5e32 to 1.0.0-rc.1 in /core (#15180)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 18:58:45 +00:00
Julien Robert
ac39a4215c
ci: limit dependabot spam (#15203) 2023-02-27 18:29:39 +00:00
Marko
7c9245dbdf
chore: audit changelog (#15132) 2023-02-27 15:05:43 +01:00
Facundo Medica
74ff94fdd5
fix: Format decimals correctly for signmode textual (#15129)
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
2023-02-27 12:34:20 +00:00
Mark Rushakoff
caf94106cb
refactor(store): extract (*Store).saveChunk method (#15144) 2023-02-27 10:17:17 +00:00
Mark Rushakoff
747c29e8fa
refactor(log): elide keyval translation to map (#15158) 2023-02-24 19:54:34 +01:00
Mark Rushakoff
ff3fed22bb
test(x/gov): fix flaky TestActivateVotingPeriod test (#15153) 2023-02-24 18:14:26 +00:00
Facundo Medica
8e01d3f90f
refactor: remove one usage of our bcrypt fork (#15154) 2023-02-24 18:52:05 +01:00
Aleksandr Bezobchuk
41690532be
refactor: Refactor TxSearch (#14758)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-02-24 16:08:53 +00:00
Mark Rushakoff
21d479c4ef
chore(tx): fix staticcheck issues (#15150) 2023-02-24 15:02:56 +00:00
Till Ziegler
b53be683b6
feat: add --initial-height flag to cli init cmd (#15147) 2023-02-24 15:26:40 +01:00
Matt Kocubinski
4c51b77bf5
chore: fix misc linter errors (#15145) 2023-02-23 22:42:52 +00:00
Matt Kocubinski
976ecd4c08
feat: protoreflect based amino json encoder (#14877) 2023-02-23 21:41:06 +00:00
Julien Robert
7d28f63291
docs: set proper v0.47.x buf commit (#15142) 2023-02-23 22:17:58 +01:00
Mark Rushakoff
2b126af060
chore(orm): add missing error checks (#15141) 2023-02-23 20:45:53 +00:00
Mark Rushakoff
79b74ff121
chore(core): fix staticcheck issues (#15140) 2023-02-23 20:14:47 +00:00
Mark Rushakoff
b378be9e31
test: use t.Parallel to speed up pruning tests (#15139) 2023-02-23 19:51:02 +00:00
dependabot[bot]
39df7f3acf
build(deps): Bump github.com/hdevalence/ed25519consensus from 0.0.0-20220222234857-c00d1f31bab3 to 0.1.0 (#15137)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-23 18:49:34 +00:00
dependabot[bot]
e9fcb35b61
build(deps): Bump github.com/chzyer/readline from 0.0.0-20180603132655-2972be24d48e to 1.5.1 (#15135)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-23 17:24:49 +00:00
Marko
21cfde0f3b
chore: minor update to roadmap (#15131)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
2023-02-23 14:39:18 +01:00
Jayden Lee
c71d19939b
fix: change the behavior of offline mode correctly (#15123)
## Description
Closes: #15109 

Change to work only when `FlagAccountNumber` and `FlagSequence` are in offline mode. In other cases, use `AccountRetriever` to populate those values.



---

### 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/main/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/main/docs/docs/building-modules)
- [ ] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/main/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)
2023-02-23 10:03:20 +00:00
samricotta
eb98685508
feat: constitution (#15125) 2023-02-22 18:41:59 +01:00
Aleksandr Bezobchuk
7f99ad5fe7
refactor: cleanup server logic (#15041) 2023-02-22 16:09:08 +00:00
Marko
df6f25dfee
chore: add roadmap items (#15110)
## Description

this pr adds more items to the roadmap base on work we are doing and will do. it is not complete and will evolve 

---

### 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/main/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/main/docs/docs/building-modules)
- [ ] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/main/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)
2023-02-22 12:12:21 +00:00
Likhita Polavarapu
e55b1a9fbe
fix: Make WithBlockTime() consistent with CometBFT canonical time (#15124) 2023-02-22 12:49:18 +01:00
Julien Robert
832517befc
feat: add application genesis (#15031) 2023-02-22 10:29:03 +00:00
Likhita Polavarapu
57653f8e60
feat: create-validator now takes a json file as arg (#14864) 2023-02-22 05:43:13 +00:00
Aleksandr Bezobchuk
77660ec452
chore: UX Mempool Tweaks (#15121) 2023-02-21 20:21:24 -06:00
Julien Robert
27f3c729a3
build(deps): bump to tagged version of CometBFT (#15118) 2023-02-21 23:35:56 +01:00
dependabot[bot]
9569b34997
build(deps): Bump github.com/cosmos/cosmos-proto from 1.0.0-beta.1 to 1.0.0-beta.2 (#15116)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-21 21:46:01 +01:00
dependabot[bot]
25de9de537
build(deps): Bump github.com/cosmos/gogoproto from 1.4.5 to 1.4.6 (#15111)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-21 14:45:43 +00:00
Marko
704a746b30
chore: update vesting readme (#15107) 2023-02-20 23:18:27 +00:00
dependabot[bot]
8a46a3d4fe
build(deps): Bump cosmossdk.io/api from 0.3.0 to 0.3.1 (#15092)
Bumps [cosmossdk.io/api](https://github.com/cosmos/cosmos-sdk) from 0.3.0 to 0.3.1.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/cosmos/cosmos-sdk/blob/v0.3.1/CHANGELOG.md">cosmossdk.io/api's changelog</a>.</em></p>
<blockquote>
<h2>0.3.1 (March 23, 2017)</h2>
<p>IMPROVEMENTS:</p>
<ul>
<li>CLI returns exit code 1 and logs error before exiting</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/cosmos/cosmos-sdk/compare/v0.3.0...v0.3.1">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=cosmossdk.io/api&package-manager=go_modules&previous-version=0.3.0&new-version=0.3.1)](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>
2023-02-20 20:39:19 +00:00
dependabot[bot]
16abb56b51
build(deps): Bump tailwindcss from 3.2.6 to 3.2.7 in /docs (#15091) 2023-02-20 19:32:57 +01:00
Julien Robert
67f04e6296
docs: update cometbft migration docs (#15085) 2023-02-20 16:29:35 +01:00
Amaury
96876f8e01
feat: Add merged registry for gogo and protov2 (#14886) 2023-02-20 15:24:11 +00:00
atheeshp
9e5e8ea89d
chore: CLI metadata help text (#15071) 2023-02-20 14:09:49 +00:00
dependabot[bot]
1eb3b430f2
build(deps): Bump pgregory.net/rapid from 0.5.3 to 0.5.5 in /collections (#15072)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-20 13:43:50 +00:00
dependabot[bot]
32a683f902
build(deps): Bump github.com/cosmos/iavl from 0.20.0-alpha3 to 0.21.0-alpha.1 in /store (#15078)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-20 13:20:19 +00:00
Marko
fd34d3f221
chore: fix int conversion lint (#15070)
## Description

this pr fixes a integer conversion lint issue. 

---

### 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/main/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/main/docs/docs/building-modules)
- [ ] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/main/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)
2023-02-20 12:36:51 +00:00
Julien Robert
067ee92d4d
refactor: simply errors (#15067) 2023-02-20 12:03:40 +00:00
dependabot[bot]
f69b9ff58f
build(deps): Bump github.com/prometheus/common from 0.39.0 to 0.40.0 (#15069)
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.39.0 to 0.40.0.
<details>
<summary>Commits</summary>
<ul>
<li><a href="2c9877d792"><code>2c9877d</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/prometheus/common/issues/444">#444</a> from abursavich/expfmt-eof</li>
<li><a href="d888bfa06f"><code>d888bfa</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/prometheus/common/issues/443">#443</a> from abursavich/expfmt-decode</li>
<li><a href="d074dea0fc"><code>d074dea</code></a> expfmt: only ignore io.EOF errors in TextParse.startOfLine</li>
<li><a href="5be97a0535"><code>5be97a0</code></a> expfmt: only call TextParser.TextToMetricFamilies once from textDecoder</li>
<li><a href="f9c1994be0"><code>f9c1994</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/prometheus/common/issues/440">#440</a> from zenador/sparsehistograms</li>
<li><a href="18a421471c"><code>18a4214</code></a> Update comments according to code review</li>
<li><a href="4e9e3f5f46"><code>4e9e3f5</code></a> Continue to use json-iterator to improve marshalling of SamplePair</li>
<li><a href="f71df30fee"><code>f71df30</code></a> Continue to use json-iterator to improve marshalling of SampleHistogramPair</li>
<li><a href="eda7de1dd2"><code>eda7de1</code></a> Start to use json-iterator to improve marshalling of HistogramBucket</li>
<li><a href="01880dc50b"><code>01880dc</code></a> Add benchmarks for marshalling</li>
<li>Additional commits viewable in <a href="https://github.com/prometheus/common/compare/v0.39.0...v0.40.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.39.0&new-version=0.40.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>
2023-02-20 11:28:00 +00:00