From bf4c3e0dcde5d3a2bed2fd61efebdcbe778073e0 Mon Sep 17 00:00:00 2001 From: yutianwu Date: Tue, 10 Oct 2023 11:34:08 +0800 Subject: [PATCH] feat: add pampas upgrade --- go.mod | 1 + go.sum | 2 +- types/upgrade.go | 5 ++++- x/upgrade/types/upgrade_config.go | 5 ++++- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 6b5f11201c..aa80dac225 100644 --- a/go.mod +++ b/go.mod @@ -183,6 +183,7 @@ replace ( github.com/gin-gonic/gin => github.com/gin-gonic/gin v1.9.1 // replace broken goleveldb github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 + github.com/wercker/journalhook => github.com/wercker/journalhook v0.0.0-20230927020745-64542ffa4117 ) retract ( diff --git a/go.sum b/go.sum index 2dad1b1acc..6933a0f068 100644 --- a/go.sum +++ b/go.sum @@ -1852,7 +1852,7 @@ github.com/wealdtech/go-eth2-util v1.6.3 h1:2INPeOR35x5LdFFpSzyw954WzTD+DFyHe3yK github.com/wealdtech/go-eth2-util v1.6.3/go.mod h1:0hFMj/qtio288oZFHmAbCnPQ9OB3c4WFzs5NVPKTY4k= github.com/wealdtech/go-eth2-wallet-encryptor-keystorev4 v1.1.3/go.mod h1:qiIimacW5NhVRy8o+YxWo9YrecXqDAKKbL0+sOa0SJ4= github.com/wealdtech/go-eth2-wallet-types/v2 v2.8.2/go.mod h1:k6kmiKWSWBTd4OxFifTEkPaBLhZspnO2KFD5XJY9nqg= -github.com/wercker/journalhook v0.0.0-20180428041537-5d0a5ae867b3/go.mod h1:XCsSkdKK4gwBMNrOCZWww0pX6AOt+2gYc5Z6jBRrNVg= +github.com/wercker/journalhook v0.0.0-20230927020745-64542ffa4117/go.mod h1:XCsSkdKK4gwBMNrOCZWww0pX6AOt+2gYc5Z6jBRrNVg= github.com/whyrusleeping/go-keyspace v0.0.0-20160322163242-5b898ac5add1/go.mod h1:8UvriyWtv5Q5EOgjHaSseUEdkQfvwFv1I/In/O2M9gc= github.com/whyrusleeping/go-logging v0.0.0-20170515211332-0457bb6b88fc/go.mod h1:bopw91TMyo8J3tvftk8xmU2kPmlrt4nScJQZU2hE5EM= github.com/whyrusleeping/mdns v0.0.0-20190826153040-b9b60ed33aa9/go.mod h1:j4l84WPFclQPj320J9gp0XwNKBb3U0zt5CBqjPp22G4= diff --git a/types/upgrade.go b/types/upgrade.go index b444a101df..e73a24d579 100644 --- a/types/upgrade.go +++ b/types/upgrade.go @@ -4,6 +4,9 @@ const ( // EnablePublicDelegationUpgrade is the upgrade name for enabling public delegation EnablePublicDelegationUpgrade = "EnablePublicDelegationUpgrade" - // Nagqu is the upgrade name for following features: + // Nagqu is the upgrade name for Nagqu upgrade Nagqu = "Nagqu" + + // Pampas is the upgrade name for Pampas upgrade + Pampas = "Pampas" ) diff --git a/x/upgrade/types/upgrade_config.go b/x/upgrade/types/upgrade_config.go index eba8205025..57101a7977 100644 --- a/x/upgrade/types/upgrade_config.go +++ b/x/upgrade/types/upgrade_config.go @@ -10,8 +10,11 @@ const ( // EnablePublicDelegationUpgrade is the upgrade name for enabling public delegation EnablePublicDelegationUpgrade = types.EnablePublicDelegationUpgrade - // Nagqu is the upgrade name for following features: + // Nagqu is the upgrade name for Nagqu upgrade Nagqu = types.Nagqu + + // Pampas is the upgrade name for Pampas upgrade + Pampas = types.Pampas ) // The default upgrade config for networks