diff --git a/proto/palomachain/paloma/skyway/msgs.proto b/proto/palomachain/paloma/skyway/msgs.proto index 5cc63cef..d6952493 100644 --- a/proto/palomachain/paloma/skyway/msgs.proto +++ b/proto/palomachain/paloma/skyway/msgs.proto @@ -98,6 +98,7 @@ message MsgSendToPalomaClaim { palomachain.paloma.valset.MsgMetadata metadata = 9 [ (gogoproto.nullable) = false ]; uint64 skyway_nonce = 10; + string compass_id = 11; } message MsgSendToPalomaClaimResponse { @@ -116,6 +117,7 @@ message MsgBatchSendToRemoteClaim { palomachain.paloma.valset.MsgMetadata metadata = 7 [ (gogoproto.nullable) = false ]; uint64 skyway_nonce = 8; + string compass_id = 9; } message MsgBatchSendToRemoteClaimResponse {} @@ -240,6 +242,7 @@ message MsgLightNodeSaleClaim { (gogoproto.nullable) = false ]; string smart_contract_address = 9; + string compass_id = 10; } // MsgEstimateBatchGas is a message to estimate the gas for a batch diff --git a/util/eventbus/bus.go b/util/eventbus/bus.go index 24944852..61ce56a8 100644 --- a/util/eventbus/bus.go +++ b/util/eventbus/bus.go @@ -8,7 +8,10 @@ import ( "github.com/palomachain/paloma/util/liblog" ) -var skywayBatchBuilt = newEvent[SkywayBatchBuiltEvent]() +var ( + skywayBatchBuilt = newEvent[SkywayBatchBuiltEvent]() + evmActivatedChain = newEvent[EVMActivatedChainEvent]() +) type ( EventHandler[E any] func(context.Context, E) error @@ -58,3 +61,12 @@ type SkywayBatchBuiltEvent struct { func SkywayBatchBuilt() *Event[SkywayBatchBuiltEvent] { return &skywayBatchBuilt } + +type EVMActivatedChainEvent struct { + ChainReferenceID string + SmartContractUniqueID []byte +} + +func EVMActivatedChain() *Event[EVMActivatedChainEvent] { + return &evmActivatedChain +} diff --git a/x/evm/keeper/keeper.go b/x/evm/keeper/keeper.go index 0978b207..457fee99 100644 --- a/x/evm/keeper/keeper.go +++ b/x/evm/keeper/keeper.go @@ -412,6 +412,11 @@ func (k Keeper) ActivateChainReferenceID( k.Logger(sdkCtx).Error("error while activating chain with a new smart contract", args...) } else { k.Logger(sdkCtx).Info("activated chain with a new smart contract", args...) + + eventbus.EVMActivatedChain().Publish(ctx, eventbus.EVMActivatedChainEvent{ + ChainReferenceID: chainReferenceID, + SmartContractUniqueID: smartContractUniqueID, + }) } }() chainInfo, err := k.GetChainInfo(ctx, chainReferenceID) diff --git a/x/evm/keeper/keeper_test.go b/x/evm/keeper/keeper_test.go index cfdea8bd..1b440b30 100644 --- a/x/evm/keeper/keeper_test.go +++ b/x/evm/keeper/keeper_test.go @@ -89,7 +89,6 @@ func buildKeeper(t *testing.T) (*Keeper, sdk.Context, mockedServices) { // test-chain mocks mockServices.ValsetKeeper.On("GetCurrentSnapshot", mock.Anything).Return(unpublishedSnapshot, nil) mockServices.ConsensusKeeper.On("PutMessageInQueue", mock.Anything, mock.Anything, mock.Anything, mock.Anything).Return(uint64(0), nil) - mockServices.SkywayKeeper.On("GetLastObservedSkywayNonce", mock.Anything, mock.Anything).Return(uint64(100), nil) mockServices.MetrixKeeper.On("Validators", mock.Anything, mock.Anything).Return(&metrixtypes.QueryValidatorsResponse{ ValMetrics: getMetrics(3), }, nil) @@ -98,7 +97,6 @@ func buildKeeper(t *testing.T) (*Keeper, sdk.Context, mockedServices) { // invalid-test-chain mocks mockServices.ValsetKeeper.On("GetCurrentSnapshot", mock.Anything).Return(unpublishedSnapshot, nil) mockServices.ConsensusKeeper.On("PutMessageInQueue", mock.Anything, mock.Anything, mock.Anything, mock.Anything).Return(uint64(0), nil) - mockServices.SkywayKeeper.On("GetLastObservedSkywayNonce", mock.Anything, mock.Anything).Return(uint64(100), nil) mockServices.MetrixKeeper.On("Validators", mock.Anything, mock.Anything).Return(&metrixtypes.QueryValidatorsResponse{ ValMetrics: getMetrics(3), }, nil) diff --git a/x/evm/keeper/msg_server_remove_smart_contract_deployment_test.go b/x/evm/keeper/msg_server_remove_smart_contract_deployment_test.go index 5b32173f..e64d5ad6 100644 --- a/x/evm/keeper/msg_server_remove_smart_contract_deployment_test.go +++ b/x/evm/keeper/msg_server_remove_smart_contract_deployment_test.go @@ -33,7 +33,6 @@ func addDeploymentToKeeper(t *testing.T, ctx sdk.Context, k *Keeper, mockService // test-chain mocks mockServices.ValsetKeeper.On("GetCurrentSnapshot", mock.Anything).Return(unpublishedSnapshot, nil) mockServices.ConsensusKeeper.On("PutMessageInQueue", mock.Anything, mock.Anything, mock.Anything, mock.Anything).Return(uint64(10), nil) - mockServices.SkywayKeeper.On("GetLastObservedSkywayNonce", mock.Anything, mock.Anything).Return(uint64(100), nil) mockServices.MetrixKeeper.On("Validators", mock.Anything, mock.Anything).Return(&metrixtypes.QueryValidatorsResponse{ ValMetrics: getMetrics(3), }, nil) diff --git a/x/evm/keeper/smart_contract_deployment.go b/x/evm/keeper/smart_contract_deployment.go index 6c93bf95..86978709 100644 --- a/x/evm/keeper/smart_contract_deployment.go +++ b/x/evm/keeper/smart_contract_deployment.go @@ -272,10 +272,6 @@ func (k Keeper) deploySmartContractToChain(ctx context.Context, chainInfo *types } uniqueID := generateSmartContractID(ctx) k.createSmartContractDeployment(ctx, smartContract, chainInfo, uniqueID[:]) - lastSkywayNonce, err := k.Skyway.GetLastObservedSkywayNonce(ctx, chainInfo.GetChainReferenceID()) - if err != nil { - return fmt.Errorf("failed to get last observed skyway nonce: %w", err) - } // set the smart contract constructor arguments logger.Info( @@ -284,7 +280,7 @@ func (k Keeper) deploySmartContractToChain(ctx context.Context, chainInfo *types "validators-size", len(valset.GetValidators()), "power-size", len(valset.GetPowers()), ) - input, err := contractABI.Pack("", uniqueID, big.NewInt(0), (&big.Int{}).SetUint64(lastSkywayNonce), types.TransformValsetToCompassValset(&valset), feeMgrAddr) + input, err := contractABI.Pack("", uniqueID, big.NewInt(0), big.NewInt(0), types.TransformValsetToCompassValset(&valset), feeMgrAddr) if err != nil { return err } diff --git a/x/skyway/keeper/attestation.go b/x/skyway/keeper/attestation.go index e46f0a13..2a78b04f 100644 --- a/x/skyway/keeper/attestation.go +++ b/x/skyway/keeper/attestation.go @@ -267,6 +267,9 @@ func (k Keeper) DeleteAttestation(ctx context.Context, chainReferenceID string, func (k Keeper) GetAttestationMapping(ctx context.Context, chainReferenceID string) (attestationMapping map[uint64][]types.Attestation, orderedKeys []uint64, err error) { attestationMapping = make(map[uint64][]types.Attestation) var g whoops.Group + + lastCompassID := k.GetLatestCompassID(ctx, chainReferenceID) + g.Add( k.IterateAttestations(ctx, chainReferenceID, false, func(_ []byte, att types.Attestation) bool { claim, err := k.UnpackAttestationClaim(&att) @@ -275,6 +278,13 @@ func (k Keeper) GetAttestationMapping(ctx context.Context, chainReferenceID stri return true } + // Do not include claims originating from the other compass + // versions, since we won't be able to attest them anyway. They may + // also repeat the nonce, so we can't list them here. + if lastCompassID != "" && claim.GetCompassID() != lastCompassID { + return false + } + if val, ok := attestationMapping[claim.GetSkywayNonce()]; !ok { attestationMapping[claim.GetSkywayNonce()] = []types.Attestation{att} } else { @@ -454,12 +464,13 @@ func (k Keeper) setLastObservedSkywayNonce(ctx context.Context, chainReferenceID if err != nil { return err } + // event nonce must increase, unless it's zero at which point allow zero to be set // as many times as needed (genesis test setup etc) - zeroCase := last == 0 && nonce == 0 - if last >= nonce && !zeroCase { + if nonce != 0 && nonce < last { return fmt.Errorf("event nonce going backwards or replay") } + store.Set(types.LastObservedEventNonceKey, types.UInt64Bytes(nonce)) return nil } @@ -528,3 +539,25 @@ func (k Keeper) IterateValidatorLastEventNonces(ctx context.Context, chainRefere } return nil } + +// GetLatestCompassID returns the latest compass ID on record after +// message attestation +func (k Keeper) GetLatestCompassID( + ctx context.Context, + chainReferenceID string, +) string { + store := k.GetStore(ctx, chainReferenceID) + bytes := store.Get(types.LatestCompassIDKey) + + return string(bytes) +} + +// setLatestCompassID stores the latest compass ID received +func (k Keeper) setLatestCompassID( + ctx context.Context, + chainReferenceID string, + compassID string, +) { + store := k.GetStore(ctx, chainReferenceID) + store.Set(types.LatestCompassIDKey, []byte(compassID)) +} diff --git a/x/skyway/keeper/keeper.go b/x/skyway/keeper/keeper.go index b6ca0631..716543a4 100644 --- a/x/skyway/keeper/keeper.go +++ b/x/skyway/keeper/keeper.go @@ -20,6 +20,7 @@ import ( stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" ibctransferkeeper "github.com/cosmos/ibc-go/v8/modules/apps/transfer/keeper" + "github.com/palomachain/paloma/util/eventbus" keeperutil "github.com/palomachain/paloma/util/keeper" "github.com/palomachain/paloma/util/liblog" "github.com/palomachain/paloma/x/skyway/types" @@ -88,6 +89,39 @@ func NewKeeper( attestationHandler.ValidateMembers() k.AttestationHandler = attestationHandler k.authority = authority + + eventbus.EVMActivatedChain().Subscribe( + "skyway-keeper", + func(ctx context.Context, e eventbus.EVMActivatedChainEvent) error { + logger := liblog.FromKeeper(ctx, k). + WithComponent("skyway-activated-chain-callback"). + WithFields( + "chain_reference_id", e.ChainReferenceID, + "smart_contract_unique_id", string(e.SmartContractUniqueID), + ) + + k.setLatestCompassID(ctx, e.ChainReferenceID, string(e.SmartContractUniqueID)) + + err := k.setLastObservedSkywayNonce(ctx, e.ChainReferenceID, 0) + if err != nil { + logger.WithError(err).Warn("Failed to reset skyway nonce") + return err + } + + err = k.IterateValidatorLastEventNonces(ctx, e.ChainReferenceID, func(key []byte, _ uint64) bool { + store := k.GetStore(ctx, e.ChainReferenceID) + store.Delete(key) + return false + }) + if err != nil { + logger.WithError(err).Warn("Failed to reset validator skyway nonces") + return err + } + + logger.Info("Updated last observed nonce successfully") + return nil + }) + return k } diff --git a/x/skyway/types/key.go b/x/skyway/types/key.go index 17344b79..0e0cf1d2 100644 --- a/x/skyway/types/key.go +++ b/x/skyway/types/key.go @@ -126,6 +126,9 @@ var ( BridgeTransferLimitPrefix = "bridge-transfer-limit" BridgeTransferUsagePrefix = "bridge-transfer-usage" LightNodeSaleContractsPrefix = "light-node-sale-contracts" + + // LatestCompassIDKey stores the latest compass ID received + LatestCompassIDKey = HashString("LatestCompassIDKey") ) // GetOrchestratorAddressKey returns the following key format diff --git a/x/skyway/types/legacy_msgs.go b/x/skyway/types/legacy_msgs.go index 0d9e6343..7d694e6b 100644 --- a/x/skyway/types/legacy_msgs.go +++ b/x/skyway/types/legacy_msgs.go @@ -48,6 +48,8 @@ func (msg *MsgBatchSendToEthClaim) ClaimHash() ([]byte, error) { return tmhash.Sum([]byte(path)), nil } +func (msg *MsgBatchSendToEthClaim) GetCompassID() string { return "" } + func (msg MsgBatchSendToEthClaim) GetClaimer() sdk.AccAddress { err := msg.ValidateBasic() if err != nil { diff --git a/x/skyway/types/msgs.go b/x/skyway/types/msgs.go index b34d66c8..e78b2fcc 100644 --- a/x/skyway/types/msgs.go +++ b/x/skyway/types/msgs.go @@ -165,6 +165,8 @@ type EthereumClaim interface { GetChainReferenceId() string // Returns the reference ID of the remote chain on which this claim was observed. GetSkywayNonce() uint64 + // Returns the compass ID that sent the original message + GetCompassID() string } // nolint: exhaustruct @@ -251,10 +253,14 @@ const ( // note that the Orchestrator is the only field excluded from this hash, this is because that value is used higher up in the store // structure for who has made what claim and is verified by the msg ante-handler for signatures func (msg *MsgSendToPalomaClaim) ClaimHash() ([]byte, error) { - path := fmt.Sprintf("%d/%d/%s/%s/%s/%s", msg.SkywayNonce, msg.EthBlockHeight, msg.TokenContract, msg.Amount.String(), msg.EthereumSender, msg.PalomaReceiver) + path := fmt.Sprintf("%d/%d/%s/%s/%s/%s/%s", msg.SkywayNonce, msg.EthBlockHeight, msg.TokenContract, msg.Amount.String(), msg.EthereumSender, msg.PalomaReceiver, msg.CompassId) return tmhash.Sum([]byte(path)), nil } +func (msg *MsgSendToPalomaClaim) GetCompassID() string { + return msg.CompassId +} + func (msg *MsgBatchSendToRemoteClaim) SetOrchestrator(orchestrator sdk.AccAddress) { msg.Orchestrator = orchestrator.String() } @@ -286,10 +292,14 @@ func (e *MsgBatchSendToRemoteClaim) ValidateBasic() error { // Hash implements WithdrawBatch.Hash func (msg *MsgBatchSendToRemoteClaim) ClaimHash() ([]byte, error) { - path := fmt.Sprintf("%d/%d/%d/%s", msg.SkywayNonce, msg.EthBlockHeight, msg.BatchNonce, msg.TokenContract) + path := fmt.Sprintf("%d/%d/%d/%s/%s", msg.SkywayNonce, msg.EthBlockHeight, msg.BatchNonce, msg.TokenContract, msg.CompassId) return tmhash.Sum([]byte(path)), nil } +func (msg *MsgBatchSendToRemoteClaim) GetCompassID() string { + return msg.CompassId +} + func (msg MsgBatchSendToRemoteClaim) GetClaimer() sdk.AccAddress { err := msg.ValidateBasic() if err != nil { @@ -405,11 +415,15 @@ func (msg *MsgLightNodeSaleClaim) ValidateBasic() error { } func (msg *MsgLightNodeSaleClaim) ClaimHash() ([]byte, error) { - path := fmt.Sprintf("%d/%d/%s/%s", msg.SkywayNonce, msg.EthBlockHeight, - msg.ClientAddress, msg.Amount.String()) + path := fmt.Sprintf("%d/%d/%s/%s/%s", msg.SkywayNonce, msg.EthBlockHeight, + msg.ClientAddress, msg.Amount.String(), msg.CompassId) return tmhash.Sum([]byte(path)), nil } +func (msg *MsgLightNodeSaleClaim) GetCompassID() string { + return msg.CompassId +} + func (msg MsgLightNodeSaleClaim) GetClaimer() sdk.AccAddress { err := msg.ValidateBasic() if err != nil { diff --git a/x/skyway/types/msgs.pb.go b/x/skyway/types/msgs.pb.go index fe5a5aaf..38d632c2 100644 --- a/x/skyway/types/msgs.pb.go +++ b/x/skyway/types/msgs.pb.go @@ -5,12 +5,8 @@ package types import ( context "context" - fmt "fmt" - io "io" - math "math" - math_bits "math/bits" - cosmossdk_io_math "cosmossdk.io/math" + fmt "fmt" _ "github.com/cosmos/cosmos-proto" types2 "github.com/cosmos/cosmos-sdk/codec/types" types "github.com/cosmos/cosmos-sdk/types" @@ -24,14 +20,15 @@ import ( codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" emptypb "google.golang.org/protobuf/types/known/emptypb" + io "io" + math "math" + math_bits "math/bits" ) // Reference imports to suppress errors if they are not otherwise used. -var ( - _ = proto.Marshal - _ = fmt.Errorf - _ = math.Inf -) +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. @@ -60,11 +57,9 @@ func (*MsgSendToRemote) ProtoMessage() {} func (*MsgSendToRemote) Descriptor() ([]byte, []int) { return fileDescriptor_857e0e6098045c7c, []int{0} } - func (m *MsgSendToRemote) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *MsgSendToRemote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgSendToRemote.Marshal(b, m, deterministic) @@ -77,15 +72,12 @@ func (m *MsgSendToRemote) XXX_Marshal(b []byte, deterministic bool) ([]byte, err return b[:n], nil } } - func (m *MsgSendToRemote) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgSendToRemote.Merge(m, src) } - func (m *MsgSendToRemote) XXX_Size() int { return m.Size() } - func (m *MsgSendToRemote) XXX_DiscardUnknown() { xxx_messageInfo_MsgSendToRemote.DiscardUnknown(m) } @@ -120,7 +112,8 @@ func (m *MsgSendToRemote) GetMetadata() types1.MsgMetadata { return types1.MsgMetadata{} } -type MsgSendToRemoteResponse struct{} +type MsgSendToRemoteResponse struct { +} func (m *MsgSendToRemoteResponse) Reset() { *m = MsgSendToRemoteResponse{} } func (m *MsgSendToRemoteResponse) String() string { return proto.CompactTextString(m) } @@ -128,11 +121,9 @@ func (*MsgSendToRemoteResponse) ProtoMessage() {} func (*MsgSendToRemoteResponse) Descriptor() ([]byte, []int) { return fileDescriptor_857e0e6098045c7c, []int{1} } - func (m *MsgSendToRemoteResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *MsgSendToRemoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgSendToRemoteResponse.Marshal(b, m, deterministic) @@ -145,15 +136,12 @@ func (m *MsgSendToRemoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]b return b[:n], nil } } - func (m *MsgSendToRemoteResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgSendToRemoteResponse.Merge(m, src) } - func (m *MsgSendToRemoteResponse) XXX_Size() int { return m.Size() } - func (m *MsgSendToRemoteResponse) XXX_DiscardUnknown() { xxx_messageInfo_MsgSendToRemoteResponse.DiscardUnknown(m) } @@ -183,11 +171,9 @@ func (*MsgConfirmBatch) ProtoMessage() {} func (*MsgConfirmBatch) Descriptor() ([]byte, []int) { return fileDescriptor_857e0e6098045c7c, []int{2} } - func (m *MsgConfirmBatch) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *MsgConfirmBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgConfirmBatch.Marshal(b, m, deterministic) @@ -200,15 +186,12 @@ func (m *MsgConfirmBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, err return b[:n], nil } } - func (m *MsgConfirmBatch) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgConfirmBatch.Merge(m, src) } - func (m *MsgConfirmBatch) XXX_Size() int { return m.Size() } - func (m *MsgConfirmBatch) XXX_DiscardUnknown() { xxx_messageInfo_MsgConfirmBatch.DiscardUnknown(m) } @@ -257,7 +240,8 @@ func (m *MsgConfirmBatch) GetMetadata() types1.MsgMetadata { return types1.MsgMetadata{} } -type MsgConfirmBatchResponse struct{} +type MsgConfirmBatchResponse struct { +} func (m *MsgConfirmBatchResponse) Reset() { *m = MsgConfirmBatchResponse{} } func (m *MsgConfirmBatchResponse) String() string { return proto.CompactTextString(m) } @@ -265,11 +249,9 @@ func (*MsgConfirmBatchResponse) ProtoMessage() {} func (*MsgConfirmBatchResponse) Descriptor() ([]byte, []int) { return fileDescriptor_857e0e6098045c7c, []int{3} } - func (m *MsgConfirmBatchResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *MsgConfirmBatchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgConfirmBatchResponse.Marshal(b, m, deterministic) @@ -282,15 +264,12 @@ func (m *MsgConfirmBatchResponse) XXX_Marshal(b []byte, deterministic bool) ([]b return b[:n], nil } } - func (m *MsgConfirmBatchResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgConfirmBatchResponse.Merge(m, src) } - func (m *MsgConfirmBatchResponse) XXX_Size() int { return m.Size() } - func (m *MsgConfirmBatchResponse) XXX_DiscardUnknown() { xxx_messageInfo_MsgConfirmBatchResponse.DiscardUnknown(m) } @@ -313,6 +292,7 @@ type MsgSendToPalomaClaim struct { ChainReferenceId string `protobuf:"bytes,8,opt,name=chain_reference_id,json=chainReferenceId,proto3" json:"chain_reference_id,omitempty"` Metadata types1.MsgMetadata `protobuf:"bytes,9,opt,name=metadata,proto3" json:"metadata"` SkywayNonce uint64 `protobuf:"varint,10,opt,name=skyway_nonce,json=skywayNonce,proto3" json:"skyway_nonce,omitempty"` + CompassId string `protobuf:"bytes,11,opt,name=compass_id,json=compassId,proto3" json:"compass_id,omitempty"` } func (m *MsgSendToPalomaClaim) Reset() { *m = MsgSendToPalomaClaim{} } @@ -321,11 +301,9 @@ func (*MsgSendToPalomaClaim) ProtoMessage() {} func (*MsgSendToPalomaClaim) Descriptor() ([]byte, []int) { return fileDescriptor_857e0e6098045c7c, []int{4} } - func (m *MsgSendToPalomaClaim) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *MsgSendToPalomaClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgSendToPalomaClaim.Marshal(b, m, deterministic) @@ -338,15 +316,12 @@ func (m *MsgSendToPalomaClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte return b[:n], nil } } - func (m *MsgSendToPalomaClaim) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgSendToPalomaClaim.Merge(m, src) } - func (m *MsgSendToPalomaClaim) XXX_Size() int { return m.Size() } - func (m *MsgSendToPalomaClaim) XXX_DiscardUnknown() { xxx_messageInfo_MsgSendToPalomaClaim.DiscardUnknown(m) } @@ -416,7 +391,15 @@ func (m *MsgSendToPalomaClaim) GetSkywayNonce() uint64 { return 0 } -type MsgSendToPalomaClaimResponse struct{} +func (m *MsgSendToPalomaClaim) GetCompassId() string { + if m != nil { + return m.CompassId + } + return "" +} + +type MsgSendToPalomaClaimResponse struct { +} func (m *MsgSendToPalomaClaimResponse) Reset() { *m = MsgSendToPalomaClaimResponse{} } func (m *MsgSendToPalomaClaimResponse) String() string { return proto.CompactTextString(m) } @@ -424,11 +407,9 @@ func (*MsgSendToPalomaClaimResponse) ProtoMessage() {} func (*MsgSendToPalomaClaimResponse) Descriptor() ([]byte, []int) { return fileDescriptor_857e0e6098045c7c, []int{5} } - func (m *MsgSendToPalomaClaimResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *MsgSendToPalomaClaimResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgSendToPalomaClaimResponse.Marshal(b, m, deterministic) @@ -441,15 +422,12 @@ func (m *MsgSendToPalomaClaimResponse) XXX_Marshal(b []byte, deterministic bool) return b[:n], nil } } - func (m *MsgSendToPalomaClaimResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgSendToPalomaClaimResponse.Merge(m, src) } - func (m *MsgSendToPalomaClaimResponse) XXX_Size() int { return m.Size() } - func (m *MsgSendToPalomaClaimResponse) XXX_DiscardUnknown() { xxx_messageInfo_MsgSendToPalomaClaimResponse.DiscardUnknown(m) } @@ -467,6 +445,7 @@ type MsgBatchSendToRemoteClaim struct { Orchestrator string `protobuf:"bytes,6,opt,name=orchestrator,proto3" json:"orchestrator,omitempty"` Metadata types1.MsgMetadata `protobuf:"bytes,7,opt,name=metadata,proto3" json:"metadata"` SkywayNonce uint64 `protobuf:"varint,8,opt,name=skyway_nonce,json=skywayNonce,proto3" json:"skyway_nonce,omitempty"` + CompassId string `protobuf:"bytes,9,opt,name=compass_id,json=compassId,proto3" json:"compass_id,omitempty"` } func (m *MsgBatchSendToRemoteClaim) Reset() { *m = MsgBatchSendToRemoteClaim{} } @@ -475,11 +454,9 @@ func (*MsgBatchSendToRemoteClaim) ProtoMessage() {} func (*MsgBatchSendToRemoteClaim) Descriptor() ([]byte, []int) { return fileDescriptor_857e0e6098045c7c, []int{6} } - func (m *MsgBatchSendToRemoteClaim) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *MsgBatchSendToRemoteClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgBatchSendToRemoteClaim.Marshal(b, m, deterministic) @@ -492,15 +469,12 @@ func (m *MsgBatchSendToRemoteClaim) XXX_Marshal(b []byte, deterministic bool) ([ return b[:n], nil } } - func (m *MsgBatchSendToRemoteClaim) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgBatchSendToRemoteClaim.Merge(m, src) } - func (m *MsgBatchSendToRemoteClaim) XXX_Size() int { return m.Size() } - func (m *MsgBatchSendToRemoteClaim) XXX_DiscardUnknown() { xxx_messageInfo_MsgBatchSendToRemoteClaim.DiscardUnknown(m) } @@ -563,7 +537,15 @@ func (m *MsgBatchSendToRemoteClaim) GetSkywayNonce() uint64 { return 0 } -type MsgBatchSendToRemoteClaimResponse struct{} +func (m *MsgBatchSendToRemoteClaim) GetCompassId() string { + if m != nil { + return m.CompassId + } + return "" +} + +type MsgBatchSendToRemoteClaimResponse struct { +} func (m *MsgBatchSendToRemoteClaimResponse) Reset() { *m = MsgBatchSendToRemoteClaimResponse{} } func (m *MsgBatchSendToRemoteClaimResponse) String() string { return proto.CompactTextString(m) } @@ -571,11 +553,9 @@ func (*MsgBatchSendToRemoteClaimResponse) ProtoMessage() {} func (*MsgBatchSendToRemoteClaimResponse) Descriptor() ([]byte, []int) { return fileDescriptor_857e0e6098045c7c, []int{7} } - func (m *MsgBatchSendToRemoteClaimResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *MsgBatchSendToRemoteClaimResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgBatchSendToRemoteClaimResponse.Marshal(b, m, deterministic) @@ -588,15 +568,12 @@ func (m *MsgBatchSendToRemoteClaimResponse) XXX_Marshal(b []byte, deterministic return b[:n], nil } } - func (m *MsgBatchSendToRemoteClaimResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgBatchSendToRemoteClaimResponse.Merge(m, src) } - func (m *MsgBatchSendToRemoteClaimResponse) XXX_Size() int { return m.Size() } - func (m *MsgBatchSendToRemoteClaimResponse) XXX_DiscardUnknown() { xxx_messageInfo_MsgBatchSendToRemoteClaimResponse.DiscardUnknown(m) } @@ -617,11 +594,9 @@ func (*MsgCancelSendToRemote) ProtoMessage() {} func (*MsgCancelSendToRemote) Descriptor() ([]byte, []int) { return fileDescriptor_857e0e6098045c7c, []int{8} } - func (m *MsgCancelSendToRemote) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *MsgCancelSendToRemote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgCancelSendToRemote.Marshal(b, m, deterministic) @@ -634,15 +609,12 @@ func (m *MsgCancelSendToRemote) XXX_Marshal(b []byte, deterministic bool) ([]byt return b[:n], nil } } - func (m *MsgCancelSendToRemote) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgCancelSendToRemote.Merge(m, src) } - func (m *MsgCancelSendToRemote) XXX_Size() int { return m.Size() } - func (m *MsgCancelSendToRemote) XXX_DiscardUnknown() { xxx_messageInfo_MsgCancelSendToRemote.DiscardUnknown(m) } @@ -663,7 +635,8 @@ func (m *MsgCancelSendToRemote) GetMetadata() types1.MsgMetadata { return types1.MsgMetadata{} } -type MsgCancelSendToRemoteResponse struct{} +type MsgCancelSendToRemoteResponse struct { +} func (m *MsgCancelSendToRemoteResponse) Reset() { *m = MsgCancelSendToRemoteResponse{} } func (m *MsgCancelSendToRemoteResponse) String() string { return proto.CompactTextString(m) } @@ -671,11 +644,9 @@ func (*MsgCancelSendToRemoteResponse) ProtoMessage() {} func (*MsgCancelSendToRemoteResponse) Descriptor() ([]byte, []int) { return fileDescriptor_857e0e6098045c7c, []int{9} } - func (m *MsgCancelSendToRemoteResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *MsgCancelSendToRemoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgCancelSendToRemoteResponse.Marshal(b, m, deterministic) @@ -688,15 +659,12 @@ func (m *MsgCancelSendToRemoteResponse) XXX_Marshal(b []byte, deterministic bool return b[:n], nil } } - func (m *MsgCancelSendToRemoteResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgCancelSendToRemoteResponse.Merge(m, src) } - func (m *MsgCancelSendToRemoteResponse) XXX_Size() int { return m.Size() } - func (m *MsgCancelSendToRemoteResponse) XXX_DiscardUnknown() { xxx_messageInfo_MsgCancelSendToRemoteResponse.DiscardUnknown(m) } @@ -721,11 +689,9 @@ func (*MsgSubmitBadSignatureEvidence) ProtoMessage() {} func (*MsgSubmitBadSignatureEvidence) Descriptor() ([]byte, []int) { return fileDescriptor_857e0e6098045c7c, []int{10} } - func (m *MsgSubmitBadSignatureEvidence) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *MsgSubmitBadSignatureEvidence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgSubmitBadSignatureEvidence.Marshal(b, m, deterministic) @@ -738,15 +704,12 @@ func (m *MsgSubmitBadSignatureEvidence) XXX_Marshal(b []byte, deterministic bool return b[:n], nil } } - func (m *MsgSubmitBadSignatureEvidence) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgSubmitBadSignatureEvidence.Merge(m, src) } - func (m *MsgSubmitBadSignatureEvidence) XXX_Size() int { return m.Size() } - func (m *MsgSubmitBadSignatureEvidence) XXX_DiscardUnknown() { xxx_messageInfo_MsgSubmitBadSignatureEvidence.DiscardUnknown(m) } @@ -789,7 +752,8 @@ func (m *MsgSubmitBadSignatureEvidence) GetMetadata() types1.MsgMetadata { return types1.MsgMetadata{} } -type MsgSubmitBadSignatureEvidenceResponse struct{} +type MsgSubmitBadSignatureEvidenceResponse struct { +} func (m *MsgSubmitBadSignatureEvidenceResponse) Reset() { *m = MsgSubmitBadSignatureEvidenceResponse{} } func (m *MsgSubmitBadSignatureEvidenceResponse) String() string { return proto.CompactTextString(m) } @@ -797,11 +761,9 @@ func (*MsgSubmitBadSignatureEvidenceResponse) ProtoMessage() {} func (*MsgSubmitBadSignatureEvidenceResponse) Descriptor() ([]byte, []int) { return fileDescriptor_857e0e6098045c7c, []int{11} } - func (m *MsgSubmitBadSignatureEvidenceResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *MsgSubmitBadSignatureEvidenceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgSubmitBadSignatureEvidenceResponse.Marshal(b, m, deterministic) @@ -814,15 +776,12 @@ func (m *MsgSubmitBadSignatureEvidenceResponse) XXX_Marshal(b []byte, determinis return b[:n], nil } } - func (m *MsgSubmitBadSignatureEvidenceResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgSubmitBadSignatureEvidenceResponse.Merge(m, src) } - func (m *MsgSubmitBadSignatureEvidenceResponse) XXX_Size() int { return m.Size() } - func (m *MsgSubmitBadSignatureEvidenceResponse) XXX_DiscardUnknown() { xxx_messageInfo_MsgSubmitBadSignatureEvidenceResponse.DiscardUnknown(m) } @@ -840,11 +799,9 @@ func (*EventSetOperatorAddress) ProtoMessage() {} func (*EventSetOperatorAddress) Descriptor() ([]byte, []int) { return fileDescriptor_857e0e6098045c7c, []int{12} } - func (m *EventSetOperatorAddress) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *EventSetOperatorAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_EventSetOperatorAddress.Marshal(b, m, deterministic) @@ -857,15 +814,12 @@ func (m *EventSetOperatorAddress) XXX_Marshal(b []byte, deterministic bool) ([]b return b[:n], nil } } - func (m *EventSetOperatorAddress) XXX_Merge(src proto.Message) { xxx_messageInfo_EventSetOperatorAddress.Merge(m, src) } - func (m *EventSetOperatorAddress) XXX_Size() int { return m.Size() } - func (m *EventSetOperatorAddress) XXX_DiscardUnknown() { xxx_messageInfo_EventSetOperatorAddress.DiscardUnknown(m) } @@ -897,11 +851,9 @@ func (*EventBatchCreated) ProtoMessage() {} func (*EventBatchCreated) Descriptor() ([]byte, []int) { return fileDescriptor_857e0e6098045c7c, []int{13} } - func (m *EventBatchCreated) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *EventBatchCreated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_EventBatchCreated.Marshal(b, m, deterministic) @@ -914,15 +866,12 @@ func (m *EventBatchCreated) XXX_Marshal(b []byte, deterministic bool) ([]byte, e return b[:n], nil } } - func (m *EventBatchCreated) XXX_Merge(src proto.Message) { xxx_messageInfo_EventBatchCreated.Merge(m, src) } - func (m *EventBatchCreated) XXX_Size() int { return m.Size() } - func (m *EventBatchCreated) XXX_DiscardUnknown() { xxx_messageInfo_EventBatchCreated.DiscardUnknown(m) } @@ -954,11 +903,9 @@ func (*EventBatchConfirmKey) ProtoMessage() {} func (*EventBatchConfirmKey) Descriptor() ([]byte, []int) { return fileDescriptor_857e0e6098045c7c, []int{14} } - func (m *EventBatchConfirmKey) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *EventBatchConfirmKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_EventBatchConfirmKey.Marshal(b, m, deterministic) @@ -971,15 +918,12 @@ func (m *EventBatchConfirmKey) XXX_Marshal(b []byte, deterministic bool) ([]byte return b[:n], nil } } - func (m *EventBatchConfirmKey) XXX_Merge(src proto.Message) { xxx_messageInfo_EventBatchConfirmKey.Merge(m, src) } - func (m *EventBatchConfirmKey) XXX_Size() int { return m.Size() } - func (m *EventBatchConfirmKey) XXX_DiscardUnknown() { xxx_messageInfo_EventBatchConfirmKey.DiscardUnknown(m) } @@ -1010,11 +954,9 @@ func (*EventBatchSendToRemoteClaim) ProtoMessage() {} func (*EventBatchSendToRemoteClaim) Descriptor() ([]byte, []int) { return fileDescriptor_857e0e6098045c7c, []int{15} } - func (m *EventBatchSendToRemoteClaim) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *EventBatchSendToRemoteClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_EventBatchSendToRemoteClaim.Marshal(b, m, deterministic) @@ -1027,15 +969,12 @@ func (m *EventBatchSendToRemoteClaim) XXX_Marshal(b []byte, deterministic bool) return b[:n], nil } } - func (m *EventBatchSendToRemoteClaim) XXX_Merge(src proto.Message) { xxx_messageInfo_EventBatchSendToRemoteClaim.Merge(m, src) } - func (m *EventBatchSendToRemoteClaim) XXX_Size() int { return m.Size() } - func (m *EventBatchSendToRemoteClaim) XXX_DiscardUnknown() { xxx_messageInfo_EventBatchSendToRemoteClaim.DiscardUnknown(m) } @@ -1061,11 +1000,9 @@ func (*EventClaim) ProtoMessage() {} func (*EventClaim) Descriptor() ([]byte, []int) { return fileDescriptor_857e0e6098045c7c, []int{16} } - func (m *EventClaim) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *EventClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_EventClaim.Marshal(b, m, deterministic) @@ -1078,15 +1015,12 @@ func (m *EventClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } - func (m *EventClaim) XXX_Merge(src proto.Message) { xxx_messageInfo_EventClaim.Merge(m, src) } - func (m *EventClaim) XXX_Size() int { return m.Size() } - func (m *EventClaim) XXX_DiscardUnknown() { xxx_messageInfo_EventClaim.DiscardUnknown(m) } @@ -1126,11 +1060,9 @@ func (*EventBadSignatureEvidence) ProtoMessage() {} func (*EventBadSignatureEvidence) Descriptor() ([]byte, []int) { return fileDescriptor_857e0e6098045c7c, []int{17} } - func (m *EventBadSignatureEvidence) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *EventBadSignatureEvidence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_EventBadSignatureEvidence.Marshal(b, m, deterministic) @@ -1143,15 +1075,12 @@ func (m *EventBadSignatureEvidence) XXX_Marshal(b []byte, deterministic bool) ([ return b[:n], nil } } - func (m *EventBadSignatureEvidence) XXX_Merge(src proto.Message) { xxx_messageInfo_EventBadSignatureEvidence.Merge(m, src) } - func (m *EventBadSignatureEvidence) XXX_Size() int { return m.Size() } - func (m *EventBadSignatureEvidence) XXX_DiscardUnknown() { xxx_messageInfo_EventBadSignatureEvidence.DiscardUnknown(m) } @@ -1192,11 +1121,9 @@ func (*EventMultisigUpdateRequest) ProtoMessage() {} func (*EventMultisigUpdateRequest) Descriptor() ([]byte, []int) { return fileDescriptor_857e0e6098045c7c, []int{18} } - func (m *EventMultisigUpdateRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *EventMultisigUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_EventMultisigUpdateRequest.Marshal(b, m, deterministic) @@ -1209,15 +1136,12 @@ func (m *EventMultisigUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ( return b[:n], nil } } - func (m *EventMultisigUpdateRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_EventMultisigUpdateRequest.Merge(m, src) } - func (m *EventMultisigUpdateRequest) XXX_Size() int { return m.Size() } - func (m *EventMultisigUpdateRequest) XXX_DiscardUnknown() { xxx_messageInfo_EventMultisigUpdateRequest.DiscardUnknown(m) } @@ -1263,11 +1187,9 @@ func (*EventSignatureSlashing) ProtoMessage() {} func (*EventSignatureSlashing) Descriptor() ([]byte, []int) { return fileDescriptor_857e0e6098045c7c, []int{19} } - func (m *EventSignatureSlashing) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *EventSignatureSlashing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_EventSignatureSlashing.Marshal(b, m, deterministic) @@ -1280,15 +1202,12 @@ func (m *EventSignatureSlashing) XXX_Marshal(b []byte, deterministic bool) ([]by return b[:n], nil } } - func (m *EventSignatureSlashing) XXX_Merge(src proto.Message) { xxx_messageInfo_EventSignatureSlashing.Merge(m, src) } - func (m *EventSignatureSlashing) XXX_Size() int { return m.Size() } - func (m *EventSignatureSlashing) XXX_DiscardUnknown() { xxx_messageInfo_EventSignatureSlashing.DiscardUnknown(m) } @@ -1320,11 +1239,9 @@ func (*EventOutgoingTxId) ProtoMessage() {} func (*EventOutgoingTxId) Descriptor() ([]byte, []int) { return fileDescriptor_857e0e6098045c7c, []int{20} } - func (m *EventOutgoingTxId) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *EventOutgoingTxId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_EventOutgoingTxId.Marshal(b, m, deterministic) @@ -1337,15 +1254,12 @@ func (m *EventOutgoingTxId) XXX_Marshal(b []byte, deterministic bool) ([]byte, e return b[:n], nil } } - func (m *EventOutgoingTxId) XXX_Merge(src proto.Message) { xxx_messageInfo_EventOutgoingTxId.Merge(m, src) } - func (m *EventOutgoingTxId) XXX_Size() int { return m.Size() } - func (m *EventOutgoingTxId) XXX_DiscardUnknown() { xxx_messageInfo_EventOutgoingTxId.DiscardUnknown(m) } @@ -1383,11 +1297,9 @@ func (*MsgUpdateParams) ProtoMessage() {} func (*MsgUpdateParams) Descriptor() ([]byte, []int) { return fileDescriptor_857e0e6098045c7c, []int{21} } - func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgUpdateParams.Marshal(b, m, deterministic) @@ -1400,15 +1312,12 @@ func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, err return b[:n], nil } } - func (m *MsgUpdateParams) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgUpdateParams.Merge(m, src) } - func (m *MsgUpdateParams) XXX_Size() int { return m.Size() } - func (m *MsgUpdateParams) XXX_DiscardUnknown() { xxx_messageInfo_MsgUpdateParams.DiscardUnknown(m) } @@ -1438,7 +1347,8 @@ func (m *MsgUpdateParams) GetMetadata() types1.MsgMetadata { // MsgUpdateParamsResponse defines the response structure for executing a // MsgUpdateParams message. -type MsgUpdateParamsResponse struct{} +type MsgUpdateParamsResponse struct { +} func (m *MsgUpdateParamsResponse) Reset() { *m = MsgUpdateParamsResponse{} } func (m *MsgUpdateParamsResponse) String() string { return proto.CompactTextString(m) } @@ -1446,11 +1356,9 @@ func (*MsgUpdateParamsResponse) ProtoMessage() {} func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) { return fileDescriptor_857e0e6098045c7c, []int{22} } - func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgUpdateParamsResponse.Marshal(b, m, deterministic) @@ -1463,15 +1371,12 @@ func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]b return b[:n], nil } } - func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgUpdateParamsResponse.Merge(m, src) } - func (m *MsgUpdateParamsResponse) XXX_Size() int { return m.Size() } - func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown() { xxx_messageInfo_MsgUpdateParamsResponse.DiscardUnknown(m) } @@ -1490,6 +1395,7 @@ type MsgLightNodeSaleClaim struct { ClientAddress string `protobuf:"bytes,7,opt,name=client_address,json=clientAddress,proto3" json:"client_address,omitempty"` Amount cosmossdk_io_math.Int `protobuf:"bytes,8,opt,name=amount,proto3,customtype=cosmossdk.io/math.Int" json:"amount"` SmartContractAddress string `protobuf:"bytes,9,opt,name=smart_contract_address,json=smartContractAddress,proto3" json:"smart_contract_address,omitempty"` + CompassId string `protobuf:"bytes,10,opt,name=compass_id,json=compassId,proto3" json:"compass_id,omitempty"` } func (m *MsgLightNodeSaleClaim) Reset() { *m = MsgLightNodeSaleClaim{} } @@ -1498,11 +1404,9 @@ func (*MsgLightNodeSaleClaim) ProtoMessage() {} func (*MsgLightNodeSaleClaim) Descriptor() ([]byte, []int) { return fileDescriptor_857e0e6098045c7c, []int{23} } - func (m *MsgLightNodeSaleClaim) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *MsgLightNodeSaleClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgLightNodeSaleClaim.Marshal(b, m, deterministic) @@ -1515,15 +1419,12 @@ func (m *MsgLightNodeSaleClaim) XXX_Marshal(b []byte, deterministic bool) ([]byt return b[:n], nil } } - func (m *MsgLightNodeSaleClaim) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgLightNodeSaleClaim.Merge(m, src) } - func (m *MsgLightNodeSaleClaim) XXX_Size() int { return m.Size() } - func (m *MsgLightNodeSaleClaim) XXX_DiscardUnknown() { xxx_messageInfo_MsgLightNodeSaleClaim.DiscardUnknown(m) } @@ -1586,6 +1487,13 @@ func (m *MsgLightNodeSaleClaim) GetSmartContractAddress() string { return "" } +func (m *MsgLightNodeSaleClaim) GetCompassId() string { + if m != nil { + return m.CompassId + } + return "" +} + // MsgEstimateBatchGas is a message to estimate the gas for a batch // Pigeons will send this message to transmit their gas estimation // for a given batch. @@ -1603,11 +1511,9 @@ func (*MsgEstimateBatchGas) ProtoMessage() {} func (*MsgEstimateBatchGas) Descriptor() ([]byte, []int) { return fileDescriptor_857e0e6098045c7c, []int{24} } - func (m *MsgEstimateBatchGas) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *MsgEstimateBatchGas) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgEstimateBatchGas.Marshal(b, m, deterministic) @@ -1620,15 +1526,12 @@ func (m *MsgEstimateBatchGas) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } - func (m *MsgEstimateBatchGas) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgEstimateBatchGas.Merge(m, src) } - func (m *MsgEstimateBatchGas) XXX_Size() int { return m.Size() } - func (m *MsgEstimateBatchGas) XXX_DiscardUnknown() { xxx_messageInfo_MsgEstimateBatchGas.DiscardUnknown(m) } @@ -1703,116 +1606,115 @@ func init() { } var fileDescriptor_857e0e6098045c7c = []byte{ - // 1624 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xcd, 0x6f, 0xdb, 0x46, - 0x16, 0x37, 0x25, 0xd9, 0x96, 0x9e, 0x3f, 0xc3, 0x38, 0x8e, 0xa4, 0xc4, 0x72, 0xa2, 0xdd, 0x24, - 0x46, 0x90, 0x50, 0x1b, 0x27, 0xbb, 0xd9, 0x5d, 0x2c, 0x90, 0x44, 0x5e, 0x67, 0xe3, 0x6d, 0xe5, - 0x04, 0x54, 0x7a, 0x29, 0x02, 0xa8, 0x23, 0x72, 0x42, 0xb2, 0x16, 0x49, 0x95, 0x33, 0x72, 0xad, - 0x53, 0x81, 0x9c, 0x7a, 0x2a, 0x7a, 0x2e, 0x7a, 0x2a, 0xda, 0x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8, 0xea, 0x0a, 0x4c, 0x7b, 0xbe, 0x67, 0xe0, 0xbc, 0x72, 0x4e, 0xd9, 0xc8, - 0xe8, 0x62, 0xa1, 0x5e, 0x80, 0x45, 0xea, 0xef, 0x61, 0xaf, 0x61, 0xf8, 0x1e, 0x0d, 0x90, 0x11, - 0x62, 0xb6, 0xc0, 0xa9, 0x5b, 0x92, 0xa8, 0xae, 0x01, 0x30, 0x50, 0x89, 0x63, 0x79, 0x38, 0xe0, - 0xe8, 0xe5, 0xf4, 0x1c, 0xa6, 0x76, 0x9d, 0x13, 0xd4, 0x32, 0xcc, 0xfb, 0x81, 0x61, 0x63, 0x42, - 0x03, 0x44, 0xfd, 0x40, 0x22, 0xd3, 0x47, 0x53, 0xcf, 0x42, 0x8e, 0x89, 0x23, 0xda, 0x09, 0x30, - 0x87, 0x25, 0xa7, 0xf7, 0x08, 0x7d, 0x98, 0xcd, 0x1c, 0x23, 0x66, 0x12, 0xa5, 0x38, 0x12, 0x11, - 0x4a, 0x3f, 0xa6, 0x61, 0x25, 0x42, 0xf0, 0x01, 0x3f, 0x60, 0xab, 0x85, 0x1c, 0x57, 0x5d, 0x87, - 0x39, 0xbc, 0x8f, 0x3d, 0xda, 0x88, 0x03, 0x06, 0x9c, 0xb4, 0xcb, 0x51, 0xdb, 0x80, 0x65, 0x06, - 0x47, 0xb3, 0xe5, 0x1b, 0x7b, 0x0d, 0x1b, 0x3b, 0x96, 0x2d, 0x70, 0xcb, 0xe8, 0x8b, 0x98, 0xda, - 0x55, 0x46, 0xbe, 0xc7, 0xa9, 0x09, 0xf8, 0xa6, 0x93, 0xf0, 0xfd, 0x7b, 0x14, 0x99, 0x1c, 0xba, - 0xea, 0x1a, 0xbb, 0xd4, 0x0f, 0x2f, 0xd6, 0x4f, 0x89, 0x00, 0x25, 0xe6, 0x9e, 0xe6, 0xf8, 0x15, - 0x17, 0x51, 0x5b, 0xdb, 0xf1, 0x68, 0x14, 0x97, 0x97, 0x60, 0x09, 0x53, 0x1b, 0x07, 0xb8, 0xe3, - 0x36, 0x44, 0x54, 0x48, 0x64, 0x17, 0x43, 0x72, 0x9d, 0x53, 0x19, 0xa3, 0x40, 0xb0, 0x11, 0x60, - 0x03, 0x3b, 0xfb, 0x38, 0xe0, 0x28, 0xe7, 0xf4, 0x45, 0x41, 0xd6, 0x25, 0x75, 0xc8, 0x93, 0xb3, - 0x09, 0x9e, 0x4c, 0xce, 0x86, 0xec, 0x21, 0xb2, 0x21, 0xf7, 0x26, 0x9e, 0x55, 0xcf, 0xc3, 0xbc, - 0xa8, 0x15, 0xd2, 0x2f, 0xc0, 0x11, 0x9f, 0x13, 0x34, 0xee, 0x98, 0x41, 0xe7, 0x97, 0xe0, 0x6c, - 0x92, 0x83, 0xa3, 0x08, 0xf8, 0x3d, 0x05, 0x85, 0x1a, 0xb1, 0x78, 0x58, 0xc4, 0x13, 0xe9, 0xd8, - 0xc3, 0x60, 0x1d, 0xe6, 0x9a, 0xec, 0x10, 0xa9, 0x2a, 0x2d, 0x54, 0x71, 0xd2, 0xee, 0x88, 0x3c, - 0xcc, 0x24, 0xc5, 0x49, 0x32, 0xf4, 0xd3, 0x23, 0xa0, 0x1f, 0x74, 0xe6, 0x4c, 0x82, 0x33, 0xe3, - 0xee, 0x99, 0x3d, 0x56, 0xf7, 0x64, 0x27, 0xba, 0xe7, 0x2f, 0x70, 0x7e, 0x24, 0xfa, 0x91, 0x8f, - 0xbe, 0x52, 0xe0, 0x14, 0xcb, 0x60, 0xe4, 0x19, 0xb8, 0xd5, 0x57, 0xe9, 0x19, 0x66, 0x01, 0xf2, - 0x08, 0x32, 0x58, 0x0b, 0x63, 0x40, 0x08, 0x17, 0x2d, 0xc4, 0xa8, 0x03, 0x01, 0x98, 0x3e, 0xde, - 0x72, 0x9c, 0x5a, 0x4e, 0x47, 0xe5, 0x78, 0x1d, 0xd6, 0x12, 0xcd, 0x8c, 0x2e, 0xf2, 0x45, 0x8a, - 0x73, 0xd4, 0x3b, 0x4d, 0xd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0x0b, 0x80, 0x0b, 0x09, 0x9e, 0xd1, - 0x86, 0xac, 0x01, 0x18, 0x8c, 0xa5, 0x61, 0x23, 0x62, 0x87, 0x41, 0xc4, 0x29, 0xf7, 0x10, 0xb1, - 0x59, 0xd6, 0x21, 0x4a, 0x31, 0x11, 0x83, 0x23, 0x0b, 0x12, 0xd9, 0xd1, 0x62, 0xd4, 0x1d, 0xb3, - 0xfc, 0xb9, 0x02, 0x05, 0x69, 0x63, 0x42, 0xa4, 0x4f, 0x80, 0xc1, 0x6c, 0x84, 0xd3, 0x46, 0x3c, - 0x92, 0x97, 0x9a, 0xc8, 0xdc, 0x16, 0x33, 0x87, 0x88, 0xe7, 0x7f, 0x41, 0x61, 0x88, 0xb7, 0x11, - 0x66, 0x90, 0xb0, 0x6a, 0x75, 0x40, 0xa6, 0x2e, 0x76, 0xcb, 0x5f, 0x2a, 0x50, 0xe4, 0xe6, 0xd5, - 0x3a, 0x2d, 0xea, 0x10, 0xc7, 0x7a, 0xa7, 0x6d, 0x22, 0x96, 0xac, 0x1f, 0x74, 0xd8, 0xa4, 0x78, - 0x09, 0x96, 0x9a, 0x81, 0x63, 0x5a, 0xb8, 0x57, 0x8f, 0x85, 0x9d, 0x8b, 0x82, 0x1c, 0x15, 0xe4, - 0x8b, 0x3d, 0x46, 0x9e, 0x3d, 0x8e, 0x19, 0x0e, 0x50, 0x92, 0x91, 0x51, 0x77, 0x4c, 0x16, 0x30, - 0xae, 0x3c, 0xa9, 0x07, 0x19, 0x84, 0xa4, 0x1d, 0xb3, 0xe7, 0xb3, 0x4c, 0xdc, 0x67, 0x77, 0x61, - 0x55, 0x44, 0x79, 0x64, 0x7f, 0x0b, 0x11, 0xdb, 0xf1, 0x2c, 0x55, 0x85, 0x0c, 0x9b, 0x98, 0xa5, - 0x59, 0xfc, 0x7b, 0x4c, 0x78, 0x57, 0x65, 0x78, 0xdf, 0xef, 0x50, 0xcb, 0x77, 0x3c, 0xeb, 0xe1, - 0xc1, 0xce, 0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e7, 0x17, 0x05, 0x4e, 0xd6, 0x88, 0xb5, 0x4d, 0xa8, - 0xe3, 0x22, 0x8a, 0x79, 0x79, 0xfd, 0x1f, 0x22, 0xc7, 0xe8, 0xde, 0x28, 0xcd, 0x53, 0xe3, 0x5f, - 0x61, 0xe9, 0xc9, 0xaf, 0xb0, 0xcc, 0xe0, 0x2b, 0xac, 0x08, 0x59, 0x2c, 0x2d, 0xe7, 0x1e, 0xcc, - 0xe8, 0xd1, 0x7a, 0xe0, 0xa2, 0x9b, 0xdf, 0x66, 0x21, 0x5d, 0x23, 0x96, 0xda, 0x86, 0xf9, 0xbe, - 0x91, 0xea, 0xf2, 0x98, 0x3c, 0x1c, 0x78, 0x6c, 0x16, 0x37, 0x0f, 0xcf, 0x1b, 0x65, 0xd0, 0x14, - 0x3b, 0xb1, 0xef, 0x59, 0x3a, 0xe1, 0xc4, 0x38, 0xef, 0xa4, 0x13, 0x13, 0x1f, 0x79, 0x53, 0xea, - 0x23, 0x58, 0x1e, 0x72, 0xa8, 0x36, 0x5e, 0xd3, 0x20, 0x7f, 0x71, 0x75, 0x68, 0x10, 0xdb, 0x76, - 0xdb, 0xb4, 0x5b, 0x9e, 0x52, 0x3f, 0x82, 0x13, 0xc3, 0x0f, 0xc8, 0xca, 0x61, 0xa0, 0x89, 0x09, - 0x14, 0x6f, 0x1e, 0x51, 0x20, 0x76, 0xbd, 0x4f, 0x14, 0x58, 0x1d, 0x31, 0x07, 0xdc, 0x18, 0xaf, - 0x35, 0x59, 0xaa, 0xf8, 0x9f, 0xd7, 0x91, 0x8a, 0x19, 0xf4, 0x44, 0x01, 0x35, 0x61, 0x5a, 0xff, - 0xdb, 0x04, 0xe7, 0x0d, 0x49, 0x14, 0xff, 0x79, 0x54, 0x89, 0x98, 0x11, 0x9f, 0x29, 0x50, 0x1c, - 0x33, 0x69, 0x4f, 0x50, 0x3d, 0x5a, 0xb2, 0x78, 0xfb, 0x75, 0x25, 0x63, 0xc6, 0x79, 0x30, 0xdf, - 0xd7, 0x45, 0x27, 0xe4, 0x40, 0x9c, 0x77, 0x52, 0x0e, 0x24, 0xf5, 0x2d, 0xf5, 0x3d, 0x50, 0x13, - 0x7a, 0xd6, 0x04, 0x87, 0x0c, 0x4b, 0x8c, 0xce, 0x82, 0xea, 0xdd, 0x67, 0x2f, 0x4b, 0xca, 0xf3, - 0x97, 0x25, 0xe5, 0xa7, 0x97, 0x25, 0xe5, 0xd3, 0x57, 0xa5, 0xa9, 0xe7, 0xaf, 0x4a, 0x53, 0xdf, - 0xbf, 0x2a, 0x4d, 0xbd, 0x7b, 0xc5, 0x72, 0xa8, 0xdd, 0x69, 0x6a, 0x86, 0xef, 0x56, 0x12, 0xfe, - 0xd5, 0x3b, 0xe8, 0xfb, 0xfb, 0xaf, 0x39, 0xc3, 0x35, 0x5f, 0xff, 0x23, 0x00, 0x00, 0xff, 0xff, - 0x61, 0x54, 0xa3, 0xf8, 0x51, 0x15, 0x00, 0x00, + // 1646 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xcd, 0x6f, 0x1b, 0x5b, + 0x15, 0xcf, 0xd8, 0x4e, 0x62, 0x9f, 0x7c, 0x76, 0x5e, 0x5e, 0x6a, 0xfb, 0x35, 0x4e, 0x6b, 0x68, + 0x1b, 0x55, 0xef, 0x8d, 0x69, 0x5a, 0x28, 0x20, 0xa4, 0xb6, 0x0e, 0x29, 0x35, 0xe0, 0xb4, 0x1a, + 0x97, 0x0d, 0xaa, 0x64, 0xae, 0x67, 0x6e, 0x67, 0x86, 0x78, 0xe6, 0x9a, 0xb9, 0xd7, 0x21, 0x5e, + 0x21, 0x75, 0xc5, 0x0a, 0xb1, 0x06, 0x56, 0x08, 0xf6, 0x2c, 0xfa, 0x47, 0x54, 0x48, 0x48, 0x15, + 0x2b, 0xc4, 0xa2, 0x42, 0x2d, 0x82, 0xff, 0x01, 0x09, 0x84, 0xee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0x3a, 0x23, 0xc7, 0x38, 0x68, 0x5b, 0x24, 0x60, 0x21, 0xb2, 0x22, 0xcc, + 0xd6, 0x84, 0xf4, 0x40, 0x09, 0xf5, 0x1d, 0x00, 0x0e, 0x2a, 0xf5, 0x9c, 0x00, 0x87, 0x02, 0xbd, + 0x82, 0x59, 0xc0, 0xcc, 0x6d, 0x09, 0x81, 0x5e, 0x85, 0x55, 0x12, 0x5a, 0x2e, 0xa6, 0x2c, 0x44, + 0x8c, 0x84, 0x0a, 0x99, 0x11, 0x99, 0x7e, 0x05, 0x0a, 0xdc, 0x1c, 0xb1, 0x7e, 0x88, 0x05, 0x2c, + 0x05, 0x73, 0x28, 0x18, 0xc1, 0x6c, 0xe9, 0x02, 0x31, 0x53, 0x28, 0x25, 0x91, 0x88, 0x51, 0xfa, + 0x5f, 0x16, 0xb6, 0x62, 0x04, 0x9f, 0x8a, 0x0d, 0x0e, 0xba, 0xc8, 0xf3, 0xf5, 0x5d, 0x58, 0xc1, + 0x27, 0x38, 0x60, 0xed, 0x24, 0x60, 0x20, 0x44, 0x47, 0x02, 0xb5, 0x3d, 0xd8, 0xe4, 0x70, 0x74, + 0xba, 0xc4, 0x3a, 0x6e, 0xbb, 0xd8, 0x73, 0x5c, 0x89, 0x5b, 0xce, 0x5c, 0xc7, 0xcc, 0xad, 0x73, + 0xf1, 0x63, 0x21, 0x4d, 0xc1, 0x37, 0x9b, 0x86, 0xef, 0xd7, 0xe3, 0xca, 0x14, 0xd0, 0xd5, 0x77, + 0xf8, 0xa1, 0xfe, 0xfe, 0x76, 0xf7, 0x53, 0x59, 0xa0, 0xd4, 0x3e, 0x36, 0x3c, 0x52, 0xf3, 0x11, + 0x73, 0x8d, 0x46, 0xc0, 0xe2, 0xba, 0xbc, 0x09, 0x1b, 0x98, 0xb9, 0x38, 0xc4, 0x7d, 0xbf, 0x2d, + 0xab, 0x42, 0x21, 0xbb, 0x1e, 0x89, 0x5b, 0x42, 0xca, 0x15, 0x25, 0x82, 0x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d, 0xdd, 0xb2, 0xfc, 0xe0, 0x43, 0x2d, 0x13, + 0xc1, 0x05, 0xb0, 0x3a, 0x72, 0xc9, 0xce, 0xe9, 0x81, 0xa4, 0xee, 0xbc, 0x1e, 0x48, 0xbb, 0xd6, + 0xf4, 0x9f, 0x80, 0x9e, 0x72, 0xa5, 0xcd, 0x49, 0xc8, 0xa4, 0xc5, 0xf4, 0x2e, 0xa8, 0x3f, 0x7a, + 0xfd, 0xae, 0xa2, 0xbd, 0x79, 0x57, 0xd1, 0xfe, 0xf1, 0xae, 0xa2, 0xfd, 0xfa, 0x7d, 0x65, 0xe1, + 0xcd, 0xfb, 0xca, 0xc2, 0xdf, 0xde, 0x57, 0x16, 0x7e, 0xfc, 0xb9, 0xe3, 0x31, 0xb7, 0xdf, 0x31, + 0x2c, 0xe2, 0xd7, 0x52, 0xfe, 0x65, 0x78, 0x3a, 0xf2, 0xbf, 0xc5, 0xce, 0x92, 0xf0, 0x7c, 0xe7, + 0xff, 0x01, 0x00, 0x00, 0xff, 0xff, 0x58, 0x38, 0xde, 0x60, 0xae, 0x15, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. -var ( - _ context.Context - _ grpc.ClientConn -) +var _ context.Context +var _ grpc.ClientConn // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. @@ -1936,40 +1838,33 @@ type MsgServer interface { } // UnimplementedMsgServer can be embedded to have forward compatible implementations. -type UnimplementedMsgServer struct{} +type UnimplementedMsgServer struct { +} func (*UnimplementedMsgServer) SendToRemote(ctx context.Context, req *MsgSendToRemote) (*MsgSendToRemoteResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SendToRemote not implemented") } - func (*UnimplementedMsgServer) ConfirmBatch(ctx context.Context, req *MsgConfirmBatch) (*MsgConfirmBatchResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ConfirmBatch not implemented") } - func (*UnimplementedMsgServer) EstimateBatchGas(ctx context.Context, req *MsgEstimateBatchGas) (*emptypb.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method EstimateBatchGas not implemented") } - func (*UnimplementedMsgServer) SendToPalomaClaim(ctx context.Context, req *MsgSendToPalomaClaim) (*MsgSendToPalomaClaimResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SendToPalomaClaim not implemented") } - func (*UnimplementedMsgServer) BatchSendToRemoteClaim(ctx context.Context, req *MsgBatchSendToRemoteClaim) (*MsgBatchSendToRemoteClaimResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method BatchSendToRemoteClaim not implemented") } - func (*UnimplementedMsgServer) CancelSendToRemote(ctx context.Context, req *MsgCancelSendToRemote) (*MsgCancelSendToRemoteResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CancelSendToRemote not implemented") } - func (*UnimplementedMsgServer) SubmitBadSignatureEvidence(ctx context.Context, req *MsgSubmitBadSignatureEvidence) (*MsgSubmitBadSignatureEvidenceResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SubmitBadSignatureEvidence not implemented") } - func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateParams not implemented") } - func (*UnimplementedMsgServer) LightNodeSaleClaim(ctx context.Context, req *MsgLightNodeSaleClaim) (*emptypb.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method LightNodeSaleClaim not implemented") } @@ -2374,6 +2269,13 @@ func (m *MsgSendToPalomaClaim) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if len(m.CompassId) > 0 { + i -= len(m.CompassId) + copy(dAtA[i:], m.CompassId) + i = encodeVarintMsgs(dAtA, i, uint64(len(m.CompassId))) + i-- + dAtA[i] = 0x5a + } if m.SkywayNonce != 0 { i = encodeVarintMsgs(dAtA, i, uint64(m.SkywayNonce)) i-- @@ -2490,6 +2392,13 @@ func (m *MsgBatchSendToRemoteClaim) MarshalToSizedBuffer(dAtA []byte) (int, erro _ = i var l int _ = l + if len(m.CompassId) > 0 { + i -= len(m.CompassId) + copy(dAtA[i:], m.CompassId) + i = encodeVarintMsgs(dAtA, i, uint64(len(m.CompassId))) + i-- + dAtA[i] = 0x4a + } if m.SkywayNonce != 0 { i = encodeVarintMsgs(dAtA, i, uint64(m.SkywayNonce)) i-- @@ -3164,6 +3073,13 @@ func (m *MsgLightNodeSaleClaim) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if len(m.CompassId) > 0 { + i -= len(m.CompassId) + copy(dAtA[i:], m.CompassId) + i = encodeVarintMsgs(dAtA, i, uint64(len(m.CompassId))) + i-- + dAtA[i] = 0x52 + } if len(m.SmartContractAddress) > 0 { i -= len(m.SmartContractAddress) copy(dAtA[i:], m.SmartContractAddress) @@ -3298,7 +3214,6 @@ func encodeVarintMsgs(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } - func (m *MsgSendToRemote) Size() (n int) { if m == nil { return 0 @@ -3407,6 +3322,10 @@ func (m *MsgSendToPalomaClaim) Size() (n int) { if m.SkywayNonce != 0 { n += 1 + sovMsgs(uint64(m.SkywayNonce)) } + l = len(m.CompassId) + if l > 0 { + n += 1 + l + sovMsgs(uint64(l)) + } return n } @@ -3451,6 +3370,10 @@ func (m *MsgBatchSendToRemoteClaim) Size() (n int) { if m.SkywayNonce != 0 { n += 1 + sovMsgs(uint64(m.SkywayNonce)) } + l = len(m.CompassId) + if l > 0 { + n += 1 + l + sovMsgs(uint64(l)) + } return n } @@ -3748,6 +3671,10 @@ func (m *MsgLightNodeSaleClaim) Size() (n int) { if l > 0 { n += 1 + l + sovMsgs(uint64(l)) } + l = len(m.CompassId) + if l > 0 { + n += 1 + l + sovMsgs(uint64(l)) + } return n } @@ -3779,11 +3706,9 @@ func (m *MsgEstimateBatchGas) Size() (n int) { func sovMsgs(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } - func sozMsgs(x uint64) (n int) { return sovMsgs(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } - func (m *MsgSendToRemote) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -3964,7 +3889,6 @@ func (m *MsgSendToRemote) Unmarshal(dAtA []byte) error { } return nil } - func (m *MsgSendToRemoteResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -4015,7 +3939,6 @@ func (m *MsgSendToRemoteResponse) Unmarshal(dAtA []byte) error { } return nil } - func (m *MsgConfirmBatch) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -4246,7 +4169,6 @@ func (m *MsgConfirmBatch) Unmarshal(dAtA []byte) error { } return nil } - func (m *MsgConfirmBatchResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -4297,7 +4219,6 @@ func (m *MsgConfirmBatchResponse) Unmarshal(dAtA []byte) error { } return nil } - func (m *MsgSendToPalomaClaim) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -4611,6 +4532,38 @@ func (m *MsgSendToPalomaClaim) Unmarshal(dAtA []byte) error { break } } + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CompassId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMsgs + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthMsgs + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthMsgs + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.CompassId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipMsgs(dAtA[iNdEx:]) @@ -4632,7 +4585,6 @@ func (m *MsgSendToPalomaClaim) Unmarshal(dAtA []byte) error { } return nil } - func (m *MsgSendToPalomaClaimResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -4683,7 +4635,6 @@ func (m *MsgSendToPalomaClaimResponse) Unmarshal(dAtA []byte) error { } return nil } - func (m *MsgBatchSendToRemoteClaim) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -4918,6 +4869,38 @@ func (m *MsgBatchSendToRemoteClaim) Unmarshal(dAtA []byte) error { break } } + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CompassId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMsgs + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthMsgs + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthMsgs + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.CompassId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipMsgs(dAtA[iNdEx:]) @@ -4939,7 +4922,6 @@ func (m *MsgBatchSendToRemoteClaim) Unmarshal(dAtA []byte) error { } return nil } - func (m *MsgBatchSendToRemoteClaimResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -4990,7 +4972,6 @@ func (m *MsgBatchSendToRemoteClaimResponse) Unmarshal(dAtA []byte) error { } return nil } - func (m *MsgCancelSendToRemote) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -5093,7 +5074,6 @@ func (m *MsgCancelSendToRemote) Unmarshal(dAtA []byte) error { } return nil } - func (m *MsgCancelSendToRemoteResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -5144,7 +5124,6 @@ func (m *MsgCancelSendToRemoteResponse) Unmarshal(dAtA []byte) error { } return nil } - func (m *MsgSubmitBadSignatureEvidence) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -5360,7 +5339,6 @@ func (m *MsgSubmitBadSignatureEvidence) Unmarshal(dAtA []byte) error { } return nil } - func (m *MsgSubmitBadSignatureEvidenceResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -5411,7 +5389,6 @@ func (m *MsgSubmitBadSignatureEvidenceResponse) Unmarshal(dAtA []byte) error { } return nil } - func (m *EventSetOperatorAddress) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -5526,7 +5503,6 @@ func (m *EventSetOperatorAddress) Unmarshal(dAtA []byte) error { } return nil } - func (m *EventBatchCreated) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -5641,7 +5617,6 @@ func (m *EventBatchCreated) Unmarshal(dAtA []byte) error { } return nil } - func (m *EventBatchConfirmKey) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -5756,7 +5731,6 @@ func (m *EventBatchConfirmKey) Unmarshal(dAtA []byte) error { } return nil } - func (m *EventBatchSendToRemoteClaim) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -5839,7 +5813,6 @@ func (m *EventBatchSendToRemoteClaim) Unmarshal(dAtA []byte) error { } return nil } - func (m *EventClaim) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -5986,7 +5959,6 @@ func (m *EventClaim) Unmarshal(dAtA []byte) error { } return nil } - func (m *EventBadSignatureEvidence) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -6133,7 +6105,6 @@ func (m *EventBadSignatureEvidence) Unmarshal(dAtA []byte) error { } return nil } - func (m *EventMultisigUpdateRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -6312,7 +6283,6 @@ func (m *EventMultisigUpdateRequest) Unmarshal(dAtA []byte) error { } return nil } - func (m *EventSignatureSlashing) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -6427,7 +6397,6 @@ func (m *EventSignatureSlashing) Unmarshal(dAtA []byte) error { } return nil } - func (m *EventOutgoingTxId) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -6542,7 +6511,6 @@ func (m *EventOutgoingTxId) Unmarshal(dAtA []byte) error { } return nil } - func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -6691,7 +6659,6 @@ func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error { } return nil } - func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -6742,7 +6709,6 @@ func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error { } return nil } - func (m *MsgLightNodeSaleClaim) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -7024,6 +6990,38 @@ func (m *MsgLightNodeSaleClaim) Unmarshal(dAtA []byte) error { } m.SmartContractAddress = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CompassId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMsgs + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthMsgs + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthMsgs + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.CompassId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipMsgs(dAtA[iNdEx:]) @@ -7045,7 +7043,6 @@ func (m *MsgLightNodeSaleClaim) Unmarshal(dAtA []byte) error { } return nil } - func (m *MsgEstimateBatchGas) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -7231,7 +7228,6 @@ func (m *MsgEstimateBatchGas) Unmarshal(dAtA []byte) error { } return nil } - func skipMsgs(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0