Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use ibc-go v8.5.2 #10801

Draft
wants to merge 19 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: use cosmossdk.io/x/upgrade
  • Loading branch information
rabi-siddique committed Jan 8, 2025
commit a4fbe9d6f3a10ff8f7f9967456a2ff1f4a6088d7
14 changes: 7 additions & 7 deletions golang/cosmos/app/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ import (
"strings"
"text/template"

upgradetypes "cosmossdk.io/x/upgrade/types"
"github.com/Agoric/agoric-sdk/golang/cosmos/vm"
swingsetkeeper "github.com/Agoric/agoric-sdk/golang/cosmos/x/swingset/keeper"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/module"
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"
)

var upgradeNamesOfThisVersion = []string{
Expand Down Expand Up @@ -175,12 +175,12 @@ func terminateGovernorCoreProposal(upgradeName string) (vm.CoreProposalStep, err
// targets is a slice of "$boardID:$instanceKitLabel" strings.
var targets []string
switch getVariantFromUpgradeName(upgradeName) {
case "MAINNET":
targets = []string{"board052184:stkATOM-USD_price_feed"}
case "A3P_INTEGRATION":
targets = []string{"board04091:stATOM-USD_price_feed"}
default:
return nil, nil
case "MAINNET":
targets = []string{"board052184:stkATOM-USD_price_feed"}
case "A3P_INTEGRATION":
targets = []string{"board04091:stATOM-USD_price_feed"}
default:
return nil, nil
}

return buildProposalStepWithArgs(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import "gogoproto/gogo.proto";
import "google/protobuf/timestamp.proto";
import "cosmos_proto/cosmos.proto";

option go_package = "github.com/cosmos/cosmos-sdk/x/upgrade/types";
option go_package = "cosmossdk.io/x/upgrade/types";
option (gogoproto.goproto_getters_all) = false;

// Plan specifies information about a planned upgrade and when it should occur.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package cosmos.upgrade.v1beta1;
import "google/api/annotations.proto";
import "cosmos/upgrade/v1beta1/upgrade.proto";

option go_package = "github.com/cosmos/cosmos-sdk/x/upgrade/types";
option go_package = "cosmossdk.io/x/upgrade/types";

// Query defines the gRPC upgrade querier service.
service Query {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import "cosmos_proto/cosmos.proto";
import "cosmos/upgrade/v1beta1/upgrade.proto";
import "cosmos/msg/v1/msg.proto";

option go_package = "github.com/cosmos/cosmos-sdk/x/upgrade/types";
option go_package = "cosmossdk.io/x/upgrade/types";

// Msg defines the upgrade Msg service.
service Msg {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import "gogoproto/gogo.proto";
import "google/protobuf/timestamp.proto";
import "cosmos_proto/cosmos.proto";

option go_package = "github.com/cosmos/cosmos-sdk/x/upgrade/types";
option go_package = "cosmossdk.io/x/upgrade/types";
option (gogoproto.goproto_getters_all) = false;

// Plan specifies information about a planned upgrade and when it should occur.
Expand Down