-
Notifications
You must be signed in to change notification settings - Fork 134
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
ConsumerAdditionProposal
must contain most consumer params (such as consumer unbonding period)
#532
Comments
Does this mean it is not possible to create a consumer with an unbonding period that is different than the default, even if you edit the consumer genesis section? |
Currently we have a pattern where any consumer parameter that needs to be changed needs to either be changed with consumer governance after it is running, or changed by editing the consumer genesis section. Neither of these are really very good, and in this case have led to unforeseen issues. We should make it so that any consumer parameter that could be changed appears in the consumer governance proposal. Here are the consumer params:
These need to be go into the proposal
These do not
|
CreateConsumerClient
doesn't have the consumer unbonding periodConsumerAdditionProposal
must contain most consumer params (such as consumer unbonding period)
See relevant |
Age of evidence params will need to be set and sanity checked too Specifically, it should be impossible to send evidence old than unbondingPeriod |
Nice catch. We should update the ICS param matrix with Tendermint params.
I think it's better to drop SlashPackets with |
This is more inline with the mindset we are moving towards: not trusting the consumer. So I agree 👍 |
I've opened an issue #544 |
@danwt Thanks for pointing this out. |
@MSalopek I think it was decided above that this check would not need to be done because it would be taken care of in another part of the code |
I would suggest to keep this tracked as otherwise the age of evidence params will be left hanging and won't make sense on the consumer chain. Ie. if they are effectively useless on the consumer it should be documented as such. |
JEHANS EDIT: I've expanded the definition of this issue to encompass all the consumer params which should be added to the consumer creation proposal.
Problem
Currently, the consumer client on the provider chain is created with the default consumer unbonding period.
Closing criteria
The consumer unbonding period must be passed through the
ConsumerAdditionProposal
gov proposal.Problem details
Creating a client requires a client state. The client state for Tendermint has a field
UnbondingPeriod
that must match the unbonding period of the targeting chain.TODOs
The text was updated successfully, but these errors were encountered: