Versions in this module Expand all Collapse all v1 v1.0.0 Nov 17, 2022 Changes in this version + const DoneByte + const KeyUpgradedClient + const KeyUpgradedConsState + const KeyUpgradedICPState + const ModuleName + const PlanByte + const ProposalTypeCancelSoftwareUpgrade + const ProposalTypeSoftwareUpgrade + const QuerierKey + const QueryApplied + const QueryCurrent + const RouterKey + const StoreKey + var ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowUpgrade = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthUpgrade = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupUpgrade = fmt.Errorf("proto: unexpected end of group") + func NewCancelSoftwareUpgradeProposal(title, description string) gov.Content + func NewSoftwareUpgradeProposal(title, description string, plan Plan) gov.Content + func PlanKey() []byte + func RegisterInterfaces(registry types.InterfaceRegistry) + func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) + func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error + func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error + func RegisterQueryServer(s grpc1.Server, srv QueryServer) + func UpgradeStoreLoader(upgradeHeight int64, storeUpgrades *store.StoreUpgrades) baseapp.StoreLoader + func UpgradedClientKey(height int64) []byte + func UpgradedConsStateKey(height int64) []byte + type CancelSoftwareUpgradeProposal struct + Description string + Title string + func (*CancelSoftwareUpgradeProposal) Descriptor() ([]byte, []int) + func (*CancelSoftwareUpgradeProposal) ProtoMessage() + func (csup *CancelSoftwareUpgradeProposal) GetDescription() string + func (csup *CancelSoftwareUpgradeProposal) GetTitle() string + func (csup *CancelSoftwareUpgradeProposal) ProposalRoute() string + func (csup *CancelSoftwareUpgradeProposal) ProposalType() string + func (csup *CancelSoftwareUpgradeProposal) ValidateBasic() error + func (csup CancelSoftwareUpgradeProposal) String() string + func (m *CancelSoftwareUpgradeProposal) Marshal() (dAtA []byte, err error) + func (m *CancelSoftwareUpgradeProposal) MarshalTo(dAtA []byte) (int, error) + func (m *CancelSoftwareUpgradeProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *CancelSoftwareUpgradeProposal) Reset() + func (m *CancelSoftwareUpgradeProposal) Size() (n int) + func (m *CancelSoftwareUpgradeProposal) Unmarshal(dAtA []byte) error + func (m *CancelSoftwareUpgradeProposal) XXX_DiscardUnknown() + func (m *CancelSoftwareUpgradeProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CancelSoftwareUpgradeProposal) XXX_Merge(src proto.Message) + func (m *CancelSoftwareUpgradeProposal) XXX_Size() int + func (m *CancelSoftwareUpgradeProposal) XXX_Unmarshal(b []byte) error + func (this *CancelSoftwareUpgradeProposal) Equal(that interface{}) bool + type Plan struct + Height int64 + Info string + Name string + Time time.Time + UpgradedClientState *types.Any + func (*Plan) Descriptor() ([]byte, []int) + func (*Plan) ProtoMessage() + func (m *Plan) Marshal() (dAtA []byte, err error) + func (m *Plan) MarshalTo(dAtA []byte) (int, error) + func (m *Plan) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Plan) Reset() + func (m *Plan) Size() (n int) + func (m *Plan) Unmarshal(dAtA []byte) error + func (m *Plan) XXX_DiscardUnknown() + func (m *Plan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Plan) XXX_Merge(src proto.Message) + func (m *Plan) XXX_Size() int + func (m *Plan) XXX_Unmarshal(b []byte) error + func (p Plan) DueAt() string + func (p Plan) IsICPPlan() bool + func (p Plan) ShouldExecute(ctx sdk.Context) bool + func (p Plan) String() string + func (p Plan) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error + func (p Plan) ValidateBasic() error + func (this *Plan) Equal(that interface{}) bool + type QueryAppliedPlanRequest struct + Name string + func (*QueryAppliedPlanRequest) Descriptor() ([]byte, []int) + func (*QueryAppliedPlanRequest) ProtoMessage() + func (m *QueryAppliedPlanRequest) GetName() string + func (m *QueryAppliedPlanRequest) Marshal() (dAtA []byte, err error) + func (m *QueryAppliedPlanRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryAppliedPlanRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryAppliedPlanRequest) Reset() + func (m *QueryAppliedPlanRequest) Size() (n int) + func (m *QueryAppliedPlanRequest) String() string + func (m *QueryAppliedPlanRequest) Unmarshal(dAtA []byte) error + func (m *QueryAppliedPlanRequest) XXX_DiscardUnknown() + func (m *QueryAppliedPlanRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryAppliedPlanRequest) XXX_Merge(src proto.Message) + func (m *QueryAppliedPlanRequest) XXX_Size() int + func (m *QueryAppliedPlanRequest) XXX_Unmarshal(b []byte) error + type QueryAppliedPlanResponse struct + Height int64 + func (*QueryAppliedPlanResponse) Descriptor() ([]byte, []int) + func (*QueryAppliedPlanResponse) ProtoMessage() + func (m *QueryAppliedPlanResponse) GetHeight() int64 + func (m *QueryAppliedPlanResponse) Marshal() (dAtA []byte, err error) + func (m *QueryAppliedPlanResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryAppliedPlanResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryAppliedPlanResponse) Reset() + func (m *QueryAppliedPlanResponse) Size() (n int) + func (m *QueryAppliedPlanResponse) String() string + func (m *QueryAppliedPlanResponse) Unmarshal(dAtA []byte) error + func (m *QueryAppliedPlanResponse) XXX_DiscardUnknown() + func (m *QueryAppliedPlanResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryAppliedPlanResponse) XXX_Merge(src proto.Message) + func (m *QueryAppliedPlanResponse) XXX_Size() int + func (m *QueryAppliedPlanResponse) XXX_Unmarshal(b []byte) error + type QueryClient interface + AppliedPlan func(ctx context.Context, in *QueryAppliedPlanRequest, opts ...grpc.CallOption) (*QueryAppliedPlanResponse, error) + CurrentPlan func(ctx context.Context, in *QueryCurrentPlanRequest, opts ...grpc.CallOption) (*QueryCurrentPlanResponse, error) + UpgradedConsensusState func(ctx context.Context, in *QueryUpgradedConsensusStateRequest, ...) (*QueryUpgradedConsensusStateResponse, error) + func NewQueryClient(cc grpc1.ClientConn) QueryClient + type QueryCurrentPlanRequest struct + func (*QueryCurrentPlanRequest) Descriptor() ([]byte, []int) + func (*QueryCurrentPlanRequest) ProtoMessage() + func (m *QueryCurrentPlanRequest) Marshal() (dAtA []byte, err error) + func (m *QueryCurrentPlanRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryCurrentPlanRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryCurrentPlanRequest) Reset() + func (m *QueryCurrentPlanRequest) Size() (n int) + func (m *QueryCurrentPlanRequest) String() string + func (m *QueryCurrentPlanRequest) Unmarshal(dAtA []byte) error + func (m *QueryCurrentPlanRequest) XXX_DiscardUnknown() + func (m *QueryCurrentPlanRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryCurrentPlanRequest) XXX_Merge(src proto.Message) + func (m *QueryCurrentPlanRequest) XXX_Size() int + func (m *QueryCurrentPlanRequest) XXX_Unmarshal(b []byte) error + type QueryCurrentPlanResponse struct + Plan *Plan + func (*QueryCurrentPlanResponse) Descriptor() ([]byte, []int) + func (*QueryCurrentPlanResponse) ProtoMessage() + func (m *QueryCurrentPlanResponse) GetPlan() *Plan + func (m *QueryCurrentPlanResponse) Marshal() (dAtA []byte, err error) + func (m *QueryCurrentPlanResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryCurrentPlanResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryCurrentPlanResponse) Reset() + func (m *QueryCurrentPlanResponse) Size() (n int) + func (m *QueryCurrentPlanResponse) String() string + func (m *QueryCurrentPlanResponse) Unmarshal(dAtA []byte) error + func (m *QueryCurrentPlanResponse) XXX_DiscardUnknown() + func (m *QueryCurrentPlanResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryCurrentPlanResponse) XXX_Merge(src proto.Message) + func (m *QueryCurrentPlanResponse) XXX_Size() int + func (m *QueryCurrentPlanResponse) XXX_Unmarshal(b []byte) error + type QueryServer interface + AppliedPlan func(context.Context, *QueryAppliedPlanRequest) (*QueryAppliedPlanResponse, error) + CurrentPlan func(context.Context, *QueryCurrentPlanRequest) (*QueryCurrentPlanResponse, error) + UpgradedConsensusState func(context.Context, *QueryUpgradedConsensusStateRequest) (*QueryUpgradedConsensusStateResponse, error) + type QueryUpgradedConsensusStateRequest struct + LastHeight int64 + func (*QueryUpgradedConsensusStateRequest) Descriptor() ([]byte, []int) + func (*QueryUpgradedConsensusStateRequest) ProtoMessage() + func (m *QueryUpgradedConsensusStateRequest) GetLastHeight() int64 + func (m *QueryUpgradedConsensusStateRequest) Marshal() (dAtA []byte, err error) + func (m *QueryUpgradedConsensusStateRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryUpgradedConsensusStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryUpgradedConsensusStateRequest) Reset() + func (m *QueryUpgradedConsensusStateRequest) Size() (n int) + func (m *QueryUpgradedConsensusStateRequest) String() string + func (m *QueryUpgradedConsensusStateRequest) Unmarshal(dAtA []byte) error + func (m *QueryUpgradedConsensusStateRequest) XXX_DiscardUnknown() + func (m *QueryUpgradedConsensusStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryUpgradedConsensusStateRequest) XXX_Merge(src proto.Message) + func (m *QueryUpgradedConsensusStateRequest) XXX_Size() int + func (m *QueryUpgradedConsensusStateRequest) XXX_Unmarshal(b []byte) error + type QueryUpgradedConsensusStateResponse struct + UpgradedConsensusState *types.Any + func (*QueryUpgradedConsensusStateResponse) Descriptor() ([]byte, []int) + func (*QueryUpgradedConsensusStateResponse) ProtoMessage() + func (m *QueryUpgradedConsensusStateResponse) GetUpgradedConsensusState() *types.Any + func (m *QueryUpgradedConsensusStateResponse) Marshal() (dAtA []byte, err error) + func (m *QueryUpgradedConsensusStateResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryUpgradedConsensusStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryUpgradedConsensusStateResponse) Reset() + func (m *QueryUpgradedConsensusStateResponse) Size() (n int) + func (m *QueryUpgradedConsensusStateResponse) String() string + func (m *QueryUpgradedConsensusStateResponse) Unmarshal(dAtA []byte) error + func (m *QueryUpgradedConsensusStateResponse) XXX_DiscardUnknown() + func (m *QueryUpgradedConsensusStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryUpgradedConsensusStateResponse) XXX_Merge(src proto.Message) + func (m *QueryUpgradedConsensusStateResponse) XXX_Size() int + func (m *QueryUpgradedConsensusStateResponse) XXX_Unmarshal(b []byte) error + type SoftwareUpgradeProposal struct + Description string + Plan Plan + Title string + func (*SoftwareUpgradeProposal) Descriptor() ([]byte, []int) + func (*SoftwareUpgradeProposal) ProtoMessage() + func (m *SoftwareUpgradeProposal) Marshal() (dAtA []byte, err error) + func (m *SoftwareUpgradeProposal) MarshalTo(dAtA []byte) (int, error) + func (m *SoftwareUpgradeProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *SoftwareUpgradeProposal) Reset() + func (m *SoftwareUpgradeProposal) Size() (n int) + func (m *SoftwareUpgradeProposal) Unmarshal(dAtA []byte) error + func (m *SoftwareUpgradeProposal) XXX_DiscardUnknown() + func (m *SoftwareUpgradeProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *SoftwareUpgradeProposal) XXX_Merge(src proto.Message) + func (m *SoftwareUpgradeProposal) XXX_Size() int + func (m *SoftwareUpgradeProposal) XXX_Unmarshal(b []byte) error + func (sup *SoftwareUpgradeProposal) GetDescription() string + func (sup *SoftwareUpgradeProposal) GetTitle() string + func (sup *SoftwareUpgradeProposal) ProposalRoute() string + func (sup *SoftwareUpgradeProposal) ProposalType() string + func (sup *SoftwareUpgradeProposal) ValidateBasic() error + func (sup SoftwareUpgradeProposal) String() string + func (sup SoftwareUpgradeProposal) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error + func (this *SoftwareUpgradeProposal) Equal(that interface{}) bool + type UnimplementedQueryServer struct + func (*UnimplementedQueryServer) AppliedPlan(ctx context.Context, req *QueryAppliedPlanRequest) (*QueryAppliedPlanResponse, error) + func (*UnimplementedQueryServer) CurrentPlan(ctx context.Context, req *QueryCurrentPlanRequest) (*QueryCurrentPlanResponse, error) + func (*UnimplementedQueryServer) UpgradedConsensusState(ctx context.Context, req *QueryUpgradedConsensusStateRequest) (*QueryUpgradedConsensusStateResponse, error) + type UpgradeHandler func(ctx sdk.Context, plan Plan)