cosmos-sdk/proto
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
..
amino feat: Add proto annotations for Amino JSON (#13501) 2022-11-07 22:51:51 +00:00
cosmos fix: state listener observe writes at wrong time (#13516) 2022-12-02 15:43:21 +01:00
tendermint fix: fix proto files created as super-user (#13801) 2022-11-09 10:37:07 +00:00
buf.gen.gogo.yaml feat: full api module building alongside gogo proto files with buf schema registry support (#10669) 2022-01-06 14:57:55 -05:00
buf.gen.pulsar.yaml chore: api sub-module vanity URL (#11941) 2022-05-12 10:19:04 +00:00
buf.gen.swagger.yaml chore: fix and regenerate swagger yaml #12109 2022-06-01 09:38:29 -04:00
buf.lock fix: fix proto files created as super-user (#13801) 2022-11-09 10:37:07 +00:00
buf.md docs: Improve markdownlint configuration (#11104) 2022-02-10 12:07:01 +00:00
buf.yaml refactor: migrate to cosmos/gogoproto (#13070) 2022-09-08 17:27:48 +00:00
README.md docs: improve documentation navigation and redirection (#13455) 2022-10-06 15:51:10 +02:00

Maintaining Cosmos SDK Proto Files

All of the Cosmos SDK proto files are defined here. This folder should be synced regularly with buf.build/cosmos/cosmos-sdk regularly by a maintainer by running buf push in this folder.

User facing documentation should not be placed here but instead goes in buf.md and in each protobuf package following the guidelines in https://docs.buf.build/bsr/documentation.

SDK x Buf

Cosmos SDK Version Buf Commit Version
Prior v0.46.0 Unavailable
v0.46.x 8cb30a2c4de74dc9bd8d260b1e75e176
v0.47.x -