You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Move the switch case added in #1309 to a check in message ValidateBasic on a proposal submission for UpgradeChain (so that we perform this check long before the proposal would pass). We must migrate from x/gov v1beta1 to x/gov v1 first.
The current behaviour will perform the check after the proposal passes, but ideally we would immediately reject any proposal which uses a bad chainID to upgrade to. v1beta1 does not support this as we need the context to determine if the next chainID makes sense.
For Admin Use
Not duplicate issue
Appropriate labels applied
Appropriate contributors tagged/assigned
The text was updated successfully, but these errors were encountered:
crodriguezvega
changed the title
Move chainID strictness check from 02-client UpgradeChain proposal handler to sdk middleware
Move chainID strictness check from 02-client UpgradeChain proposal handler to ValidateBasic
Mar 27, 2023
Summary
Pre-requirement:
Move the switch case added in #1309 to a check in message
ValidateBasic
on a proposal submission forUpgradeChain
(so that we perform this check long before the proposal would pass). We must migrate from x/gov v1beta1 to x/gov v1 first.The current behaviour will perform the check after the proposal passes, but ideally we would immediately reject any proposal which uses a bad chainID to upgrade to. v1beta1 does not support this as we need the context to determine if the next chainID makes sense.
For Admin Use
The text was updated successfully, but these errors were encountered: