Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
|
||
| cosmovisor init /bin/dydxprotocold | ||
| cosmovisor init $PREUPGRADE_BINARY_PATH | ||
| mkdir -p "$VAL_HOME_DIR/cosmovisor/upgrades/v5.0.0/bin/" |
| cosmovisor init /bin/dydxprotocold | ||
| cosmovisor init $PREUPGRADE_BINARY_PATH | ||
| mkdir -p "$VAL_HOME_DIR/cosmovisor/upgrades/v5.0.0/bin/" | ||
| ln -s /bin/dydxprotocold "$VAL_HOME_DIR/cosmovisor/upgrades/v5.0.0/bin/dydxprotocold" |
| $PREUPGRADE_BINARY_PATH init "${MONIKERS[$i]}" -o --chain-id=$CHAIN_ID --home "$VAL_HOME_DIR" | ||
|
|
||
| # Overwrite the randomly generated `priv_validator_key.json` with a key generated deterministically from the mnemonic. | ||
| dydxprotocold tendermint gen-priv-key --home "$VAL_HOME_DIR" --mnemonic "${MNEMONICS[$i]}" |
There was a problem hiding this comment.
$PREUPGRADE_BINARY?
|
|
||
| edit_config "$VAL_CONFIG_DIR" | ||
|
|
||
| echo "${MNEMONICS[$i]}" | dydxprotocold keys add "${MONIKERS[$i]}" --recover --keyring-backend=test --home "$VAL_HOME_DIR" |
There was a problem hiding this comment.
$PREUPGRADE_BINARY?
| update_genesis_complete_bridge_delay "$VAL_CONFIG_DIR" "600" | ||
|
|
||
| for acct in "${TEST_ACCOUNTS[@]}"; do | ||
| dydxprotocold add-genesis-account "$acct" 100000000000000000$USDC_DENOM,$TESTNET_VALIDATOR_NATIVE_TOKEN_BALANCE$NATIVE_TOKEN --home "$VAL_HOME_DIR" |
| $PREUPGRADE_BINARY_PATH init "${MONIKERS[$i]}" -o --chain-id=$CHAIN_ID --home "$VAL_HOME_DIR" | ||
|
|
||
| # Overwrite the randomly generated `priv_validator_key.json` with a key generated deterministically from the mnemonic. | ||
| dydxprotocold tendermint gen-priv-key --home "$VAL_HOME_DIR" --mnemonic "${MNEMONICS[$i]}" |
There was a problem hiding this comment.
$PREUPGRADE_BINARY
| @@ -217,7 +219,7 @@ | |||
| dydxprotocold add-genesis-account "$acct" 900000000000000000$USDC_DENOM,$TESTNET_VALIDATOR_NATIVE_TOKEN_BALANCE$NATIVE_TOKEN --home "$VAL_HOME_DIR" | |||
| cp -r /tmp/gentx "$FIRST_VAL_CONFIG_DIR" | ||
|
|
||
| # Build the final genesis.json file that all validators and the full-nodes will use. | ||
| dydxprotocold collect-gentxs --home "$FIRST_VAL_HOME_DIR" |
|
|
||
| cosmovisor init /bin/dydxprotocold | ||
| cosmovisor init $PREUPGRADE_BINARY_PATH | ||
| mkdir -p "$FULL_NODE_HOME_DIR/cosmovisor/upgrades/v9.4.0/bin/" |
There was a problem hiding this comment.
think this should be just v9.4 - but more of a nit bc it then depends on ur proposal name
|
|
||
| cosmovisor init /bin/dydxprotocold | ||
| cosmovisor init $PREUPGRADE_BINARY_PATH | ||
| mkdir -p "$VAL_HOME_DIR/cosmovisor/upgrades/v9.4.0/bin/" |
There was a problem hiding this comment.
if you change it then same here
Changelist
[Describe or list the changes made in this PR]
Test Plan
[Describe how this PR was tested (if applicable)]
Author/Reviewer Checklist
state-breakinglabel.indexer-postgres-breakinglabel.PrepareProposalorProcessProposal, manually add the labelproposal-breaking.feature:[feature-name].backport/[branch-name].refactor,chore,bug.