Commit Graph
1800 Commits
Author SHA1 Message Date
Ergels Gaxhaj 2eb5144749 docs: update ADR 038 proposal (#13473) 2022-12-17 02:30:31 +00:00
Julien Robert cf9102f549 docs: improve mempool docs (#14282) 2022-12-15 21:49:21 +07:00
dependabot[bot] f92fb17892 build(deps): Bump postcss from 8.4.19 to 8.4.20 in /docs (#14264)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-12 17:33:53 +00:00
dependabot[bot] c53809df12 build(deps): Bump postcss-import from 15.0.1 to 15.1.0 in /docs (#14263)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-12 16:59:38 +00:00
Julien Robert d58685c732 docs: fix docs building in 0.47 (#14200) 2022-12-07 14:42:24 +01:00
Ruslan Akhtariev ecb4ca2a82 feat(simapp): move genesis related commands under one genesis command (#14149) 2022-12-07 12:17:19 +00:00
testinginprod 424e6e60ce feat(ADR): ADR 062: Collections -- a new storage layer for cosmos-sdk modules. (#14107) 2022-12-06 09:45:23 -05:00
Amaury 4a7e3f0522 refactor(textual): Update Spec to have shorter Any header screen (#14117)
* Remove object prefix

* update test case

* Update example
2022-12-06 10:45:42 +00:00
a31c4acc7b docs: store spec template/guideline (#14020)
* first draft store-spec-standard

* minor changes

* generalize

* Update store/SPEC_STANDARD.md

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>

* Update store/SPEC_STANDARD.md

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>

* move and write golang

* Update docs/spec/SPEC_STANDARD.md

Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2022-12-05 22:39:47 +00:00
dependabot[bot] 07b24d5d50 build(deps): Bump postcss-import from 15.0.0 to 15.0.1 in /docs (#14161) 2022-12-05 17:49:40 +01:00
yihuangandMarko 1f91ee2ee9 fix: state listener observe writes at wrong time (#13516)
* fix: state listener observe writes at wrong time

Closes: #13457

Currently state listener is notified when the cache store write, which happens in commit event only, which breaks the current design.
The solution (as discussed in the issue) is to listen state writes on rootmulti store only.

It also changes the file streamer to output single data file for the writes in the whole block, since we can't distinguish writes from different stage of abci events.

It adds new config items for file streamer:
- streamers.file.output-metadata
- streamers.file.stop-node-on-error
- streamers.file.fsync

* synchronous abci call, and format doc

* fix comment

* update file streamer readme and fix typos

* typo

* fix: state listener observe writes at wrong time

Closes: #13457

Currently state listener is notified when the cache store write, which happens in commit event only, which breaks the current design.
The solution (as discussed in the issue) is to listen state writes on rootmulti store only.

It also changes the file streamer to output single data file for the writes in the whole block, since we can't distinguish writes from different stage of abci events.

It adds new config items for file streamer:
- streamers.file.output-metadata
- streamers.file.stop-node-on-error
- streamers.file.fsync

synchronous abci call, and format doc

fix comment

update file streamer readme and fix typos

typo

* improve UX of file streamer, make it immediately usable after enabled

- set default value to write_dir.
- make write_dir based on home directory by default.
- auto-create the directory if not exists.

* get homePage from opts

Co-authored-by: Marko <marbar3778@yahoo.com>
2022-12-02 15:43:21 +01:00
9d12a5fce3 feat: implement parse method for Int,Dec,Coin (#13696)
* wip: parse coins

* review changes

* update tests

* update tests

* Use ValueOfString

* fix tests

* fix coin tests

* FIXES

* Add empty coins test case

* fix tests

* fix tests

* review changes

* fix tests

* fix tests

* revert format.go

* revert `format.go`

* review changes

* fix tests & review changes

* review changes

* review changes

* review changes

* review changes

* review changes

* review changes

* proposal shorter code

* review changes

* conflicts

* review changes

* wip

* ParseRepeated for coins

* Revert listpb

* remove duplicate case

* revert some more

Co-authored-by: Amaury M <1293565+amaurym@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
2022-12-02 14:26:25 +01:00
754ca3169e feat: add tx limit to mempool (#14014)
* feat: add bounding max tx to mempool

* add bounded condition

* sligh improvement on generator

* remove unbouded option

* add test

* added mempool options mechanism

* mising test

* seting mempool

* change function name

* change function name

* failing test

* Revert "failing test"

This reverts commit d527982b0d4ec826ff680afb8f43ac1d71809ccf.

* fix import block

* changelog entries

* add ability to do unbounded mempool

* remove unesesary variable

* small comments

* change 0 to mean unbounded

* t

* small test fix

* add the ability to be bounded unbounded and disabled

* t

* set default maxtx

* Update docs/docs/building-apps/02-app-mempool.md

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>

* example for opts

* remove superflues logs entry

* add mempool to configurations

* fix more understandable name

* remove table in favor of bulletpoints

* sender nonce to unbounded

* Update docs/docs/building-apps/02-app-mempool.md

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>

* Update types/mempool/sender_nonce.go

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>

* Update types/mempool/sender_nonce.go

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>

* Update docs/docs/building-apps/02-app-mempool.md

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>

* Update server/config/config.go

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>

* t

* add comment for options

* fix inport

* fix inport

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Emmanuel T Odeke <emmanuel@orijtech.com>
2022-12-02 00:39:55 +00:00
Amaury 0c65734bbe fix: Remove google.golang.org/protobuf Any prefix (#14119)
* refactor: Remove Any's ypes.googleapis.com prefix

* Add docs

* go mod tidy

* Update
2022-12-01 18:09:01 +00:00
Jacob Gadikian 679c5d6086 chore: run markdownlint on the whole repository (#14106) 2022-11-30 19:51:26 +00:00
Joe Abbey 2cf92caf45 Support for repeated (#13604) 2022-11-29 16:37:29 +00:00
Jim Larson 4fe7403f83 feat: deterministic CBOR encoding of textual rendering (#13697)
* feat: deterministic CBOR encoding of textual rendering

* refactor: cbor package to internal, test cases as json

* chore: silence spurious gosec warnings

* docs: review feedback
2022-11-28 17:34:46 +00:00
Julien Robert e5038d8d76 chore: bumps math and api deps (#14035)
* chore: bumps math and api deps

* updates
2022-11-27 23:11:25 +01:00
Julien RobertandMarko 6f329d70c6 docs: add docs about x/auth/tx (#14021)
* docs: add docs about `x/auth/tx`

* updates

* updates

* updates

* updates

* updates

* updates

* updates

Co-authored-by: Marko <marbar3778@yahoo.com>
2022-11-27 20:30:23 +00:00
Marko 67b2b34bc7 docs: appside mempool (#13875) 2022-11-25 22:07:57 +00:00
Jim Larson 077abae250 feat: value renderer for google.protobuf.Any (#13671)
* chore: skeleton files for any renderer

* feat: first cut at Any renderer and tests

* test: Any fields, more tests, rename lookup by field

* docs: make Any example match the stated spec, and the implementation.

* refactor: use protojson for better test case legibility

* test: use protocmp for proto equality

See https://developers.google.com/protocol-buffers/docs/reference/go/faq#deepequal

* refactor: use json.RawMessage instead of remarshalling

* refactor: consistent pointer receiver for Textual
2022-11-24 08:04:55 +00:00
AmauryandLikhita Polavarapu fe5b0ff4a5 feat(textual): Add Enum value renderer (#13853)
* feat(textual): Add Enum value renderer

* parse

* Update ADR

* Fix test

* Update tx/textual/internal/testpb/1.proto

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

Co-authored-by: Likhita Polavarapu <78951027+likhita-809@users.noreply.github.com>
2022-11-23 11:01:33 +00:00
Julien Robert d6da7037b6 fix(group): migrate group policy account to base accounts with credentials (#13742) 2022-11-21 22:46:48 +00:00
Julien RobertandMarko 3bb2779574 chore: rename app_legacy & add sims for 0.47 (#13950)
* docs: rename `app_legacy`

* add sims for 0.47

* update concurrency group

Co-authored-by: Marko <marbar3778@yahoo.com>
2022-11-21 18:11:37 +00:00
dependabot[bot] 95e370bf76 build(deps): Bump minimatch, recursive-readdir and serve-handler (#13954)
Bumps [minimatch](https://github.com/isaacs/minimatch), [recursive-readdir](https://github.com/jergason/recursive-readdir) and [serve-handler](https://github.com/zeit/serve-handler). These dependencies needed to be updated together.

Updates `minimatch` from 3.0.4 to 3.1.2
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2)

Updates `recursive-readdir` from 2.2.2 to 2.2.3
- [Release notes](https://github.com/jergason/recursive-readdir/releases)
- [Changelog](https://github.com/jergason/recursive-readdir/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jergason/recursive-readdir/commits/v2.2.3)

Updates `serve-handler` from 6.1.3 to 6.1.5
- [Release notes](https://github.com/zeit/serve-handler/releases)
- [Commits](https://github.com/zeit/serve-handler/compare/6.1.3...6.1.5)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-type: indirect
- dependency-name: recursive-readdir
  dependency-type: indirect
- dependency-name: serve-handler
  dependency-type: indirect
...

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-11-21 18:51:14 +01:00
Adam Moser 385bff589d docs: relocate abci.go in docs/building-modules (#13934) 2022-11-20 16:05:28 +01:00
dependabot[bot] 3f71b79922 build(deps): Bump loader-utils from 2.0.3 to 2.0.4 in /docs (#13887)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 2.0.3 to 2.0.4.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v2.0.4/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v2.0.3...v2.0.4)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

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-11-16 14:06:30 +01:00
Dreamer 5f4350d418 refactor(x/nft): remove class&nft id validation (#13836) 2022-11-15 13:47:38 +01:00
Aaron Craelius ec27c5384b refactor!: migrate to core appmodule.AppModule extension interfaces (#13794) 2022-11-14 21:23:55 +00:00
MarkoandJulien Robert 81209e688a docs: add a running in production section (#13807)
- add a running in production section
- link to existing tutorial as well. 


Co-authored-by: Julien Robert <julien@rbrt.fr>
2022-11-14 19:27:46 +01:00
dependabot[bot]andJulien Robert 39754dd7cc build(deps): Bump postcss from 8.4.18 to 8.4.19 in /docs (#13857)
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.18 to 8.4.19.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.18...8.4.19)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2022-11-14 16:50:10 +00:00
dependabot[bot] ab9ecd5a26 build(deps): Bump tailwindcss from 3.2.2 to 3.2.4 in /docs (#13856)
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.2.2 to 3.2.4.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.2.2...v3.2.4)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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-11-14 17:22:11 +01:00
Julien Robert f1fc44efd4 docs: add 0.47 to docs (#13852) 2022-11-14 15:06:20 +01:00
Aleksandr Bezobchuk 78886bc8de chore: ADR-060 Updates (#13844) 2022-11-14 07:05:56 +00:00
dependabot[bot] a785bf5af6 build(deps): Bump loader-utils from 2.0.2 to 2.0.3 in /docs (#13800)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v2.0.3/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v2.0.2...v2.0.3)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

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-11-08 21:22:09 +01:00
Julien Robert c85447cdb9 docs: add documentation about depinject and app wiring (#13683) 2022-11-07 19:19:07 +00:00
dependabot[bot]andJulien Robert 5af7b5993c build(deps): Bump tailwindcss from 3.2.1 to 3.2.2 in /docs (#13783)
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.2.1 to 3.2.2.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.2.1...v3.2.2)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2022-11-07 17:20:01 +01:00
MarkoandJulien Robert 6ae5641233 docs: set api endpoints to localhost by default (#13778)
* Default GRPC and REST endpoints to localhost. Add documentation on recommended ways to expose it. 

Co-authored-by: Julien Robert <julien@rbrt.fr>

Co-authored-by: Julien Robert <julien@rbrt.fr>
2022-11-07 11:06:06 +00:00
Julien Robert d6e5bb3669 docs: fix toc links (#13770) 2022-11-04 15:35:22 +00:00
Julien Robert d2e4154298 docs: update spec structure (#13768) 2022-11-04 14:55:04 +00:00
Julien Robert 4b26d9e27d chore: use tagged rosetta version (#13765)
* chore: use tagged rosetta version

* add unit test in CI, bump tm and update changelog

* update rosetta data

* update action
2022-11-04 15:41:21 +01:00
sleepy ramen 39c5c079cd fix: misc fixes for cosmos-rosetta (#13583)
### Description

Closes:
https://github.com/cosmos/cosmos-sdk/issues/13083
https://github.com/cosmos/cosmos-sdk/issues/11402
https://github.com/cosmos/cosmos-sdk/issues/10678
https://github.com/cosmos/cosmos-sdk/issues/12358
https://github.com/cosmos/cosmos-sdk/issues/10776
https://github.com/cosmos/cosmos-sdk/issues/12934

### 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/main/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/main/docs/building-modules)
- [x] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#testing)
- [x] added a changelog entry to `CHANGELOG.md`
- [x] included comments for [documenting Go code](https://blog.golang.org/godoc)
- [x] 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)
2022-11-04 11:48:45 +00:00
Julien Robert 0e421d8295 docs: add documentation on documentation deployment (#13739) 2022-11-03 17:23:52 +01:00
Aaron Craelius 1c3e74104a docs: update ADR 057 app wiring (#13736)
* docs: update ADR 057 app wiring

* remove ADR 061 ref
2022-11-02 21:19:53 +01:00
Julien Robert 3e2504510f docs: fix algolia (#13729) 2022-11-02 13:30:03 +01:00
dependabot[bot]andJulien Robert 608ee16370 build(deps): Bump @docusaurus/core from 2.1.0 to 2.2.0 in /docs (#13708)
* build(deps): Bump @docusaurus/core from 2.1.0 to 2.2.0 in /docs

Bumps [@docusaurus/core](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v2.2.0/packages/docusaurus)

---
updated-dependencies:
- dependency-name: "@docusaurus/core"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* bump docusaurus

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-10-31 18:04:37 +01:00
dependabot[bot] fac504ed43 build(deps): Bump autoprefixer from 10.4.12 to 10.4.13 in /docs (#13687)
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.4.12 to 10.4.13.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.4.12...10.4.13)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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-10-28 18:16:41 +02:00
Julien Robert dd78ce9ca4 docs: add auth tx commands documentation (#13682) 2022-10-28 13:01:34 +00:00
5b7edd2329 docs: Cosmos SDK Basic topics - apply present tense and technical content styles (#10182) (#12971)
* docs: apply present tense to Basic topics

* docs: apply present tense to Basic topics

* Apply suggestions from code review

Co-authored-by: Barrie Byron <barriebyron@gmail.com>

* Update docs/basics/tx-lifecycle.md

* docs: apply technical content styles to Basic topics

* docs: apply technical content styles to Basic topics

* docs: apply present tense to Basic topics

* docs: apply present tense to Basic topics

* Apply suggestions from code review

Co-authored-by: Barrie Byron <barriebyron@gmail.com>

* docs: apply technical content styles to Basic topics

* docs: apply technical content styles to Basic topics

Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: Barrie Byron <barriebyron@gmail.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
2022-10-27 11:25:16 +00:00
Julien Robert c303d7f341 chore: small improvements (#13672)
* ci: update buf

* add recommended vscode extension

* update gh username

* follow-up #13613

* add more sugestions

* remove atlas github action
2022-10-26 22:47:28 +00:00