diff --git a/interchaintest/stride/setup_test.go b/interchaintest/stride/setup_test.go index b77529252..2eb8245d5 100644 --- a/interchaintest/stride/setup_test.go +++ b/interchaintest/stride/setup_test.go @@ -5,7 +5,7 @@ import ( "fmt" "github.com/cosmos/cosmos-sdk/types/module/testutil" - rlystride "github.com/cosmos/relayer/v2/relayer/chains/cosmos/stride" + rlystride "github.com/cosmos/relayer/v2/relayer/chains/cosmos/stayking" "github.com/icza/dyno" "github.com/strangelove-ventures/interchaintest/v7/chain/cosmos" "github.com/strangelove-ventures/interchaintest/v7/ibc" diff --git a/interchaintest/stride/stride_icq_test.go b/interchaintest/stride/stride_icq_test.go index 00a42c609..2a92e4f3b 100644 --- a/interchaintest/stride/stride_icq_test.go +++ b/interchaintest/stride/stride_icq_test.go @@ -9,7 +9,7 @@ import ( transfertypes "github.com/cosmos/ibc-go/v7/modules/apps/transfer/types" chantypes "github.com/cosmos/ibc-go/v7/modules/core/04-channel/types" relayerinterchaintest "github.com/cosmos/relayer/v2/interchaintest" - rlystride "github.com/cosmos/relayer/v2/relayer/chains/cosmos/stride" + rlystride "github.com/cosmos/relayer/v2/relayer/chains/cosmos/stayking" interchaintest "github.com/strangelove-ventures/interchaintest/v7" "github.com/strangelove-ventures/interchaintest/v7/chain/cosmos" "github.com/strangelove-ventures/interchaintest/v7/ibc" diff --git a/proto/stride/interchainquery/v1/messages.proto b/proto/stayking/interchainquery/v1/messages.proto similarity index 89% rename from proto/stride/interchainquery/v1/messages.proto rename to proto/stayking/interchainquery/v1/messages.proto index 801b84100..6c6bd9e4e 100644 --- a/proto/stride/interchainquery/v1/messages.proto +++ b/proto/stayking/interchainquery/v1/messages.proto @@ -1,14 +1,13 @@ syntax = "proto3"; -package stride.interchainquery.v1; +package stayking.interchainquery.v1; import "gogoproto/gogo.proto"; import "cosmos_proto/cosmos.proto"; import "tendermint/crypto/proof.proto"; // NOTE: copied into this repository from -// "github.com/Stride-Labs/stride/v5/x/interchainquery/types" -option go_package = "github.com/cosmos/relayer/relayer/chains/cosmos/stride"; +option go_package = "github.com/cosmos/relayer/relayer/chains/cosmos/stayking"; // MsgSubmitQueryResponse represents a message type to fulfil a query request. message MsgSubmitQueryResponse { diff --git a/relayer/chains/cosmos/codec.go b/relayer/chains/cosmos/codec.go index 38f6d3d72..5176ae79c 100644 --- a/relayer/chains/cosmos/codec.go +++ b/relayer/chains/cosmos/codec.go @@ -27,7 +27,7 @@ import ( ibc "github.com/cosmos/ibc-go/v7/modules/core" cosmosmodule "github.com/cosmos/relayer/v2/relayer/chains/cosmos/module" - "github.com/cosmos/relayer/v2/relayer/chains/cosmos/stride" + "github.com/cosmos/relayer/v2/relayer/chains/cosmos/stayking" ethermintcodecs "github.com/cosmos/relayer/v2/relayer/codecs/ethermint" injectivecodecs "github.com/cosmos/relayer/v2/relayer/codecs/injective" ) @@ -57,7 +57,7 @@ var ModuleBasics = []module.AppModuleBasic{ transfer.AppModuleBasic{}, ibc.AppModuleBasic{}, cosmosmodule.AppModuleBasic{}, - stride.AppModuleBasic{}, + stayking.AppModuleBasic{}, } type Codec struct { diff --git a/relayer/chains/cosmos/stride/codec.go b/relayer/chains/cosmos/stayking/codec.go similarity index 90% rename from relayer/chains/cosmos/stride/codec.go rename to relayer/chains/cosmos/stayking/codec.go index bc14ad67e..374d3fbc3 100644 --- a/relayer/chains/cosmos/stride/codec.go +++ b/relayer/chains/cosmos/stayking/codec.go @@ -1,4 +1,4 @@ -package stride +package stayking import ( "cosmossdk.io/api/tendermint/crypto" @@ -18,7 +18,7 @@ var ( ) func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { - cdc.RegisterConcrete(&MsgSubmitQueryResponse{}, "/stride.interchainquery.MsgSubmitQueryResponse", nil) + cdc.RegisterConcrete(&MsgSubmitQueryResponse{}, "/stayking.interchainquery.MsgSubmitQueryResponse", nil) } func RegisterInterfaces(registry types.InterfaceRegistry) { diff --git a/relayer/chains/cosmos/stride/messages.go b/relayer/chains/cosmos/stayking/messages.go similarity index 98% rename from relayer/chains/cosmos/stride/messages.go rename to relayer/chains/cosmos/stayking/messages.go index 29bdf5ed7..66db34d50 100644 --- a/relayer/chains/cosmos/stride/messages.go +++ b/relayer/chains/cosmos/stayking/messages.go @@ -1,4 +1,4 @@ -package stride +package stayking import ( sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/relayer/chains/cosmos/stride/messages.pb.go b/relayer/chains/cosmos/stayking/messages.pb.go similarity index 98% rename from relayer/chains/cosmos/stride/messages.pb.go rename to relayer/chains/cosmos/stayking/messages.pb.go index d99e7cc34..5796bbf2c 100644 --- a/relayer/chains/cosmos/stride/messages.pb.go +++ b/relayer/chains/cosmos/stayking/messages.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. // source: stride/interchainquery/v1/messages.proto -package stride +package stayking import ( fmt "fmt" @@ -69,11 +69,11 @@ func (m *MsgSubmitQueryResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgSubmitQueryResponse proto.InternalMessageInfo func init() { - proto.RegisterType((*MsgSubmitQueryResponse)(nil), "stride.interchainquery.v1.MsgSubmitQueryResponse") + proto.RegisterType((*MsgSubmitQueryResponse)(nil), "stayking.interchainquery.v1.MsgSubmitQueryResponse") } func init() { - proto.RegisterFile("stride/interchainquery/v1/messages.proto", fileDescriptor_25adad4f8ed32400) + proto.RegisterFile("stayking/interchainquery/v1/messages.proto", fileDescriptor_25adad4f8ed32400) } var fileDescriptor_25adad4f8ed32400 = []byte{ diff --git a/relayer/chains/cosmos/stride/module.go b/relayer/chains/cosmos/stayking/module.go similarity index 98% rename from relayer/chains/cosmos/stride/module.go rename to relayer/chains/cosmos/stayking/module.go index b7a6ef61b..5292aa303 100644 --- a/relayer/chains/cosmos/stride/module.go +++ b/relayer/chains/cosmos/stayking/module.go @@ -1,4 +1,4 @@ -package stride +package stayking import ( "encoding/json" diff --git a/relayer/chains/cosmos/tx.go b/relayer/chains/cosmos/tx.go index f62c11602..8be03e647 100644 --- a/relayer/chains/cosmos/tx.go +++ b/relayer/chains/cosmos/tx.go @@ -35,7 +35,7 @@ import ( host "github.com/cosmos/ibc-go/v7/modules/core/24-host" ibcexported "github.com/cosmos/ibc-go/v7/modules/core/exported" tmclient "github.com/cosmos/ibc-go/v7/modules/light-clients/07-tendermint" - strideicqtypes "github.com/cosmos/relayer/v2/relayer/chains/cosmos/stride" + staykingicqtypes "github.com/cosmos/relayer/v2/relayer/chains/cosmos/stayking" "github.com/cosmos/relayer/v2/relayer/provider" "go.uber.org/zap" "google.golang.org/grpc/codes" @@ -1016,7 +1016,7 @@ func (cc *CosmosProvider) MsgSubmitQueryResponse(chainID string, queryID provide if err != nil { return nil, err } - msg := &strideicqtypes.MsgSubmitQueryResponse{ + msg := &staykingicqtypes.MsgSubmitQueryResponse{ ChainId: chainID, QueryId: string(queryID), Result: proof.Result,