upgradev1beta1

package
v0.0.0-...-891b8cb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 31, 2022 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var File_cosmos_upgrade_v1beta1_query_proto protoreflect.FileDescriptor
View Source
var File_cosmos_upgrade_v1beta1_tx_proto protoreflect.FileDescriptor
View Source
var File_cosmos_upgrade_v1beta1_upgrade_proto protoreflect.FileDescriptor
View Source
var Msg_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "cosmos.upgrade.v1beta1.Msg",
	HandlerType: (*MsgServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "SoftwareUpgrade",
			Handler:    _Msg_SoftwareUpgrade_Handler,
		},
		{
			MethodName: "CancelUpgrade",
			Handler:    _Msg_CancelUpgrade_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cosmos/upgrade/v1beta1/tx.proto",
}

Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Query_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "cosmos.upgrade.v1beta1.Query",
	HandlerType: (*QueryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CurrentPlan",
			Handler:    _Query_CurrentPlan_Handler,
		},
		{
			MethodName: "AppliedPlan",
			Handler:    _Query_AppliedPlan_Handler,
		},
		{
			MethodName: "UpgradedConsensusState",
			Handler:    _Query_UpgradedConsensusState_Handler,
		},
		{
			MethodName: "ModuleVersions",
			Handler:    _Query_ModuleVersions_Handler,
		},
		{
			MethodName: "Authority",
			Handler:    _Query_Authority_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cosmos/upgrade/v1beta1/query.proto",
}

Query_ServiceDesc is the grpc.ServiceDesc for Query service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterMsgServer

func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)

func RegisterQueryServer

func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)

Types

type CancelSoftwareUpgradeProposal deprecated

type CancelSoftwareUpgradeProposal struct {
	Title       string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

CancelSoftwareUpgradeProposal is a gov Content type for cancelling a software upgrade. Deprecated: This legacy proposal is deprecated in favor of Msg-based gov proposals, see MsgCancelUpgrade.

Deprecated: Do not use.

func (*CancelSoftwareUpgradeProposal) Descriptor deprecated

func (*CancelSoftwareUpgradeProposal) Descriptor() ([]byte, []int)

Deprecated: Use CancelSoftwareUpgradeProposal.ProtoReflect.Descriptor instead.

func (*CancelSoftwareUpgradeProposal) GetDescription

func (x *CancelSoftwareUpgradeProposal) GetDescription() string

func (*CancelSoftwareUpgradeProposal) GetTitle

func (x *CancelSoftwareUpgradeProposal) GetTitle() string

func (*CancelSoftwareUpgradeProposal) ProtoMessage

func (*CancelSoftwareUpgradeProposal) ProtoMessage()

func (*CancelSoftwareUpgradeProposal) ProtoReflect

func (*CancelSoftwareUpgradeProposal) Reset

func (x *CancelSoftwareUpgradeProposal) Reset()

func (*CancelSoftwareUpgradeProposal) String

type ModuleVersion

type ModuleVersion struct {

	// name of the app module
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// consensus version of the app module
	Version uint64 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

ModuleVersion specifies a module and its consensus version.

Since: cosmos-sdk 0.43

func (*ModuleVersion) Descriptor deprecated

func (*ModuleVersion) Descriptor() ([]byte, []int)

Deprecated: Use ModuleVersion.ProtoReflect.Descriptor instead.

func (*ModuleVersion) GetName

func (x *ModuleVersion) GetName() string

func (*ModuleVersion) GetVersion

func (x *ModuleVersion) GetVersion() uint64

func (*ModuleVersion) ProtoMessage

func (*ModuleVersion) ProtoMessage()

func (*ModuleVersion) ProtoReflect

func (x *ModuleVersion) ProtoReflect() protoreflect.Message

func (*ModuleVersion) Reset

func (x *ModuleVersion) Reset()

func (*ModuleVersion) String

func (x *ModuleVersion) String() string

type MsgCancelUpgrade

type MsgCancelUpgrade struct {

	// authority is the address of the governance account.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// contains filtered or unexported fields
}

MsgCancelUpgrade is the Msg/CancelUpgrade request type.

Since: cosmos-sdk 0.46

func (*MsgCancelUpgrade) Descriptor deprecated

func (*MsgCancelUpgrade) Descriptor() ([]byte, []int)

Deprecated: Use MsgCancelUpgrade.ProtoReflect.Descriptor instead.

func (*MsgCancelUpgrade) GetAuthority

func (x *MsgCancelUpgrade) GetAuthority() string

func (*MsgCancelUpgrade) ProtoMessage

func (*MsgCancelUpgrade) ProtoMessage()

func (*MsgCancelUpgrade) ProtoReflect

func (x *MsgCancelUpgrade) ProtoReflect() protoreflect.Message

func (*MsgCancelUpgrade) Reset

func (x *MsgCancelUpgrade) Reset()

func (*MsgCancelUpgrade) String

func (x *MsgCancelUpgrade) String() string

type MsgCancelUpgradeResponse

type MsgCancelUpgradeResponse struct {
	// contains filtered or unexported fields
}

MsgCancelUpgradeResponse is the Msg/CancelUpgrade response type.

Since: cosmos-sdk 0.46

func (*MsgCancelUpgradeResponse) Descriptor deprecated

func (*MsgCancelUpgradeResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgCancelUpgradeResponse.ProtoReflect.Descriptor instead.

func (*MsgCancelUpgradeResponse) ProtoMessage

func (*MsgCancelUpgradeResponse) ProtoMessage()

func (*MsgCancelUpgradeResponse) ProtoReflect

func (x *MsgCancelUpgradeResponse) ProtoReflect() protoreflect.Message

func (*MsgCancelUpgradeResponse) Reset

func (x *MsgCancelUpgradeResponse) Reset()

func (*MsgCancelUpgradeResponse) String

func (x *MsgCancelUpgradeResponse) String() string

type MsgClient

type MsgClient interface {
	// SoftwareUpgrade is a governance operation for initiating a software upgrade.
	//
	// Since: cosmos-sdk 0.46
	SoftwareUpgrade(ctx context.Context, in *MsgSoftwareUpgrade, opts ...grpc.CallOption) (*MsgSoftwareUpgradeResponse, error)
	// CancelUpgrade is a governance operation for cancelling a previously
	// approvid software upgrade.
	//
	// Since: cosmos-sdk 0.46
	CancelUpgrade(ctx context.Context, in *MsgCancelUpgrade, opts ...grpc.CallOption) (*MsgCancelUpgradeResponse, error)
}

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc.ClientConnInterface) MsgClient

type MsgServer

type MsgServer interface {
	// SoftwareUpgrade is a governance operation for initiating a software upgrade.
	//
	// Since: cosmos-sdk 0.46
	SoftwareUpgrade(context.Context, *MsgSoftwareUpgrade) (*MsgSoftwareUpgradeResponse, error)
	// CancelUpgrade is a governance operation for cancelling a previously
	// approvid software upgrade.
	//
	// Since: cosmos-sdk 0.46
	CancelUpgrade(context.Context, *MsgCancelUpgrade) (*MsgCancelUpgradeResponse, error)
	// contains filtered or unexported methods
}

MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility

type MsgSoftwareUpgrade

type MsgSoftwareUpgrade struct {

	// authority is the address of the governance account.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// plan is the upgrade plan.
	Plan *Plan `protobuf:"bytes,2,opt,name=plan,proto3" json:"plan,omitempty"`
	// contains filtered or unexported fields
}

MsgSoftwareUpgrade is the Msg/SoftwareUpgrade request type.

Since: cosmos-sdk 0.46

func (*MsgSoftwareUpgrade) Descriptor deprecated

func (*MsgSoftwareUpgrade) Descriptor() ([]byte, []int)

Deprecated: Use MsgSoftwareUpgrade.ProtoReflect.Descriptor instead.

func (*MsgSoftwareUpgrade) GetAuthority

func (x *MsgSoftwareUpgrade) GetAuthority() string

func (*MsgSoftwareUpgrade) GetPlan

func (x *MsgSoftwareUpgrade) GetPlan() *Plan

func (*MsgSoftwareUpgrade) ProtoMessage

func (*MsgSoftwareUpgrade) ProtoMessage()

func (*MsgSoftwareUpgrade) ProtoReflect

func (x *MsgSoftwareUpgrade) ProtoReflect() protoreflect.Message

func (*MsgSoftwareUpgrade) Reset

func (x *MsgSoftwareUpgrade) Reset()

func (*MsgSoftwareUpgrade) String

func (x *MsgSoftwareUpgrade) String() string

type MsgSoftwareUpgradeResponse

type MsgSoftwareUpgradeResponse struct {
	// contains filtered or unexported fields
}

MsgSoftwareUpgradeResponse is the Msg/SoftwareUpgrade response type.

Since: cosmos-sdk 0.46

func (*MsgSoftwareUpgradeResponse) Descriptor deprecated

func (*MsgSoftwareUpgradeResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgSoftwareUpgradeResponse.ProtoReflect.Descriptor instead.

func (*MsgSoftwareUpgradeResponse) ProtoMessage

func (*MsgSoftwareUpgradeResponse) ProtoMessage()

func (*MsgSoftwareUpgradeResponse) ProtoReflect

func (*MsgSoftwareUpgradeResponse) Reset

func (x *MsgSoftwareUpgradeResponse) Reset()

func (*MsgSoftwareUpgradeResponse) String

func (x *MsgSoftwareUpgradeResponse) String() string

type Plan

type Plan struct {

	// Sets the name for the upgrade. This name will be used by the upgraded
	// version of the software to apply any special "on-upgrade" commands during
	// the first BeginBlock method after the upgrade is applied. It is also used
	// to detect whether a software version can handle a given upgrade. If no
	// upgrade handler with this name has been set in the software, it will be
	// assumed that the software is out-of-date when the upgrade Time or Height is
	// reached and the software will exit.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Deprecated: Time based upgrades have been deprecated. Time based upgrade logic
	// has been removed from the SDK.
	// If this field is not empty, an error will be thrown.
	//
	// Deprecated: Do not use.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// The height at which the upgrade must be performed.
	// Only used if Time is not set.
	Height int64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
	// Any application specific upgrade info to be included on-chain
	// such as a git commit that validators could automatically upgrade to
	Info string `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"`
	// Deprecated: UpgradedClientState field has been deprecated. IBC upgrade logic has been
	// moved to the IBC module in the sub module 02-client.
	// If this field is not empty, an error will be thrown.
	//
	// Deprecated: Do not use.
	UpgradedClientState *anypb.Any `protobuf:"bytes,5,opt,name=upgraded_client_state,json=upgradedClientState,proto3" json:"upgraded_client_state,omitempty"`
	// contains filtered or unexported fields
}

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

func (*Plan) Descriptor deprecated

func (*Plan) Descriptor() ([]byte, []int)

Deprecated: Use Plan.ProtoReflect.Descriptor instead.

func (*Plan) GetHeight

func (x *Plan) GetHeight() int64

func (*Plan) GetInfo

func (x *Plan) GetInfo() string

func (*Plan) GetName

func (x *Plan) GetName() string

func (*Plan) GetTime deprecated

func (x *Plan) GetTime() *timestamppb.Timestamp

Deprecated: Do not use.

func (*Plan) GetUpgradedClientState deprecated

func (x *Plan) GetUpgradedClientState() *anypb.Any

Deprecated: Do not use.

func (*Plan) ProtoMessage

func (*Plan) ProtoMessage()

func (*Plan) ProtoReflect

func (x *Plan) ProtoReflect() protoreflect.Message

func (*Plan) Reset

func (x *Plan) Reset()

func (*Plan) String

func (x *Plan) String() string

type QueryAppliedPlanRequest

type QueryAppliedPlanRequest struct {

	// name is the name of the applied plan to query for.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

QueryCurrentPlanRequest is the request type for the Query/AppliedPlan RPC method.

func (*QueryAppliedPlanRequest) Descriptor deprecated

func (*QueryAppliedPlanRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryAppliedPlanRequest.ProtoReflect.Descriptor instead.

func (*QueryAppliedPlanRequest) GetName

func (x *QueryAppliedPlanRequest) GetName() string

func (*QueryAppliedPlanRequest) ProtoMessage

func (*QueryAppliedPlanRequest) ProtoMessage()

func (*QueryAppliedPlanRequest) ProtoReflect

func (x *QueryAppliedPlanRequest) ProtoReflect() protoreflect.Message

func (*QueryAppliedPlanRequest) Reset

func (x *QueryAppliedPlanRequest) Reset()

func (*QueryAppliedPlanRequest) String

func (x *QueryAppliedPlanRequest) String() string

type QueryAppliedPlanResponse

type QueryAppliedPlanResponse struct {

	// height is the block height at which the plan was applied.
	Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	// contains filtered or unexported fields
}

QueryAppliedPlanResponse is the response type for the Query/AppliedPlan RPC method.

func (*QueryAppliedPlanResponse) Descriptor deprecated

func (*QueryAppliedPlanResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryAppliedPlanResponse.ProtoReflect.Descriptor instead.

func (*QueryAppliedPlanResponse) GetHeight

func (x *QueryAppliedPlanResponse) GetHeight() int64

func (*QueryAppliedPlanResponse) ProtoMessage

func (*QueryAppliedPlanResponse) ProtoMessage()

func (*QueryAppliedPlanResponse) ProtoReflect

func (x *QueryAppliedPlanResponse) ProtoReflect() protoreflect.Message

func (*QueryAppliedPlanResponse) Reset

func (x *QueryAppliedPlanResponse) Reset()

func (*QueryAppliedPlanResponse) String

func (x *QueryAppliedPlanResponse) String() string

type QueryAuthorityRequest

type QueryAuthorityRequest struct {
	// contains filtered or unexported fields
}

QueryAuthorityRequest is the request type for Query/Authority

Since: cosmos-sdk 0.46

func (*QueryAuthorityRequest) Descriptor deprecated

func (*QueryAuthorityRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryAuthorityRequest.ProtoReflect.Descriptor instead.

func (*QueryAuthorityRequest) ProtoMessage

func (*QueryAuthorityRequest) ProtoMessage()

func (*QueryAuthorityRequest) ProtoReflect

func (x *QueryAuthorityRequest) ProtoReflect() protoreflect.Message

func (*QueryAuthorityRequest) Reset

func (x *QueryAuthorityRequest) Reset()

func (*QueryAuthorityRequest) String

func (x *QueryAuthorityRequest) String() string

type QueryAuthorityResponse

type QueryAuthorityResponse struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

QueryAuthorityResponse is the response type for Query/Authority

Since: cosmos-sdk 0.46

func (*QueryAuthorityResponse) Descriptor deprecated

func (*QueryAuthorityResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryAuthorityResponse.ProtoReflect.Descriptor instead.

func (*QueryAuthorityResponse) GetAddress

func (x *QueryAuthorityResponse) GetAddress() string

func (*QueryAuthorityResponse) ProtoMessage

func (*QueryAuthorityResponse) ProtoMessage()

func (*QueryAuthorityResponse) ProtoReflect

func (x *QueryAuthorityResponse) ProtoReflect() protoreflect.Message

func (*QueryAuthorityResponse) Reset

func (x *QueryAuthorityResponse) Reset()

func (*QueryAuthorityResponse) String

func (x *QueryAuthorityResponse) String() string

type QueryClient

type QueryClient interface {
	// CurrentPlan queries the current upgrade plan.
	CurrentPlan(ctx context.Context, in *QueryCurrentPlanRequest, opts ...grpc.CallOption) (*QueryCurrentPlanResponse, error)
	// AppliedPlan queries a previously applied upgrade plan by its name.
	AppliedPlan(ctx context.Context, in *QueryAppliedPlanRequest, opts ...grpc.CallOption) (*QueryAppliedPlanResponse, error)
	// Deprecated: Do not use.
	// UpgradedConsensusState queries the consensus state that will serve
	// as a trusted kernel for the next version of this chain. It will only be
	// stored at the last height of this chain.
	// UpgradedConsensusState RPC not supported with legacy querier
	// This rpc is deprecated now that IBC has its own replacement
	// (https://github.com/cosmos/ibc-go/blob/2c880a22e9f9cc75f62b527ca94aa75ce1106001/proto/ibc/core/client/v1/query.proto#L54)
	UpgradedConsensusState(ctx context.Context, in *QueryUpgradedConsensusStateRequest, opts ...grpc.CallOption) (*QueryUpgradedConsensusStateResponse, error)
	// ModuleVersions queries the list of module versions from state.
	//
	// Since: cosmos-sdk 0.43
	ModuleVersions(ctx context.Context, in *QueryModuleVersionsRequest, opts ...grpc.CallOption) (*QueryModuleVersionsResponse, error)
	// Returns the account with authority to conduct upgrades
	//
	// Since: cosmos-sdk 0.46
	Authority(ctx context.Context, in *QueryAuthorityRequest, opts ...grpc.CallOption) (*QueryAuthorityResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc.ClientConnInterface) QueryClient

type QueryCurrentPlanRequest

type QueryCurrentPlanRequest struct {
	// contains filtered or unexported fields
}

QueryCurrentPlanRequest is the request type for the Query/CurrentPlan RPC method.

func (*QueryCurrentPlanRequest) Descriptor deprecated

func (*QueryCurrentPlanRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryCurrentPlanRequest.ProtoReflect.Descriptor instead.

func (*QueryCurrentPlanRequest) ProtoMessage

func (*QueryCurrentPlanRequest) ProtoMessage()

func (*QueryCurrentPlanRequest) ProtoReflect

func (x *QueryCurrentPlanRequest) ProtoReflect() protoreflect.Message

func (*QueryCurrentPlanRequest) Reset

func (x *QueryCurrentPlanRequest) Reset()

func (*QueryCurrentPlanRequest) String

func (x *QueryCurrentPlanRequest) String() string

type QueryCurrentPlanResponse

type QueryCurrentPlanResponse struct {

	// plan is the current upgrade plan.
	Plan *Plan `protobuf:"bytes,1,opt,name=plan,proto3" json:"plan,omitempty"`
	// contains filtered or unexported fields
}

QueryCurrentPlanResponse is the response type for the Query/CurrentPlan RPC method.

func (*QueryCurrentPlanResponse) Descriptor deprecated

func (*QueryCurrentPlanResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryCurrentPlanResponse.ProtoReflect.Descriptor instead.

func (*QueryCurrentPlanResponse) GetPlan

func (x *QueryCurrentPlanResponse) GetPlan() *Plan

func (*QueryCurrentPlanResponse) ProtoMessage

func (*QueryCurrentPlanResponse) ProtoMessage()

func (*QueryCurrentPlanResponse) ProtoReflect

func (x *QueryCurrentPlanResponse) ProtoReflect() protoreflect.Message

func (*QueryCurrentPlanResponse) Reset

func (x *QueryCurrentPlanResponse) Reset()

func (*QueryCurrentPlanResponse) String

func (x *QueryCurrentPlanResponse) String() string

type QueryModuleVersionsRequest

type QueryModuleVersionsRequest struct {

	// module_name is a field to query a specific module
	// consensus version from state. Leaving this empty will
	// fetch the full list of module versions from state
	ModuleName string `protobuf:"bytes,1,opt,name=module_name,json=moduleName,proto3" json:"module_name,omitempty"`
	// contains filtered or unexported fields
}

QueryModuleVersionsRequest is the request type for the Query/ModuleVersions RPC method.

Since: cosmos-sdk 0.43

func (*QueryModuleVersionsRequest) Descriptor deprecated

func (*QueryModuleVersionsRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryModuleVersionsRequest.ProtoReflect.Descriptor instead.

func (*QueryModuleVersionsRequest) GetModuleName

func (x *QueryModuleVersionsRequest) GetModuleName() string

func (*QueryModuleVersionsRequest) ProtoMessage

func (*QueryModuleVersionsRequest) ProtoMessage()

func (*QueryModuleVersionsRequest) ProtoReflect

func (*QueryModuleVersionsRequest) Reset

func (x *QueryModuleVersionsRequest) Reset()

func (*QueryModuleVersionsRequest) String

func (x *QueryModuleVersionsRequest) String() string

type QueryModuleVersionsResponse

type QueryModuleVersionsResponse struct {

	// module_versions is a list of module names with their consensus versions.
	ModuleVersions []*ModuleVersion `protobuf:"bytes,1,rep,name=module_versions,json=moduleVersions,proto3" json:"module_versions,omitempty"`
	// contains filtered or unexported fields
}

QueryModuleVersionsResponse is the response type for the Query/ModuleVersions RPC method.

Since: cosmos-sdk 0.43

func (*QueryModuleVersionsResponse) Descriptor deprecated

func (*QueryModuleVersionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryModuleVersionsResponse.ProtoReflect.Descriptor instead.

func (*QueryModuleVersionsResponse) GetModuleVersions

func (x *QueryModuleVersionsResponse) GetModuleVersions() []*ModuleVersion

func (*QueryModuleVersionsResponse) ProtoMessage

func (*QueryModuleVersionsResponse) ProtoMessage()

func (*QueryModuleVersionsResponse) ProtoReflect

func (*QueryModuleVersionsResponse) Reset

func (x *QueryModuleVersionsResponse) Reset()

func (*QueryModuleVersionsResponse) String

func (x *QueryModuleVersionsResponse) String() string

type QueryServer

type QueryServer interface {
	// CurrentPlan queries the current upgrade plan.
	CurrentPlan(context.Context, *QueryCurrentPlanRequest) (*QueryCurrentPlanResponse, error)
	// AppliedPlan queries a previously applied upgrade plan by its name.
	AppliedPlan(context.Context, *QueryAppliedPlanRequest) (*QueryAppliedPlanResponse, error)
	// Deprecated: Do not use.
	// UpgradedConsensusState queries the consensus state that will serve
	// as a trusted kernel for the next version of this chain. It will only be
	// stored at the last height of this chain.
	// UpgradedConsensusState RPC not supported with legacy querier
	// This rpc is deprecated now that IBC has its own replacement
	// (https://github.com/cosmos/ibc-go/blob/2c880a22e9f9cc75f62b527ca94aa75ce1106001/proto/ibc/core/client/v1/query.proto#L54)
	UpgradedConsensusState(context.Context, *QueryUpgradedConsensusStateRequest) (*QueryUpgradedConsensusStateResponse, error)
	// ModuleVersions queries the list of module versions from state.
	//
	// Since: cosmos-sdk 0.43
	ModuleVersions(context.Context, *QueryModuleVersionsRequest) (*QueryModuleVersionsResponse, error)
	// Returns the account with authority to conduct upgrades
	//
	// Since: cosmos-sdk 0.46
	Authority(context.Context, *QueryAuthorityRequest) (*QueryAuthorityResponse, error)
	// contains filtered or unexported methods
}

QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility

type QueryUpgradedConsensusStateRequest deprecated

type QueryUpgradedConsensusStateRequest struct {

	// last height of the current chain must be sent in request
	// as this is the height under which next consensus state is stored
	LastHeight int64 `protobuf:"varint,1,opt,name=last_height,json=lastHeight,proto3" json:"last_height,omitempty"`
	// contains filtered or unexported fields
}

QueryUpgradedConsensusStateRequest is the request type for the Query/UpgradedConsensusState RPC method.

Deprecated: Do not use.

func (*QueryUpgradedConsensusStateRequest) Descriptor deprecated

func (*QueryUpgradedConsensusStateRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryUpgradedConsensusStateRequest.ProtoReflect.Descriptor instead.

func (*QueryUpgradedConsensusStateRequest) GetLastHeight

func (x *QueryUpgradedConsensusStateRequest) GetLastHeight() int64

func (*QueryUpgradedConsensusStateRequest) ProtoMessage

func (*QueryUpgradedConsensusStateRequest) ProtoMessage()

func (*QueryUpgradedConsensusStateRequest) ProtoReflect

func (*QueryUpgradedConsensusStateRequest) Reset

func (*QueryUpgradedConsensusStateRequest) String

type QueryUpgradedConsensusStateResponse deprecated

type QueryUpgradedConsensusStateResponse struct {

	// Since: cosmos-sdk 0.43
	UpgradedConsensusState []byte `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState RPC method.

Deprecated: Do not use.

func (*QueryUpgradedConsensusStateResponse) Descriptor deprecated

func (*QueryUpgradedConsensusStateResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryUpgradedConsensusStateResponse.ProtoReflect.Descriptor instead.

func (*QueryUpgradedConsensusStateResponse) GetUpgradedConsensusState

func (x *QueryUpgradedConsensusStateResponse) GetUpgradedConsensusState() []byte

func (*QueryUpgradedConsensusStateResponse) ProtoMessage

func (*QueryUpgradedConsensusStateResponse) ProtoMessage()

func (*QueryUpgradedConsensusStateResponse) ProtoReflect

func (*QueryUpgradedConsensusStateResponse) Reset

func (*QueryUpgradedConsensusStateResponse) String

type SoftwareUpgradeProposal deprecated

type SoftwareUpgradeProposal struct {
	Title       string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Plan        *Plan  `protobuf:"bytes,3,opt,name=plan,proto3" json:"plan,omitempty"`
	// contains filtered or unexported fields
}

SoftwareUpgradeProposal is a gov Content type for initiating a software upgrade. Deprecated: This legacy proposal is deprecated in favor of Msg-based gov proposals, see MsgSoftwareUpgrade.

Deprecated: Do not use.

func (*SoftwareUpgradeProposal) Descriptor deprecated

func (*SoftwareUpgradeProposal) Descriptor() ([]byte, []int)

Deprecated: Use SoftwareUpgradeProposal.ProtoReflect.Descriptor instead.

func (*SoftwareUpgradeProposal) GetDescription

func (x *SoftwareUpgradeProposal) GetDescription() string

func (*SoftwareUpgradeProposal) GetPlan

func (x *SoftwareUpgradeProposal) GetPlan() *Plan

func (*SoftwareUpgradeProposal) GetTitle

func (x *SoftwareUpgradeProposal) GetTitle() string

func (*SoftwareUpgradeProposal) ProtoMessage

func (*SoftwareUpgradeProposal) ProtoMessage()

func (*SoftwareUpgradeProposal) ProtoReflect

func (x *SoftwareUpgradeProposal) ProtoReflect() protoreflect.Message

func (*SoftwareUpgradeProposal) Reset

func (x *SoftwareUpgradeProposal) Reset()

func (*SoftwareUpgradeProposal) String

func (x *SoftwareUpgradeProposal) String() string

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer must be embedded to have forward compatible implementations.

func (UnimplementedMsgServer) CancelUpgrade

func (UnimplementedMsgServer) SoftwareUpgrade

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer must be embedded to have forward compatible implementations.

func (UnimplementedQueryServer) Authority

type UnsafeMsgServer

type UnsafeMsgServer interface {
	// contains filtered or unexported methods
}

UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MsgServer will result in compilation errors.

type UnsafeQueryServer

type UnsafeQueryServer interface {
	// contains filtered or unexported methods
}

UnsafeQueryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QueryServer will result in compilation errors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL