fix(scripts): adapt upgrade-node.sh to SDK v0.50#342
Draft
tbruyelle wants to merge 1 commit into
Draft
Conversation
- `config` command now requires the `set client <key> <value>` form - `q gov proposal` output nests the proposal under `.proposal` and wraps Any messages in a `value` field - `status` output keys are now snake_case (`sync_info` instead of `SyncInfo`, see cosmos/cosmos-sdk#17184) - set dynamicfee fee denom to uphoton in genesis so photon fees can be resolved
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adapts
contrib/scripts/upgrade-node.shto the SDK v0.50 bump (v4 upgrade):configcommand now requires theset client <key> <value>formq gov proposaloutput nests the proposal under.proposaland wrapsAnymessages in avaluefieldstatusoutput keys are now snake_case (sync_infoinstead ofSyncInfo, see feat(cli):statuscmd cli support output text cosmos/cosmos-sdk#17184)uphotonin genesis so photon fees can be resolvedThis script tests the upgrade path by starting a localnet with the previous binary (
ATOMONED_BIN) and upgrading to the new one (ATOMONED_NEW_BIN). These changes assume the previous binary is already on SDK v0.50, which will only be true once mainnet has effectively upgraded to v4. Merging before that would break the script for the current v3 → v4 upgrade testing flow.