diff --git a/Makefile b/Makefile index 884b667a..fdf4c982 100644 --- a/Makefile +++ b/Makefile @@ -113,6 +113,7 @@ ictest-paramauthority: ictest-paramauthorityChainUpgrade: cd interchaintest && go test -race -v -run ^TestNobleChainUpgrade$$ . + ############################################################################### ### Build Image ### diff --git a/cmd/root.go b/cmd/root.go index d4e92d6b..088f3477 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -28,6 +28,7 @@ import ( "github.com/spf13/cast" "github.com/spf13/cobra" "github.com/spf13/pflag" + paramauthorityupgradecli "github.com/strangelove-ventures/paramauthority/x/upgrade/client/cli" tmcli "github.com/tendermint/tendermint/libs/cli" "github.com/tendermint/tendermint/libs/log" dbm "github.com/tendermint/tm-db" @@ -291,6 +292,7 @@ func txCommand(moduleBasics module.BasicManager) *cobra.Command { authcmd.GetBroadcastCommand(), authcmd.GetEncodeCommand(), authcmd.GetDecodeCommand(), + paramauthorityupgradecli.GetTxCmd(), ) moduleBasics.AddTxCommands(cmd) diff --git a/go.mod b/go.mod index 03b04b82..be64c95c 100644 --- a/go.mod +++ b/go.mod @@ -14,7 +14,7 @@ require ( github.com/spf13/cobra v1.6.1 github.com/spf13/pflag v1.0.5 github.com/strangelove-ventures/packet-forward-middleware/v3 v3.1.4 - github.com/strangelove-ventures/paramauthority v0.1.1-0.20230120184403-39a8bf5f845d + github.com/strangelove-ventures/paramauthority v0.1.1 github.com/stretchr/testify v1.8.1 github.com/tendermint/tendermint v0.34.26 github.com/tendermint/tm-db v0.6.7 diff --git a/go.sum b/go.sum index 6cc9fa77..349ce059 100644 --- a/go.sum +++ b/go.sum @@ -822,8 +822,8 @@ github.com/spf13/viper v1.14.0/go.mod h1:WT//axPky3FdvXHzGw33dNdXXXfFQqmEalje+eg github.com/status-im/keycard-go v0.0.0-20190316090335-8537d3370df4/go.mod h1:RZLeN1LMWmRsyYjvAu+I6Dm9QmlDaIIt+Y+4Kd7Tp+Q= github.com/strangelove-ventures/packet-forward-middleware/v3 v3.1.4 h1:YCm9tIMOwbjGL6U0ygIgh5+1FEiofgN3Y/D7Ia0BB18= github.com/strangelove-ventures/packet-forward-middleware/v3 v3.1.4/go.mod h1:ncgsf5rykh36HkM16BNcKKx1XzVRdWXt+4pph1syDHE= -github.com/strangelove-ventures/paramauthority v0.1.1-0.20230120184403-39a8bf5f845d h1:jH4xK8y5uxG8fV2Onc1/fcBnsfDpGKHcb0g13tftuJk= -github.com/strangelove-ventures/paramauthority v0.1.1-0.20230120184403-39a8bf5f845d/go.mod h1:PHq/b8q6YfBDJpo34RlnWw+cL5m5Bids2prBUWzsoEM= +github.com/strangelove-ventures/paramauthority v0.1.1 h1:rvAnF+dTRMG+rHmD9LL8OWbxu1uFgo0Zi+JZ6cQ+I60= +github.com/strangelove-ventures/paramauthority v0.1.1/go.mod h1:PHq/b8q6YfBDJpo34RlnWw+cL5m5Bids2prBUWzsoEM= github.com/streadway/amqp v0.0.0-20190404075320-75d898a42a94/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= github.com/streadway/amqp v0.0.0-20190827072141-edfb9018d271/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= github.com/streadway/handy v0.0.0-20190108123426-d5acb3125c2a/go.mod h1:qNTQ5P5JnDBl6z3cMAg/SywNDC5ABu5ApDIw6lUbRmI= diff --git a/interchaintest/go.mod b/interchaintest/go.mod index 442170fd..ab6d3fd8 100644 --- a/interchaintest/go.mod +++ b/interchaintest/go.mod @@ -8,7 +8,7 @@ require ( github.com/icza/dyno v0.0.0-20220812133438-f0b6f8a18845 github.com/strangelove-ventures/interchaintest/v3 v3.0.0-20230131175816-13aaa823596e github.com/strangelove-ventures/noble v0.0.0-00010101000000-000000000000 - github.com/strangelove-ventures/paramauthority v0.1.1-0.20230120184403-39a8bf5f845d + github.com/strangelove-ventures/paramauthority v0.1.1 github.com/stretchr/testify v1.8.1 go.uber.org/zap v1.23.0 ) diff --git a/interchaintest/go.sum b/interchaintest/go.sum index c5135e51..84fb542a 100644 --- a/interchaintest/go.sum +++ b/interchaintest/go.sum @@ -929,8 +929,8 @@ github.com/strangelove-ventures/go-subkey v1.0.7 h1:cOP/Lajg3uxV/tvspu0m6+0Cu+DJ github.com/strangelove-ventures/go-subkey v1.0.7/go.mod h1:E34izOIEm+sZ1YmYawYRquqBQWeZBjVB4pF7bMuhc1c= github.com/strangelove-ventures/interchaintest/v3 v3.0.0-20230131175816-13aaa823596e h1:Y5zk+jpOuQ+ZgsEuypR+3VbEDmK39ioQlWhgsazhioo= github.com/strangelove-ventures/interchaintest/v3 v3.0.0-20230131175816-13aaa823596e/go.mod h1:+OxlR7bg1H9THOEe7Wtkb2R2eu6FEUEPLLz0enHfJeE= -github.com/strangelove-ventures/paramauthority v0.1.1-0.20230120184403-39a8bf5f845d h1:jH4xK8y5uxG8fV2Onc1/fcBnsfDpGKHcb0g13tftuJk= -github.com/strangelove-ventures/paramauthority v0.1.1-0.20230120184403-39a8bf5f845d/go.mod h1:PHq/b8q6YfBDJpo34RlnWw+cL5m5Bids2prBUWzsoEM= +github.com/strangelove-ventures/paramauthority v0.1.1 h1:rvAnF+dTRMG+rHmD9LL8OWbxu1uFgo0Zi+JZ6cQ+I60= +github.com/strangelove-ventures/paramauthority v0.1.1/go.mod h1:PHq/b8q6YfBDJpo34RlnWw+cL5m5Bids2prBUWzsoEM= github.com/streadway/amqp v0.0.0-20190404075320-75d898a42a94/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= github.com/streadway/amqp v0.0.0-20190827072141-edfb9018d271/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= github.com/streadway/handy v0.0.0-20190108123426-d5acb3125c2a/go.mod h1:qNTQ5P5JnDBl6z3cMAg/SywNDC5ABu5ApDIw6lUbRmI= diff --git a/interchaintest/upgradeauthority_test.go b/interchaintest/upgradeauthority_test.go index de5ef190..d240df07 100644 --- a/interchaintest/upgradeauthority_test.go +++ b/interchaintest/upgradeauthority_test.go @@ -193,6 +193,7 @@ func TestNobleChainUpgrade(t *testing.T) { require.NoError(t, err, "error stopping node(s)") // upgrade version and repo on all nodes + // TODO: fix local testing noble.UpgradeVersion(ctx, client, version) // start all nodes back up.