-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: ADR-052 State Commitment Listening #11371
Conversation
82dea3f
to
3fba586
Compare
The SDK stores values in state storage in a protobuf encoded format. Each module defines their own custom types in | ||
.proto definitions and these types are registered with a ProtoCodec that manages the marshalling and unmarshalling of these | ||
types to and from the binary format that is persisted to disk. As such, an indefinite/unbounded number of protobuf types | ||
need to be supported within the Cosmos ecosystem at large. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this true? Modules get access to an e.g. KVStore API which deals in raw []byte
, is there something which enforces that those []byte
are protobufs? Or maybe you're referring to something else?
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@i-norden any chance you can update the pr? |
closing this due to inactivity. @i-norden when you're ready please reopen or open a new PR |
Description
TODO: add more implementation details.
This is on-top of the ADR-051 branch, will change that before converting from draft status.
Closes: #XXXX
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...
!
to the type prefix if API or client breaking changeCHANGELOG.md
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...
!
in the type prefix if API or client breaking change