-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
feat: store ABCI validator updates in transient store #10175
Conversation
// GetValidatorUpdate returns the ABCI validator power update for the current block | ||
// by the consensus address. |
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.
So this is the ABCI power update for a certain block for a certain validator?
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.
Yes though CCV just needs GetValidatorUpdates
@@ -19,6 +19,9 @@ const ( | |||
// StoreKey is the string store representation | |||
StoreKey = ModuleName | |||
|
|||
// TStoreKey is the string transient store representation | |||
TStoreKey = ModuleName |
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.
What is a transient store? Does it only exist for a block?
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.
IIRC, a transient store is a store that is not persisted to disk and whose state exists block by block. Correct me if I'm wrong @cwgoes
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.
yeah, that's right
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.
We should determine our approach to making changes to SDK for CCV before deciding where to put this code.
See #10153
cc: @alexanderbez
closing this as the issue has been moved to a different repo. |
Description
Closes: #XXXX
Expose an API to query ABCI validator set updates in the current block for use in IBC cross-chain validation (CCV)
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...
docs:
prefix in the PR titleReviewers 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...
docs:
prefix in the PR title