-
Notifications
You must be signed in to change notification settings - Fork 351
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: add a delay between quorum and upgrade height (#3560)
Closes #3552 Ready for review but I won't merge until we reach social consensus on what the upgrade height delay should be. ## Testing Manually tested the new CLI commands by staring single node script and then: ```shell $ celestia-appd query signal upgrade no upgrade is pending. $ celestia-appd tx signal signal 3 --from $VALIDATOR --fees $DEFAULT_FEES --broadcast-mode $BROADCAST_MODE --yes $ celestia-appd tx signal try-upgrade --from $VALIDATOR --fees $DEFAULT_FEES --broadcast-mode $BROADCAST_MODE --yes $ celestia-appd query signal upgrade upgrade is pending to app version 3 at height 151345. ``` --------- Co-authored-by: Sanaz Taheri <[email protected]>
- Loading branch information
Showing
14 changed files
with
1,106 additions
and
67 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
syntax = "proto3"; | ||
package celestia.signal.v1; | ||
|
||
option go_package = "github.com/celestiaorg/celestia-app/x/signal/types"; | ||
|
||
// Upgrade is a type that represents a network upgrade. | ||
message Upgrade { | ||
// AppVersion is the app version that has received a quorum of validators to | ||
// signal for it. | ||
uint64 app_version = 1; | ||
|
||
// UpgradeHeight is the height at which the network should upgrade to the | ||
// AppVersion. | ||
int64 upgrade_height = 2; | ||
} |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.