Jacob Gadikian
b10097fdcf
refactor: remove storev2alpha1 ( #13371 )
2022-09-23 21:53:58 +00:00
Zaki Manian
ddf1dd4915
docs: Liquid staking ADR ( #13239 )
...
* Initial commit of liquid staking adr
* Update adr in response to reviews:w
* Update docs/architecture/adr-061-liquid-staking.md
Co-authored-by: Sam Hart <sam@hxrts.com>
* Update docs/architecture/adr-061-liquid-staking.md
Co-authored-by: Sam Hart <sam@hxrts.com>
* Update docs/architecture/adr-061-liquid-staking.md
Co-authored-by: Sam Hart <sam@hxrts.com>
* Update docs/architecture/adr-061-liquid-staking.md
Co-authored-by: Sam Hart <sam@hxrts.com>
* Update docs/architecture/adr-061-liquid-staking.md
Co-authored-by: Sam Hart <sam@hxrts.com>
* Update docs/architecture/adr-061-liquid-staking.md
Co-authored-by: Sam Hart <sam@hxrts.com>
* Update docs/architecture/adr-061-liquid-staking.md
Co-authored-by: Sam Hart <sam@hxrts.com>
* Update docs/architecture/adr-061-liquid-staking.md
Co-authored-by: Sam Hart <sam@hxrts.com>
* Update docs/architecture/adr-061-liquid-staking.md
Co-authored-by: Sam Hart <sam@hxrts.com>
* Update docs/architecture/adr-061-liquid-staking.md
Co-authored-by: Sam Hart <sam@hxrts.com>
* Update docs/architecture/adr-061-liquid-staking.md
Co-authored-by: Sam Hart <sam@hxrts.com>
* Update adr-061-liquid-staking.md
* Update docs/architecture/adr-061-liquid-staking.md
Co-authored-by: likhita-809 <78951027+likhita-809@users.noreply.github.com>
* Update docs/architecture/adr-061-liquid-staking.md
Co-authored-by: likhita-809 <78951027+likhita-809@users.noreply.github.com>
* Update docs/architecture/adr-061-liquid-staking.md
Co-authored-by: likhita-809 <78951027+likhita-809@users.noreply.github.com>
* Update docs/architecture/adr-061-liquid-staking.md
Co-authored-by: likhita-809 <78951027+likhita-809@users.noreply.github.com>
Co-authored-by: Sam Hart <sam@hxrts.com>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: likhita-809 <78951027+likhita-809@users.noreply.github.com>
2022-09-23 19:35:37 +00:00
likhita-809
09b0f58932
feat: make helper function for adding accounts to genesis state ( #13298 )
2022-09-23 19:25:36 +00:00
Aleksandr Bezobchuk
b853d3fe8f
chore: store package specification ( #13209 )
...
* updates
* updates
* updates
* updates
* updates
* updates
* updates
* updates
* updates
* updates
* updates
* updates
* updates
* updates
* updates
* updates
* updates
Co-authored-by: Marko <marbar3778@yahoo.com>
2022-09-23 16:46:28 +00:00
Julien Robert
555d774c73
ci: further improve gh actions ( #13361 )
2022-09-23 11:33:38 -05:00
Julien Robert
df40c0a9d1
refactor!: remove broadcast mode block ( #12659 )
2022-09-23 15:16:31 +00:00
Jacob Gadikian
6cbb587e18
refactor: remove db ( #13370 )
...
* remove db
* Update CHANGELOG.md
2022-09-23 08:08:26 -05:00
likhita-809
8dd708d9cc
docs: guidelines for proto message's String() method ( #13364 )
2022-09-22 18:48:07 +00:00
dependabot[bot]
89aa914bed
build(deps): Bump actions/stale from 5 to 6 ( #13365 )
...
Bumps [actions/stale](https://github.com/actions/stale ) from 5 to 6.
- [Release notes](https://github.com/actions/stale/releases )
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/stale/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/stale
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-22 14:22:12 -04:00
Julien Robert
c297caa697
ci: improve github actions ( #13358 )
...
* ci: improve github actions
* updates
* revert title change
* updates
* implement feedback
* Update go.mod
Co-authored-by: Marko <marbar3778@yahoo.com>
2022-09-22 00:57:19 +02:00
Julien Robert
7eb259fd86
feat: add draft-proposal for x/group ( #13353 )
...
* feat: add `draft-proposal` for x/group
* add changelog
* extract useful function
* add `GetMsgFromTypeURL` tests
2022-09-22 00:53:02 +02:00
dependabot[bot]
fc32ef1c9c
build(deps): Bump github.com/coinbase/rosetta-sdk-go from 0.8.0 to 0.8.1 ( #13357 )
...
* build(deps): Bump github.com/coinbase/rosetta-sdk-go from 0.8.0 to 0.8.1
Bumps [github.com/coinbase/rosetta-sdk-go](https://github.com/coinbase/rosetta-sdk-go ) from 0.8.0 to 0.8.1.
- [Release notes](https://github.com/coinbase/rosetta-sdk-go/releases )
- [Commits](https://github.com/coinbase/rosetta-sdk-go/compare/v0.8.0...v0.8.1 )
---
updated-dependencies:
- dependency-name: github.com/coinbase/rosetta-sdk-go
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* build(deps): Bump github.com/coinbase/rosetta-sdk-go from 0.8.0 to 0.8.1 for all modules
Signed-off-by: dependabot[bot] <support@github.com>
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>
2022-09-21 15:32:33 -03:00
Marko
107ffee28e
chore: upstream error on empty version ( #13355 )
...
* upstream error on empty version
* fix tests
* revert change
2022-09-21 18:31:19 +02:00
Emmanuel T Odeke
a2118afc21
fix: x/gov/client/cli: update & tighten Prompt.Parse tests ( #13350 )
...
Adds more rigorous checks to ensure that the output
is as expected with range failures. While here also
added control tests to ensure that we can parse integers
within range of int.
Updates #13346
2022-09-21 05:59:11 +00:00
Emmanuel T Odeke
9c2aef342d
chore: all: use golang.org/x/exp/maps.(Keys, Values) where necessary ( #13349 )
...
Uses golang.org/x/exp/maps.(Keys, Values) to sort out flagged
potential non-determinism issues due to map iteration which is
randomized in maps.
These were flagged by cosmos/gosec in
* https://github.com/cosmos/cosmos-sdk/security/code-scanning/724
* https://github.com/cosmos/cosmos-sdk/security/code-scanning/725
* https://github.com/cosmos/cosmos-sdk/security/code-scanning/726
* https://github.com/cosmos/cosmos-sdk/security/code-scanning/727
* https://github.com/cosmos/cosmos-sdk/security/code-scanning/728
* https://github.com/cosmos/cosmos-sdk/security/code-scanning/729
* https://github.com/cosmos/cosmos-sdk/security/code-scanning/782
* https://github.com/cosmos/cosmos-sdk/security/code-scanning/813
* https://github.com/cosmos/cosmos-sdk/security/code-scanning/814
* https://github.com/cosmos/cosmos-sdk/security/code-scanning/816
which complained about potential non-determinism in
map iteration in which we only want appends in map iteration loops,
this change instead uses golang.org/x/exp/maps.Keys to retrieve
the keys then sort.Strings which simplifies the helper code.
This change fixes issues in:
* orm/model/ormdb: non-determinism in ExportJSON
* store/internal/proofs
* types/module
* x/auth/keeper
* x/bank
* x/genutil/client/cli
Fixes #13348
2022-09-21 02:08:13 +00:00
Emmanuel T Odeke
56a49aba46
fix: x/gov/client/cli: fix integer overflow in parsing int prompted values ( #13347 )
...
Reported by cosmos/gosec in https://github.com/cosmos/cosmos-sdk/security/code-scanning/5730 .
This change checks for errors from strconv.Atoi in which case we were
susceptible to out of range errors, this change also adds tests to
prevent regressions.
Fixes #13346
2022-09-21 01:26:50 +02:00
Julien Robert
79f277c111
fix: fix buf commit link ( #13345 )
2022-09-20 21:21:45 +02:00
pratikbin
14c0233ab8
ci: use native paths instead of get-diff-action ( #13342 )
...
* ci: use native paths instead of get-diff-action
* ci: add paths for pr
2022-09-20 16:06:19 +00:00
Aleksandr Bezobchuk
c1c23a75d9
fix: ensure withdraw_rewards events are always emitted on reward withdrawal ( #13323 )
2022-09-20 10:23:21 +00:00
Marko
412e2fc86e
feat: configurable fastnode ( #13321 )
2022-09-20 08:49:18 +00:00
yihuang
822900b69f
fix: streaming listeners are not called for deliver tx event ( #13334 )
...
* Problem: streaming listeners are not called for deliver tx event
it was removed accidentally, add back.
* Update CHANGELOG.md
* try to fix e2e test by wait for one more block
2022-09-20 10:02:59 +02:00
dependabot[bot]
373f5ba50d
build(deps): Bump pgregory.net/rapid from 0.5.2 to 0.5.3 ( #13332 )
2022-09-19 19:38:32 +02:00
likhita-809
7ebbfa0b30
refactor(nft): CLI tests using Tendermint Mock ( #13256 )
...
* wip: move nft cli tests to e2e tests
* wip: add cli tests using Tendermint Mock
* cleanup genutil test file
* remove unncessary test cases
* address review comments
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2022-09-19 13:01:49 +00:00
Julien Robert
7252f4a758
feat: CLI tooling to generate proposal JSONs ( #13304 )
2022-09-19 14:22:04 +02:00
Marko
73debf46d9
docs: change abci++ -> abci 1.0 ( #13322 )
...
* change abci++ -> abci 1.0
* file change
2022-09-16 17:35:23 +02:00
Marko
d04392c5e2
chore: cleanup changelog ( #13320 )
2022-09-16 10:48:43 -04:00
Nathan Dias
254c8f1288
ci: add workflow for cosmos/gosec ( #13311 )
2022-09-16 10:30:51 +00:00
Aaron Craelius
d9ef976412
feat(x/auth): define simplified account query service ( #13210 )
2022-09-16 09:12:41 +00:00
Marko
b37ddcafb3
add changelog entries for previous changes ( #13319 )
2022-09-16 10:47:29 +02:00
yihuang
6c4f94b671
fix: keep the balance query endpoint compatible with legacy blocks ( #13301 )
...
* keep the balance query endpoint compatible with legacy blocks
Closes : #13296
A temporary solution before the proxy tool developed, since the balance endpoint is too important.
* Update CHANGELOG.md
* Apply suggestions from code review
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: Marko <marbar3778@yahoo.com>
2022-09-16 09:57:42 +02:00
atheeshp
ceffc5e01c
feat: x/auth determinism tests for Account query ( #13255 )
...
* WIP: rapid tests
* remove commented code
* review changes
* review changes
* review changes
* review changes
* review changes
* review changes
* review changes
* review changes
* review changes
* review changes
* `go mod tidy`
2022-09-16 09:22:09 +02:00
Amaury
340c01bf5a
fix!: Fix group amino codec ( #13307 )
...
* fix!: Fix group amino codec
* changelog
2022-09-15 17:06:43 +00:00
dependabot[bot]
3fd6ac91be
build(deps): Bump bufbuild/buf-setup-action from 1.7.0 to 1.8.0 ( #13309 )
2022-09-15 18:49:56 +02:00
Amaury
c752ddda4f
refactor: Rename deterministic to module_query_safe ( #13305 )
2022-09-15 16:41:47 +02:00
likhita-809
410064243f
fix: fix golangci-lint ( #13300 )
2022-09-15 08:24:30 +00:00
Aaron Craelius
ae21d8c780
refactor!: autocli go.mod and package naming ( #13294 )
2022-09-14 23:11:11 +02:00
dependabot[bot]
85422881cf
build(deps): Bump github.com/cosmos/gogoproto from 1.4.1 to 1.4.2 ( #13291 )
...
Bumps [github.com/cosmos/gogoproto](https://github.com/cosmos/gogoproto ) from 1.4.1 to 1.4.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/cosmos/gogoproto/releases ">github.com/cosmos/gogoproto's releases</a>.</em></p>
<blockquote>
<h2>v1.4.2</h2>
<h3>Features</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/cosmos/gogoproto/pull/13 ">#13</a> Add <code>AllFileDescriptors</code> function.</li>
</ul>
<h3>Improvements</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/cosmos/gogoproto/pull/8 ">#8</a> Fix typo in <code>doc.go</code>.</li>
<li><a href="https://github-redirect.dependabot.com/cosmos/gogoproto/pull/8 ">#8</a> Support for merging messages implementing Merger which are embedded by value.</li>
<li><a href="https://github-redirect.dependabot.com/cosmos/gogoproto/pull/8 ">#8</a> Use reflect.Value.String() for String kinds in proto equal.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/cosmos/gogoproto/blob/main/CHANGELOG.md ">github.com/cosmos/gogoproto's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/cosmos/gogoproto/releases/tag/v1.4.2 ">v1.4.2</a> - 2022-09-14</h2>
<h3>Features</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/cosmos/gogoproto/pull/13 ">#13</a> Add <code>AllFileDescriptors</code> function.</li>
</ul>
<h3>Improvements</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/cosmos/gogoproto/pull/8 ">#8</a> Fix typo in <code>doc.go</code>.</li>
<li><a href="https://github-redirect.dependabot.com/cosmos/gogoproto/pull/8 ">#8</a> Support for merging messages implementing Merger which are embedded by value.</li>
<li><a href="https://github-redirect.dependabot.com/cosmos/gogoproto/pull/8 ">#8</a> Use reflect.Value.String() for String kinds in proto equal.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="739310d858 "><code>739310d</code></a> docs: add changelog (<a href="https://github-redirect.dependabot.com/cosmos/gogoproto/issues/15 ">#15</a>)</li>
<li><a href="4f8afe8bcd "><code>4f8afe8</code></a> feat: add AllFileDescriptors function (<a href="https://github-redirect.dependabot.com/cosmos/gogoproto/issues/13 ">#13</a>)</li>
<li><a href="27e5769808 "><code>27e5769</code></a> ci: fix proto registry workflow (<a href="https://github-redirect.dependabot.com/cosmos/gogoproto/issues/12 ">#12</a>)</li>
<li><a href="c3a0399b5e "><code>c3a0399</code></a> feat: cherry-pick improvements from <code>gogo/protobuf</code> (<a href="https://github-redirect.dependabot.com/cosmos/gogoproto/issues/8 ">#8</a>)</li>
<li><a href="ed9594ccc9 "><code>ed9594c</code></a> chore: bump protobuf (<a href="https://github-redirect.dependabot.com/cosmos/gogoproto/issues/9 ">#9</a>)</li>
<li>See full diff in <a href="https://github.com/cosmos/gogoproto/compare/v1.4.1...v1.4.2 ">compare view</a></li>
</ul>
</details>
<br />
[](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>
2022-09-14 19:19:00 +00:00
Emmanuel T Odeke
83f88a6820
fix: types: correctly coalesce coins even with repeated denominations & simplify logic ( #13265 )
2022-09-14 13:29:45 +00:00
Amaury
fd028db79a
feat(textual): Coin and Coins value renderers ( #12729 )
...
* wip coins
* Make coin test pass
* Remove useless file
* wip
* Fix tests
* Small tweaks
* reviews
* Add comment
* Add back go mod
* Add more coins test
* Update coins test
* Add more coins tests
* Reference todo issue
* Add metadata querier test
* add more tests
* Fix test build
* Improve comments
* Update tx/textual/internal/testdata/coin.json
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
* json formatting
* add more test cases
* go mod tidy
* address review
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
2022-09-14 12:32:52 +02:00
Julien Robert
9dacaa4a19
ci: update all dependencies for all go mod with dependabot ( #13180 )
2022-09-14 09:35:09 +00:00
Aaron Craelius
5deb137f7a
feat: add proto annotation for Msg services ( #13178 )
...
* feat: add proto annotation for Msg services
* add annotation to Msg services
* proto gen
* add CHANGELOG entry
* expand doc string
* codegen
* revert
* proto-gen
* revert
2022-09-14 09:27:45 +00:00
Emmanuel T Odeke
641ab20415
fix: crypto/keys/secp246k1/*: add +build cgo guard to avoid failure with CGO_ENABLED=0 ( #13267 )
...
Fixes an oversight that hadn't been considered when the build
guards were added to the other files in the same directory, that
this test requires linking with code that hooks into cgo. This change
adds the build guard
+build cgo
Fixes #13266
2022-09-14 01:06:44 +02:00
Matt Kocubinski
b96bed5534
feat: add mempool interfaces ( #13249 )
...
* working out interfaces
* integration to checkTx
* use struct fields directly in sz calculation
* fix typo
* nil guard on mempool
* Remove tx builder method
* impl with panic
2022-09-13 21:25:44 +02:00
Reece Williams
c32493a5b0
feat: add more coins after add-genesis-account is made ( #13233 )
2022-09-13 14:43:12 +00:00
atheeshp
04858ea2ea
fix: sequence in sign-batch ( #13200 )
...
## Description
Closes : #13199
---
### 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/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)
2022-09-13 13:35:51 +00:00
Marko
d07429425f
chore: separate build flags ( #13260 )
...
* separate build flags
* legible
2022-09-13 13:10:31 +00:00
Marko
a79eafa0b1
build docker without build-linux ( #13257 )
2022-09-13 10:08:38 +00:00
cool-developer
c2c2d24b14
add cli test ( #13194 )
...
Co-authored-by: Julien Robert <julien@rbrt.fr>
2022-09-13 08:52:58 +00:00
Marko
467ef28eea
chore: build for multiple platforms ( #13248 )
...
* build for multiple platforms
* test in pr
2022-09-12 18:20:50 +00:00
dependabot[bot]
85a1aa3ba0
build(deps): Bump cosmossdk.io/api from 0.2.0 to 0.2.1 in /orm ( #13250 )
...
* build(deps): Bump cosmossdk.io/api from 0.2.0 to 0.2.1 in /orm
Bumps [cosmossdk.io/api](https://github.com/cosmos/cosmos-sdk ) from 0.2.0 to 0.2.1.
- [Release notes](https://github.com/cosmos/cosmos-sdk/releases )
- [Changelog](https://github.com/cosmos/cosmos-sdk/blob/main/CHANGELOG.md )
- [Commits](https://github.com/cosmos/cosmos-sdk/compare/v0.2.0...api/v0.2.1 )
---
updated-dependencies:
- dependency-name: cosmossdk.io/api
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* go mod tidy all
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2022-09-12 17:46:01 +00:00