-
Notifications
You must be signed in to change notification settings - Fork 166
Split out consumer genesis state #1214
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
Labels
good first issue
Good for newcomers
S: KTLO
Keeping the lights on: Keeping the current product operational (bugs, troubleshooting, deps updates)
Comments
i'll like to work on this, can you assign it to me? |
@maharsh312 I assigned it to you. Thanks for working on this. Please let us know if you need help. |
@maharsh312 Could you please confirm that you're working on this issue? Do you have an ETA? |
21 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
good first issue
Good for newcomers
S: KTLO
Keeping the lights on: Keeping the current product operational (bugs, troubleshooting, deps updates)
Uh oh!
There was an error while loading. Please reload this page.
Problem
#1071 has illuminated that the provider module references the consumer genesis type. See shared_consumer.proto. Note also that a lot of the fields in the consumer's genesis state struct are zeroed out when that genesis state is queried from provider.
We should create a new struct which holds the info that a consumer actually needs from the provider (ie. no extraneous zeroed fields), this type will trivially be shared between consumer and provider. Then the consumer genesis state (only referenced by consumer) can have a field for the shared type. This allows us to make types like
HeightToValsetUpdateID
,OutstandingDowntime
only relevant to the consumer.Closing criteria
Make changes as described
Problem details
The text was updated successfully, but these errors were encountered: