Documentation
¶
Index ¶
- Variables
- func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
- type CancelSoftwareUpgradeProposal
- func (*CancelSoftwareUpgradeProposal) Descriptor() ([]byte, []int)deprecated
- func (x *CancelSoftwareUpgradeProposal) GetDescription() string
- func (x *CancelSoftwareUpgradeProposal) GetTitle() string
- func (*CancelSoftwareUpgradeProposal) ProtoMessage()
- func (x *CancelSoftwareUpgradeProposal) ProtoReflect() protoreflect.Message
- func (x *CancelSoftwareUpgradeProposal) Reset()
- func (x *CancelSoftwareUpgradeProposal) String() string
- type ModuleVersion
- func (*ModuleVersion) Descriptor() ([]byte, []int)deprecated
- func (x *ModuleVersion) GetName() string
- func (x *ModuleVersion) GetVersion() uint64
- func (*ModuleVersion) ProtoMessage()
- func (x *ModuleVersion) ProtoReflect() protoreflect.Message
- func (x *ModuleVersion) Reset()
- func (x *ModuleVersion) String() string
- type Plan
- func (*Plan) Descriptor() ([]byte, []int)deprecated
- func (x *Plan) GetHeight() int64
- func (x *Plan) GetInfo() string
- func (x *Plan) GetName() string
- func (x *Plan) GetTime() *timestamppb.Timestampdeprecated
- func (x *Plan) GetUpgradedClientState() *anypb.Anydeprecated
- func (*Plan) ProtoMessage()
- func (x *Plan) ProtoReflect() protoreflect.Message
- func (x *Plan) Reset()
- func (x *Plan) String() string
- type QueryAppliedPlanRequest
- func (*QueryAppliedPlanRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAppliedPlanRequest) GetName() string
- func (*QueryAppliedPlanRequest) ProtoMessage()
- func (x *QueryAppliedPlanRequest) ProtoReflect() protoreflect.Message
- func (x *QueryAppliedPlanRequest) Reset()
- func (x *QueryAppliedPlanRequest) String() string
- type QueryAppliedPlanResponse
- func (*QueryAppliedPlanResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAppliedPlanResponse) GetHeight() int64
- func (*QueryAppliedPlanResponse) ProtoMessage()
- func (x *QueryAppliedPlanResponse) ProtoReflect() protoreflect.Message
- func (x *QueryAppliedPlanResponse) Reset()
- func (x *QueryAppliedPlanResponse) String() string
- type QueryClient
- type QueryCurrentPlanRequest
- type QueryCurrentPlanResponse
- func (*QueryCurrentPlanResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryCurrentPlanResponse) GetPlan() *Plan
- func (*QueryCurrentPlanResponse) ProtoMessage()
- func (x *QueryCurrentPlanResponse) ProtoReflect() protoreflect.Message
- func (x *QueryCurrentPlanResponse) Reset()
- func (x *QueryCurrentPlanResponse) String() string
- type QueryModuleVersionsRequest
- func (*QueryModuleVersionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryModuleVersionsRequest) GetModuleName() string
- func (*QueryModuleVersionsRequest) ProtoMessage()
- func (x *QueryModuleVersionsRequest) ProtoReflect() protoreflect.Message
- func (x *QueryModuleVersionsRequest) Reset()
- func (x *QueryModuleVersionsRequest) String() string
- type QueryModuleVersionsResponse
- func (*QueryModuleVersionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryModuleVersionsResponse) GetModuleVersions() []*ModuleVersion
- func (*QueryModuleVersionsResponse) ProtoMessage()
- func (x *QueryModuleVersionsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryModuleVersionsResponse) Reset()
- func (x *QueryModuleVersionsResponse) String() string
- type QueryServer
- type QueryUpgradedConsensusStateRequestdeprecated
- func (*QueryUpgradedConsensusStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryUpgradedConsensusStateRequest) GetLastHeight() int64
- func (*QueryUpgradedConsensusStateRequest) ProtoMessage()
- func (x *QueryUpgradedConsensusStateRequest) ProtoReflect() protoreflect.Message
- func (x *QueryUpgradedConsensusStateRequest) Reset()
- func (x *QueryUpgradedConsensusStateRequest) String() string
- type QueryUpgradedConsensusStateResponsedeprecated
- func (*QueryUpgradedConsensusStateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryUpgradedConsensusStateResponse) GetUpgradedConsensusState() []byte
- func (*QueryUpgradedConsensusStateResponse) ProtoMessage()
- func (x *QueryUpgradedConsensusStateResponse) ProtoReflect() protoreflect.Message
- func (x *QueryUpgradedConsensusStateResponse) Reset()
- func (x *QueryUpgradedConsensusStateResponse) String() string
- type SoftwareUpgradeProposal
- func (*SoftwareUpgradeProposal) Descriptor() ([]byte, []int)deprecated
- func (x *SoftwareUpgradeProposal) GetDescription() string
- func (x *SoftwareUpgradeProposal) GetPlan() *Plan
- func (x *SoftwareUpgradeProposal) GetTitle() string
- func (*SoftwareUpgradeProposal) ProtoMessage()
- func (x *SoftwareUpgradeProposal) ProtoReflect() protoreflect.Message
- func (x *SoftwareUpgradeProposal) Reset()
- func (x *SoftwareUpgradeProposal) String() string
- type UnimplementedQueryServer
- func (UnimplementedQueryServer) AppliedPlan(context.Context, *QueryAppliedPlanRequest) (*QueryAppliedPlanResponse, error)
- func (UnimplementedQueryServer) CurrentPlan(context.Context, *QueryCurrentPlanRequest) (*QueryCurrentPlanResponse, error)
- func (UnimplementedQueryServer) ModuleVersions(context.Context, *QueryModuleVersionsRequest) (*QueryModuleVersionsResponse, error)
- func (UnimplementedQueryServer) UpgradedConsensusState(context.Context, *QueryUpgradedConsensusStateRequest) (*QueryUpgradedConsensusStateResponse, error)
- type UnsafeQueryServer
Constants ¶
This section is empty.
Variables ¶
var File_cosmos_upgrade_v1beta1_query_proto protoreflect.FileDescriptor
var File_cosmos_upgrade_v1beta1_upgrade_proto protoreflect.FileDescriptor
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, }, }, 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 RegisterQueryServer ¶
func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
Types ¶
type CancelSoftwareUpgradeProposal ¶
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.
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 (x *CancelSoftwareUpgradeProposal) ProtoReflect() protoreflect.Message
func (*CancelSoftwareUpgradeProposal) Reset ¶
func (x *CancelSoftwareUpgradeProposal) Reset()
func (*CancelSoftwareUpgradeProposal) String ¶
func (x *CancelSoftwareUpgradeProposal) String() 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 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) GetTime
deprecated
func (x *Plan) GetTime() *timestamppb.Timestamp
Deprecated: Do not use.
func (*Plan) GetUpgradedClientState
deprecated
func (*Plan) ProtoMessage ¶
func (*Plan) ProtoMessage()
func (*Plan) ProtoReflect ¶
func (x *Plan) ProtoReflect() protoreflect.Message
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 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) }
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 (x *QueryModuleVersionsRequest) ProtoReflect() protoreflect.Message
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 (x *QueryModuleVersionsResponse) ProtoReflect() protoreflect.Message
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) // 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 (x *QueryUpgradedConsensusStateRequest) ProtoReflect() protoreflect.Message
func (*QueryUpgradedConsensusStateRequest) Reset ¶
func (x *QueryUpgradedConsensusStateRequest) Reset()
func (*QueryUpgradedConsensusStateRequest) String ¶
func (x *QueryUpgradedConsensusStateRequest) String() 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 (x *QueryUpgradedConsensusStateResponse) ProtoReflect() protoreflect.Message
func (*QueryUpgradedConsensusStateResponse) Reset ¶
func (x *QueryUpgradedConsensusStateResponse) Reset()
func (*QueryUpgradedConsensusStateResponse) String ¶
func (x *QueryUpgradedConsensusStateResponse) String() string
type SoftwareUpgradeProposal ¶
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.
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 UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer must be embedded to have forward compatible implementations.
func (UnimplementedQueryServer) AppliedPlan ¶
func (UnimplementedQueryServer) AppliedPlan(context.Context, *QueryAppliedPlanRequest) (*QueryAppliedPlanResponse, error)
func (UnimplementedQueryServer) CurrentPlan ¶
func (UnimplementedQueryServer) CurrentPlan(context.Context, *QueryCurrentPlanRequest) (*QueryCurrentPlanResponse, error)
func (UnimplementedQueryServer) ModuleVersions ¶
func (UnimplementedQueryServer) ModuleVersions(context.Context, *QueryModuleVersionsRequest) (*QueryModuleVersionsResponse, error)
func (UnimplementedQueryServer) UpgradedConsensusState ¶
func (UnimplementedQueryServer) UpgradedConsensusState(context.Context, *QueryUpgradedConsensusStateRequest) (*QueryUpgradedConsensusStateResponse, error)
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.