Commit Graph

1833 Commits

Author SHA1 Message Date
dependabot[bot]
f926631d04
build(deps): Bump http-cache-semantics from 4.1.0 to 4.1.1 in /docs (#14884)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-02 13:01:55 +01:00
samricotta
d2e23d0ff3
docs: update baseapp docs (part 2/2) (#14790)
## Description

 

- [x] Update baseapp documentation and add mention of ProcessProposal
- [x] Update baseapp documentation and add mention of PrepareProposal
- [x] Update diagrams using draw.io (and save the diagrams in the png for future easy modification)
- [x] Ensure there is no duplicate explanation between https://docs.cosmos.network/main/core/baseapp vs https://docs.cosmos.network/main/building-apps/app-mempool (where the later should focus more on the app customization)

---

### 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-01 10:26:11 +00:00
dependabot[bot]
f211bd8652
build(deps): Bump @docusaurus/core from 2.2.0 to 2.3.0 in /docs (#14841)
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>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-01-31 14:15:26 +00:00
Aaron Craelius
ba5e8cb3ad
docs: add ADR 063: core API ADR + update app wiring ADR (#12972) 2023-01-27 07:52:53 +00:00
dependabot[bot]
af4f4d3409
build(deps): Bump ua-parser-js from 0.7.32 to 0.7.33 in /docs (#14767)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-25 14:57:13 +01:00
Julien Robert
8dbdfea9ef
refactor: remove .Type() and .Route() from msgs (#14751) 2023-01-24 17:03:06 +00:00
Julien Robert
98888e4ee7
chore: add tooling and docs for hubl (#14743)
Co-authored-by: Aaron Craelius <aaron@regen.network>
2023-01-23 22:12:22 +01:00
Julien Robert
fdaafa0f1e
docs: update baseapp docs (part 1/2) (#14596)
Co-authored-by: samricotta <37125168+samricotta@users.noreply.github.com>
Co-authored-by: Sam Ricotta <samanthalricotta@gmail.com>
2023-01-23 12:31:41 -05:00
Marko
60814912eb
chore: add docs on 0 height (#14723) 2023-01-23 11:46:06 +01:00
omahs
c37ebbc6cb
docs: fix typos (#14708) 2023-01-20 12:30:40 +01:00
Robert Zaremba
fd3bac0bda
chore: simplify ADR-028 and address.Module (#14017)
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
Co-authored-by: Aaron Craelius <aaron@regen.network>
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-01-16 13:49:04 +00:00
Manuel Bravo
b17f65d152
docs: inter-block cache specification (#14370)
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2023-01-16 11:34:11 +00:00
Julien Robert
ebcb634c1d
docs: add small disclaimer about go version (#14627) 2023-01-16 10:15:16 +01:00
cipherZ
9d7a832a38
docs: added fixes to the node interaction docs (#14602) 2023-01-12 21:05:44 +00:00
Amaury
66fa90292c
refactor(textual): Hash bytes when len >35 (#14598) 2023-01-12 18:30:43 +01:00
Amaury
305053136a
refactor: Improve textual's API (#14595) 2023-01-12 16:00:55 +00:00
Marko
5e7b744592
chore: add alternative adr section (#14594) 2023-01-12 15:26:55 +01:00
Julien Robert
e4c0788bf2
docs: update docs links to v0.47 (#14572) 2023-01-12 11:57:53 +00:00
Federico Kunze Küllmer
551e8f9eb9
feat(app): Update post handlers to incorporate the runMsg success bool (#13940)
Co-authored-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>
Co-authored-by: Vladislav Varadinov <vladislav.varadinov@gmail.com>
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
2023-01-12 09:37:29 +00:00
Amaury
d5bcfb3f3e
feat(textual): Add Tx envelope Value Renderer (#13600) 2023-01-11 12:25:13 +00:00
Julián Toledano
f9cc31fd6a
docs: new key type for keyring (#14573)
Closes https://github.com/cosmos/cosmos-sdk/issues/6500
2023-01-11 09:21:46 +00:00
JayT106
e6b849ade5
feat(mempool): priority nonce mempool option with tx replacement (#14484)
Co-authored-by: Matt Kocubinski <mkocubinski@gmail.com>
2023-01-10 23:45:48 +01:00
Julien Robert
9742029158
feat: create config fix tool (#14342) 2023-01-10 10:28:41 +00:00
dependabot[bot]
8185413e47
build(deps): Bump postcss from 8.4.20 to 8.4.21 in /docs (#14542)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 16:59:40 +00:00
Robert Zaremba
3e2dde54c5
fix: keyring-backend flag usage (#14509) 2023-01-05 20:52:18 +00:00
Amaury
958b4ad663
feat(textual): Render long bytes hash (#14275)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
2023-01-05 16:01:05 +00:00
Amaury
b244ffb4dd
chore: Clean up {accept,implement}_interface (#14476) 2023-01-04 14:23:24 +00:00
Thomas Bruyelle
572af96fa6
docs: add missing field in denom metadata example (#14461) 2023-01-02 10:06:01 +00:00
dependabot[bot]
750743ac1a
build(deps): Bump json5 from 2.2.1 to 2.2.2 in /docs (#14447)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-30 10:45:53 +01:00
Aleksandr Bezobchuk
2a93ce9625
docs: update mempool/ABCI docs (#14393) 2022-12-22 17:09:15 +01:00
Julien Robert
22dfa112b9
chore: sync retracted versions with main, update event docs, make proto-gen (#14374) 2022-12-21 09:56:55 -03:00
Manuel Bravo
3aa16ed092
docs: minor fixes to spec template (#14369) 2022-12-20 16:14:42 +01:00
Julien Robert
419de8de82
refactor: revert API breaking change on Slash (#14363) 2022-12-20 12:12:05 +01:00
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
Manuel Bravo
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
yihuang
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
atheeshp
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
Jeancarlo Barrios
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