From d2671adfb5be125d3186be73a80e97d3cd2376df Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Tue, 16 May 2023 21:58:14 +0200 Subject: [PATCH] docs: retract adr-47 (#16189) --- docs/architecture/adr-047-extend-upgrade-plan.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/architecture/adr-047-extend-upgrade-plan.md b/docs/architecture/adr-047-extend-upgrade-plan.md index 3a4f3aac4158..3500bb334de8 100644 --- a/docs/architecture/adr-047-extend-upgrade-plan.md +++ b/docs/architecture/adr-047-extend-upgrade-plan.md @@ -3,10 +3,11 @@ ## Changelog * Nov, 23, 2021: Initial Draft +* May, 16, 2023: Proposal ABANDONED. `pre_run` and `post_run` are not necessary anymore and adding the `artifacts` brings minor benefits. ## Status -PROPOSED Not Implemented +ABANDONED ## Abstract @@ -19,6 +20,7 @@ The `upgrade` module in conjunction with Cosmovisor are designed to facilitate a Users submit a software upgrade governance proposal containing an upgrade `Plan`. The [Plan](https://github.com/cosmos/cosmos-sdk/blob/v0.44.5/proto/cosmos/upgrade/v1beta1/upgrade.proto#L12) currently contains the following fields: + * `name`: A short string identifying the new version. * `height`: The chain height at which the upgrade is to be performed. * `info`: A string containing information about the upgrade. @@ -79,6 +81,7 @@ message UpgradeInstructions { ``` All fields in the `UpgradeInstructions` are optional. + * `pre_run` is a command to run prior to the upgraded chain restarting. If defined, it will be executed after halting and downloading the new artifact but before restarting the upgraded chain. The working directory this command runs from MUST be `{DAEMON_HOME}/cosmovisor/{upgrade name}`.