diff --git a/chain/peggy/types/genesis.go b/chain/peggy/types/genesis.go index 2b477815..d2b18370 100644 --- a/chain/peggy/types/genesis.go +++ b/chain/peggy/types/genesis.go @@ -101,7 +101,6 @@ func (s GenesisState) ValidateBasic() error { } // DefaultGenesisState returns empty genesis state -// TODO: set some better defaults here func DefaultGenesisState() *GenesisState { return &GenesisState{ Params: DefaultParams(), @@ -247,22 +246,12 @@ func validatePeggyID(i interface{}) error { } func validateContractHash(i interface{}) error { - // TODO: should we validate that the input here is a properly formatted - // SHA256 (or other) hash? if _, ok := i.(string); !ok { return fmt.Errorf("invalid parameter type: %T", i) } return nil } -func validateStartThreshold(i interface{}) error { - // TODO: do we want to validate a range of values here? - if _, ok := i.(uint64); !ok { - return fmt.Errorf("invalid parameter type: %T", i) - } - return nil -} - func validateBridgeChainID(i interface{}) error { if _, ok := i.(uint64); !ok { return fmt.Errorf("invalid parameter type: %T", i) @@ -313,7 +302,6 @@ func validateBridgeContractAddress(i interface{}) error { return fmt.Errorf("invalid parameter type: %T", i) } if err := ValidateEthAddress(v); err != nil { - // TODO: ensure that empty addresses are valid in params if !strings.Contains(err.Error(), "empty") { return err } @@ -322,7 +310,6 @@ func validateBridgeContractAddress(i interface{}) error { } func validateSignedValsetsWindow(i interface{}) error { - // TODO: do we want to set some bounds on this value? if _, ok := i.(uint64); !ok { return fmt.Errorf("invalid parameter type: %T", i) } @@ -330,7 +317,6 @@ func validateSignedValsetsWindow(i interface{}) error { } func validateUnbondSlashingValsetsWindow(i interface{}) error { - // TODO: do we want to set some bounds on this value? if _, ok := i.(uint64); !ok { return fmt.Errorf("invalid parameter type: %T", i) } @@ -338,7 +324,6 @@ func validateUnbondSlashingValsetsWindow(i interface{}) error { } func validateSlashFractionValset(i interface{}) error { - // TODO: do we want to set some bounds on this value? if _, ok := i.(sdk.Dec); !ok { return fmt.Errorf("invalid parameter type: %T", i) } @@ -346,7 +331,6 @@ func validateSlashFractionValset(i interface{}) error { } func validateSignedBatchesWindow(i interface{}) error { - // TODO: do we want to set some bounds on this value? if _, ok := i.(uint64); !ok { return fmt.Errorf("invalid parameter type: %T", i) } @@ -354,7 +338,6 @@ func validateSignedBatchesWindow(i interface{}) error { } func validateSignedClaimsWindow(i interface{}) error { - // TODO: do we want to set some bounds on this value? if _, ok := i.(uint64); !ok { return fmt.Errorf("invalid parameter type: %T", i) } @@ -362,7 +345,6 @@ func validateSignedClaimsWindow(i interface{}) error { } func validateSlashFractionBatch(i interface{}) error { - // TODO: do we want to set some bounds on this value? if _, ok := i.(sdk.Dec); !ok { return fmt.Errorf("invalid parameter type: %T", i) } @@ -370,7 +352,6 @@ func validateSlashFractionBatch(i interface{}) error { } func validateSlashFractionClaim(i interface{}) error { - // TODO: do we want to set some bounds on this value? if _, ok := i.(sdk.Dec); !ok { return fmt.Errorf("invalid parameter type: %T", i) } @@ -378,7 +359,6 @@ func validateSlashFractionClaim(i interface{}) error { } func validateSlashFractionConflictingClaim(i interface{}) error { - // TODO: do we want to set some bounds on this value? if _, ok := i.(sdk.Dec); !ok { return fmt.Errorf("invalid parameter type: %T", i) } @@ -429,7 +409,6 @@ func validateClaimSlashingEnabled(i interface{}) error { } func validateSlashFractionBadEthSignature(i interface{}) error { - // TODO: do we want to set some bounds on this value? if _, ok := i.(sdk.Dec); !ok { return fmt.Errorf("invalid parameter type: %T", i) } diff --git a/chain/peggy/types/genesis.pb.go b/chain/peggy/types/genesis.pb.go index 381bb485..ed428248 100644 --- a/chain/peggy/types/genesis.pb.go +++ b/chain/peggy/types/genesis.pb.go @@ -105,25 +105,25 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package type Params struct { PeggyId string `protobuf:"bytes,1,opt,name=peggy_id,json=peggyId,proto3" json:"peggy_id,omitempty"` ContractSourceHash string `protobuf:"bytes,2,opt,name=contract_source_hash,json=contractSourceHash,proto3" json:"contract_source_hash,omitempty"` - BridgeEthereumAddress string `protobuf:"bytes,4,opt,name=bridge_ethereum_address,json=bridgeEthereumAddress,proto3" json:"bridge_ethereum_address,omitempty"` - BridgeChainId uint64 `protobuf:"varint,5,opt,name=bridge_chain_id,json=bridgeChainId,proto3" json:"bridge_chain_id,omitempty"` - SignedValsetsWindow uint64 `protobuf:"varint,6,opt,name=signed_valsets_window,json=signedValsetsWindow,proto3" json:"signed_valsets_window,omitempty"` - SignedBatchesWindow uint64 `protobuf:"varint,7,opt,name=signed_batches_window,json=signedBatchesWindow,proto3" json:"signed_batches_window,omitempty"` - SignedClaimsWindow uint64 `protobuf:"varint,8,opt,name=signed_claims_window,json=signedClaimsWindow,proto3" json:"signed_claims_window,omitempty"` - TargetBatchTimeout uint64 `protobuf:"varint,10,opt,name=target_batch_timeout,json=targetBatchTimeout,proto3" json:"target_batch_timeout,omitempty"` - AverageBlockTime uint64 `protobuf:"varint,11,opt,name=average_block_time,json=averageBlockTime,proto3" json:"average_block_time,omitempty"` - AverageEthereumBlockTime uint64 `protobuf:"varint,12,opt,name=average_ethereum_block_time,json=averageEthereumBlockTime,proto3" json:"average_ethereum_block_time,omitempty"` - SlashFractionValset github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,13,opt,name=slash_fraction_valset,json=slashFractionValset,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"slash_fraction_valset"` - SlashFractionBatch github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,14,opt,name=slash_fraction_batch,json=slashFractionBatch,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"slash_fraction_batch"` - SlashFractionClaim github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,15,opt,name=slash_fraction_claim,json=slashFractionClaim,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"slash_fraction_claim"` - SlashFractionConflictingClaim github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,16,opt,name=slash_fraction_conflicting_claim,json=slashFractionConflictingClaim,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"slash_fraction_conflicting_claim"` - UnbondSlashingValsetsWindow uint64 `protobuf:"varint,17,opt,name=unbond_slashing_valsets_window,json=unbondSlashingValsetsWindow,proto3" json:"unbond_slashing_valsets_window,omitempty"` - SlashFractionBadEthSignature github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,18,opt,name=slash_fraction_bad_eth_signature,json=slashFractionBadEthSignature,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"slash_fraction_bad_eth_signature"` - CosmosCoinDenom string `protobuf:"bytes,19,opt,name=cosmos_coin_denom,json=cosmosCoinDenom,proto3" json:"cosmos_coin_denom,omitempty"` - CosmosCoinErc20Contract string `protobuf:"bytes,20,opt,name=cosmos_coin_erc20_contract,json=cosmosCoinErc20Contract,proto3" json:"cosmos_coin_erc20_contract,omitempty"` - ClaimSlashingEnabled bool `protobuf:"varint,21,opt,name=claim_slashing_enabled,json=claimSlashingEnabled,proto3" json:"claim_slashing_enabled,omitempty"` - BridgeContractStartHeight uint64 `protobuf:"varint,22,opt,name=bridge_contract_start_height,json=bridgeContractStartHeight,proto3" json:"bridge_contract_start_height,omitempty"` - ValsetReward types.Coin `protobuf:"bytes,23,opt,name=valset_reward,json=valsetReward,proto3" json:"valset_reward"` + BridgeEthereumAddress string `protobuf:"bytes,3,opt,name=bridge_ethereum_address,json=bridgeEthereumAddress,proto3" json:"bridge_ethereum_address,omitempty"` + BridgeChainId uint64 `protobuf:"varint,4,opt,name=bridge_chain_id,json=bridgeChainId,proto3" json:"bridge_chain_id,omitempty"` + SignedValsetsWindow uint64 `protobuf:"varint,5,opt,name=signed_valsets_window,json=signedValsetsWindow,proto3" json:"signed_valsets_window,omitempty"` + SignedBatchesWindow uint64 `protobuf:"varint,6,opt,name=signed_batches_window,json=signedBatchesWindow,proto3" json:"signed_batches_window,omitempty"` + SignedClaimsWindow uint64 `protobuf:"varint,7,opt,name=signed_claims_window,json=signedClaimsWindow,proto3" json:"signed_claims_window,omitempty"` + TargetBatchTimeout uint64 `protobuf:"varint,8,opt,name=target_batch_timeout,json=targetBatchTimeout,proto3" json:"target_batch_timeout,omitempty"` + AverageBlockTime uint64 `protobuf:"varint,9,opt,name=average_block_time,json=averageBlockTime,proto3" json:"average_block_time,omitempty"` + AverageEthereumBlockTime uint64 `protobuf:"varint,10,opt,name=average_ethereum_block_time,json=averageEthereumBlockTime,proto3" json:"average_ethereum_block_time,omitempty"` + SlashFractionValset github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,11,opt,name=slash_fraction_valset,json=slashFractionValset,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"slash_fraction_valset"` + SlashFractionBatch github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,12,opt,name=slash_fraction_batch,json=slashFractionBatch,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"slash_fraction_batch"` + SlashFractionClaim github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,13,opt,name=slash_fraction_claim,json=slashFractionClaim,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"slash_fraction_claim"` + SlashFractionConflictingClaim github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,14,opt,name=slash_fraction_conflicting_claim,json=slashFractionConflictingClaim,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"slash_fraction_conflicting_claim"` + UnbondSlashingValsetsWindow uint64 `protobuf:"varint,15,opt,name=unbond_slashing_valsets_window,json=unbondSlashingValsetsWindow,proto3" json:"unbond_slashing_valsets_window,omitempty"` + SlashFractionBadEthSignature github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,16,opt,name=slash_fraction_bad_eth_signature,json=slashFractionBadEthSignature,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"slash_fraction_bad_eth_signature"` + CosmosCoinDenom string `protobuf:"bytes,17,opt,name=cosmos_coin_denom,json=cosmosCoinDenom,proto3" json:"cosmos_coin_denom,omitempty"` + CosmosCoinErc20Contract string `protobuf:"bytes,18,opt,name=cosmos_coin_erc20_contract,json=cosmosCoinErc20Contract,proto3" json:"cosmos_coin_erc20_contract,omitempty"` + ClaimSlashingEnabled bool `protobuf:"varint,19,opt,name=claim_slashing_enabled,json=claimSlashingEnabled,proto3" json:"claim_slashing_enabled,omitempty"` + BridgeContractStartHeight uint64 `protobuf:"varint,20,opt,name=bridge_contract_start_height,json=bridgeContractStartHeight,proto3" json:"bridge_contract_start_height,omitempty"` + ValsetReward types.Coin `protobuf:"bytes,21,opt,name=valset_reward,json=valsetReward,proto3" json:"valset_reward"` } func (m *Params) Reset() { *m = Params{} } @@ -279,14 +279,14 @@ type GenesisState struct { ValsetConfirms []*MsgValsetConfirm `protobuf:"bytes,4,rep,name=valset_confirms,json=valsetConfirms,proto3" json:"valset_confirms,omitempty"` Batches []*OutgoingTxBatch `protobuf:"bytes,5,rep,name=batches,proto3" json:"batches,omitempty"` BatchConfirms []*MsgConfirmBatch `protobuf:"bytes,6,rep,name=batch_confirms,json=batchConfirms,proto3" json:"batch_confirms,omitempty"` - Attestations []*Attestation `protobuf:"bytes,9,rep,name=attestations,proto3" json:"attestations,omitempty"` - OrchestratorAddresses []*MsgSetOrchestratorAddresses `protobuf:"bytes,10,rep,name=orchestrator_addresses,json=orchestratorAddresses,proto3" json:"orchestrator_addresses,omitempty"` - Erc20ToDenoms []*ERC20ToDenom `protobuf:"bytes,11,rep,name=erc20_to_denoms,json=erc20ToDenoms,proto3" json:"erc20_to_denoms,omitempty"` - UnbatchedTransfers []*OutgoingTransferTx `protobuf:"bytes,12,rep,name=unbatched_transfers,json=unbatchedTransfers,proto3" json:"unbatched_transfers,omitempty"` - LastObservedEthereumHeight uint64 `protobuf:"varint,13,opt,name=last_observed_ethereum_height,json=lastObservedEthereumHeight,proto3" json:"last_observed_ethereum_height,omitempty"` - LastOutgoingBatchId uint64 `protobuf:"varint,14,opt,name=last_outgoing_batch_id,json=lastOutgoingBatchId,proto3" json:"last_outgoing_batch_id,omitempty"` - LastOutgoingPoolId uint64 `protobuf:"varint,15,opt,name=last_outgoing_pool_id,json=lastOutgoingPoolId,proto3" json:"last_outgoing_pool_id,omitempty"` - LastObserveredValset Valset `protobuf:"bytes,16,opt,name=last_observered_valset,json=lastObserveredValset,proto3" json:"last_observered_valset"` + Attestations []*Attestation `protobuf:"bytes,7,rep,name=attestations,proto3" json:"attestations,omitempty"` + OrchestratorAddresses []*MsgSetOrchestratorAddresses `protobuf:"bytes,8,rep,name=orchestrator_addresses,json=orchestratorAddresses,proto3" json:"orchestrator_addresses,omitempty"` + Erc20ToDenoms []*ERC20ToDenom `protobuf:"bytes,9,rep,name=erc20_to_denoms,json=erc20ToDenoms,proto3" json:"erc20_to_denoms,omitempty"` + UnbatchedTransfers []*OutgoingTransferTx `protobuf:"bytes,10,rep,name=unbatched_transfers,json=unbatchedTransfers,proto3" json:"unbatched_transfers,omitempty"` + LastObservedEthereumHeight uint64 `protobuf:"varint,11,opt,name=last_observed_ethereum_height,json=lastObservedEthereumHeight,proto3" json:"last_observed_ethereum_height,omitempty"` + LastOutgoingBatchId uint64 `protobuf:"varint,12,opt,name=last_outgoing_batch_id,json=lastOutgoingBatchId,proto3" json:"last_outgoing_batch_id,omitempty"` + LastOutgoingPoolId uint64 `protobuf:"varint,13,opt,name=last_outgoing_pool_id,json=lastOutgoingPoolId,proto3" json:"last_outgoing_pool_id,omitempty"` + LastObservedValset Valset `protobuf:"bytes,14,opt,name=last_observed_valset,json=lastObservedValset,proto3" json:"last_observed_valset"` } func (m *GenesisState) Reset() { *m = GenesisState{} } @@ -413,9 +413,9 @@ func (m *GenesisState) GetLastOutgoingPoolId() uint64 { return 0 } -func (m *GenesisState) GetLastObserveredValset() Valset { +func (m *GenesisState) GetLastObservedValset() Valset { if m != nil { - return m.LastObserveredValset + return m.LastObservedValset } return Valset{} } @@ -428,79 +428,79 @@ func init() { func init() { proto.RegisterFile("injective/peggy/v1/genesis.proto", fileDescriptor_3b8a70f18b346efa) } var fileDescriptor_3b8a70f18b346efa = []byte{ - // 1146 bytes of a gzipped FileDescriptorProto + // 1142 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x41, 0x4f, 0x1b, 0x47, - 0x14, 0xc6, 0x8d, 0x03, 0x64, 0xb0, 0x71, 0x18, 0x6c, 0x18, 0x9c, 0x60, 0xac, 0x34, 0x42, 0xa8, - 0x6a, 0xd6, 0xe0, 0x44, 0x3d, 0xb4, 0x8a, 0x2a, 0x30, 0xb4, 0xd0, 0x96, 0x12, 0x2d, 0x28, 0x91, - 0x7a, 0xd9, 0xce, 0xee, 0x0e, 0xeb, 0x6d, 0xec, 0x1d, 0x34, 0x33, 0x36, 0xc9, 0xad, 0x3f, 0xa1, - 0x3f, 0x2b, 0xc7, 0x5c, 0x2a, 0x55, 0x55, 0x15, 0x55, 0xf0, 0x27, 0x7a, 0xac, 0xe6, 0xcd, 0xec, - 0x7a, 0x4d, 0x0c, 0x07, 0x94, 0x13, 0xec, 0x7e, 0xef, 0xfb, 0xbe, 0xe7, 0x37, 0xef, 0xbd, 0x59, - 0xd4, 0x8c, 0x93, 0xdf, 0x58, 0xa0, 0xe2, 0x21, 0x6b, 0x9d, 0xb1, 0x28, 0x7a, 0xdb, 0x1a, 0x6e, - 0xb5, 0x22, 0x96, 0x30, 0x19, 0x4b, 0xe7, 0x4c, 0x70, 0xc5, 0x31, 0xce, 0x22, 0x1c, 0x88, 0x70, - 0x86, 0x5b, 0xf5, 0x6a, 0xc4, 0x23, 0x0e, 0x70, 0x4b, 0xff, 0x67, 0x22, 0xeb, 0x8d, 0x09, 0x5a, - 0xea, 0xed, 0x19, 0xb3, 0x4a, 0xf5, 0xd5, 0x09, 0x78, 0x5f, 0x46, 0xf2, 0x06, 0xba, 0x4f, 0x55, - 0xd0, 0xb5, 0xf8, 0xe3, 0x09, 0x38, 0x55, 0x8a, 0x49, 0x45, 0x55, 0xcc, 0x93, 0x54, 0x25, 0xe0, - 0xb2, 0xcf, 0x65, 0xcb, 0xa7, 0x92, 0xb5, 0x86, 0x5b, 0x3e, 0x53, 0x74, 0xab, 0x15, 0xf0, 0xd8, - 0xe2, 0x8f, 0xfe, 0x43, 0x68, 0xfa, 0x05, 0x15, 0xb4, 0x2f, 0xf1, 0x0a, 0x9a, 0x05, 0x21, 0x2f, - 0x0e, 0x49, 0xa1, 0x59, 0xd8, 0xb8, 0xe7, 0xce, 0xc0, 0xf3, 0x41, 0x88, 0x37, 0x51, 0x35, 0xe0, - 0x89, 0x12, 0x34, 0x50, 0x9e, 0xe4, 0x03, 0x11, 0x30, 0xaf, 0x4b, 0x65, 0x97, 0x7c, 0x06, 0x61, - 0x38, 0xc5, 0x8e, 0x01, 0xda, 0xa7, 0xb2, 0x8b, 0xbf, 0x42, 0xcb, 0xbe, 0x88, 0xc3, 0x88, 0x79, - 0x4c, 0x75, 0x99, 0x60, 0x83, 0xbe, 0x47, 0xc3, 0x50, 0x30, 0x29, 0x49, 0x11, 0x48, 0x35, 0x03, - 0xef, 0x59, 0x74, 0xdb, 0x80, 0x78, 0x1d, 0x55, 0x2c, 0x2f, 0xe8, 0xd2, 0x38, 0xd1, 0xb9, 0xdc, - 0x6d, 0x16, 0x36, 0x8a, 0x6e, 0xd9, 0xbc, 0xee, 0xe8, 0xb7, 0x07, 0x21, 0x6e, 0xa3, 0x9a, 0x8c, - 0xa3, 0x84, 0x85, 0xde, 0x90, 0xf6, 0x24, 0x53, 0xd2, 0x3b, 0x8f, 0x93, 0x90, 0x9f, 0x93, 0x69, - 0x88, 0x5e, 0x34, 0xe0, 0x4b, 0x83, 0xbd, 0x02, 0x28, 0xc7, 0x81, 0x3a, 0xb2, 0x8c, 0x33, 0x93, - 0xe7, 0xec, 0x18, 0xcc, 0x72, 0x36, 0x51, 0xd5, 0x72, 0x82, 0x1e, 0x8d, 0xfb, 0x19, 0x65, 0x16, - 0x28, 0xd8, 0x60, 0x1d, 0x80, 0x46, 0x0c, 0x45, 0x45, 0xc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f, 0x30, 0x51, 0xc7, 0x36, 0x68, 0xbc, 0xd5, 0x87, 0x1f, 0x65, 0xef, 0xd3, 0x50, 0xf7, 0x8b, - 0xa7, 0x3b, 0x96, 0xaa, 0x81, 0x60, 0x04, 0xdf, 0x2a, 0xfb, 0x87, 0x57, 0x4e, 0x23, 0xdc, 0x53, - 0xdd, 0xe3, 0x54, 0x13, 0x7f, 0x81, 0x16, 0x0c, 0xcb, 0xd3, 0x3b, 0xc6, 0x0b, 0x59, 0xc2, 0xfb, - 0x64, 0x11, 0x06, 0xbe, 0x62, 0x80, 0x0e, 0x8f, 0x93, 0x5d, 0xfd, 0x1a, 0x7f, 0x83, 0xea, 0xf9, - 0x58, 0x26, 0x82, 0xf6, 0xa6, 0x97, 0xae, 0x12, 0x52, 0x05, 0xd2, 0xf2, 0x88, 0xb4, 0xa7, 0xf1, - 0x8e, 0x85, 0xf1, 0x33, 0xb4, 0x04, 0x67, 0x30, 0x2a, 0x12, 0x4b, 0xa8, 0xdf, 0x63, 0x21, 0xa9, - 0x35, 0x0b, 0x1b, 0xb3, 0x6e, 0x15, 0xd0, 0xb4, 0x38, 0x7b, 0x06, 0xc3, 0xdf, 0xa2, 0x87, 0xe9, - 0x76, 0xc9, 0xd6, 0x99, 0xa2, 0x42, 0x79, 0x5d, 0x16, 0x47, 0x5d, 0x45, 0x96, 0xa0, 0xb2, 0x2b, - 0x76, 0xd5, 0xa4, 0x5b, 0x4d, 0x47, 0xec, 0x43, 0x00, 0xde, 0x45, 0x65, 0x73, 0x18, 0x9e, 0x60, - 0xe7, 0x54, 0x84, 0x64, 0xb9, 0x59, 0xd8, 0x98, 0x6b, 0xaf, 0x38, 0x26, 0x4f, 0x47, 0xaf, 0x59, - 0xc7, 0xae, 0x59, 0x47, 0x67, 0xbd, 0x53, 0xd4, 0xf5, 0x75, 0x4b, 0x86, 0xe5, 0x02, 0xe9, 0xeb, - 0xe2, 0xef, 0xff, 0x34, 0xa7, 0x1e, 0xfd, 0x39, 0x83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9, 0xf2, + 0x99, 0xb6, 0xb6, 0x77, 0x1a, 0x17, 0x7f, 0x83, 0x45, 0xd8, 0xdb, 0xcb, 0x66, 0xe9, 0xdd, 0x65, + 0xb3, 0xf4, 0xcf, 0x65, 0xb3, 0xf4, 0xfb, 0x55, 0x73, 0xea, 0xdd, 0x55, 0x73, 0xea, 0xcf, 0xab, + 0xe6, 0xd4, 0xcf, 0xdf, 0x17, 0xe6, 0xeb, 0x61, 0xae, 0xfc, 0x03, 0x0d, 0xa4, 0x3b, 0xf4, 0x79, + 0x12, 0x72, 0xc1, 0x8a, 0x8f, 0xfa, 0x5b, 0xc7, 0xed, 0xf1, 0xa8, 0xdf, 0x65, 0xd2, 0x7e, 0xe4, + 0xc1, 0x20, 0x0e, 0xa6, 0xe1, 0xe3, 0xed, 0xe9, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x1c, 0xa4, + 0x94, 0x28, 0xaf, 0x0a, 0x00, 0x00, } func (m *Params) Marshal() (dAtA []byte, err error) { @@ -534,13 +534,13 @@ func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x1 i-- - dAtA[i] = 0xba + dAtA[i] = 0xaa if m.BridgeContractStartHeight != 0 { i = encodeVarintGenesis(dAtA, i, uint64(m.BridgeContractStartHeight)) i-- dAtA[i] = 0x1 i-- - dAtA[i] = 0xb0 + dAtA[i] = 0xa0 } if m.ClaimSlashingEnabled { i-- @@ -552,7 +552,7 @@ func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x1 i-- - dAtA[i] = 0xa8 + dAtA[i] = 0x98 } if len(m.CosmosCoinErc20Contract) > 0 { i -= len(m.CosmosCoinErc20Contract) @@ -561,7 +561,7 @@ func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x1 i-- - dAtA[i] = 0xa2 + dAtA[i] = 0x92 } if len(m.CosmosCoinDenom) > 0 { i -= len(m.CosmosCoinDenom) @@ -570,7 +570,7 @@ func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x1 i-- - dAtA[i] = 0x9a + dAtA[i] = 0x8a } { size := m.SlashFractionBadEthSignature.Size() @@ -583,13 +583,11 @@ func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x1 i-- - dAtA[i] = 0x92 + dAtA[i] = 0x82 if m.UnbondSlashingValsetsWindow != 0 { i = encodeVarintGenesis(dAtA, i, uint64(m.UnbondSlashingValsetsWindow)) i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x88 + dAtA[i] = 0x78 } { size := m.SlashFractionConflictingClaim.Size() @@ -600,9 +598,7 @@ func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGenesis(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x82 + dAtA[i] = 0x72 { size := m.SlashFractionClaim.Size() i -= size @@ -612,7 +608,7 @@ func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGenesis(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x7a + dAtA[i] = 0x6a { size := m.SlashFractionBatch.Size() i -= size @@ -622,7 +618,7 @@ func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGenesis(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x72 + dAtA[i] = 0x62 { size := m.SlashFractionValset.Size() i -= size @@ -632,48 +628,48 @@ func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGenesis(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x6a + dAtA[i] = 0x5a if m.AverageEthereumBlockTime != 0 { i = encodeVarintGenesis(dAtA, i, uint64(m.AverageEthereumBlockTime)) i-- - dAtA[i] = 0x60 + dAtA[i] = 0x50 } if m.AverageBlockTime != 0 { i = encodeVarintGenesis(dAtA, i, uint64(m.AverageBlockTime)) i-- - dAtA[i] = 0x58 + dAtA[i] = 0x48 } if m.TargetBatchTimeout != 0 { i = encodeVarintGenesis(dAtA, i, uint64(m.TargetBatchTimeout)) i-- - dAtA[i] = 0x50 + dAtA[i] = 0x40 } if m.SignedClaimsWindow != 0 { i = encodeVarintGenesis(dAtA, i, uint64(m.SignedClaimsWindow)) i-- - dAtA[i] = 0x40 + dAtA[i] = 0x38 } if m.SignedBatchesWindow != 0 { i = encodeVarintGenesis(dAtA, i, uint64(m.SignedBatchesWindow)) i-- - dAtA[i] = 0x38 + dAtA[i] = 0x30 } if m.SignedValsetsWindow != 0 { i = encodeVarintGenesis(dAtA, i, uint64(m.SignedValsetsWindow)) i-- - dAtA[i] = 0x30 + dAtA[i] = 0x28 } if m.BridgeChainId != 0 { i = encodeVarintGenesis(dAtA, i, uint64(m.BridgeChainId)) i-- - dAtA[i] = 0x28 + dAtA[i] = 0x20 } if len(m.BridgeEthereumAddress) > 0 { i -= len(m.BridgeEthereumAddress) copy(dAtA[i:], m.BridgeEthereumAddress) i = encodeVarintGenesis(dAtA, i, uint64(len(m.BridgeEthereumAddress))) i-- - dAtA[i] = 0x22 + dAtA[i] = 0x1a } if len(m.ContractSourceHash) > 0 { i -= len(m.ContractSourceHash) @@ -713,7 +709,7 @@ func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { var l int _ = l { - size, err := m.LastObserveredValset.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.LastObservedValset.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -721,23 +717,21 @@ func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGenesis(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x82 + dAtA[i] = 0x72 if m.LastOutgoingPoolId != 0 { i = encodeVarintGenesis(dAtA, i, uint64(m.LastOutgoingPoolId)) i-- - dAtA[i] = 0x78 + dAtA[i] = 0x68 } if m.LastOutgoingBatchId != 0 { i = encodeVarintGenesis(dAtA, i, uint64(m.LastOutgoingBatchId)) i-- - dAtA[i] = 0x70 + dAtA[i] = 0x60 } if m.LastObservedEthereumHeight != 0 { i = encodeVarintGenesis(dAtA, i, uint64(m.LastObservedEthereumHeight)) i-- - dAtA[i] = 0x68 + dAtA[i] = 0x58 } if len(m.UnbatchedTransfers) > 0 { for iNdEx := len(m.UnbatchedTransfers) - 1; iNdEx >= 0; iNdEx-- { @@ -750,7 +744,7 @@ func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGenesis(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x62 + dAtA[i] = 0x52 } } if len(m.Erc20ToDenoms) > 0 { @@ -764,7 +758,7 @@ func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGenesis(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x5a + dAtA[i] = 0x4a } } if len(m.OrchestratorAddresses) > 0 { @@ -778,7 +772,7 @@ func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGenesis(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x52 + dAtA[i] = 0x42 } } if len(m.Attestations) > 0 { @@ -792,7 +786,7 @@ func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGenesis(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x4a + dAtA[i] = 0x3a } } if len(m.BatchConfirms) > 0 { @@ -928,9 +922,9 @@ func (m *Params) Size() (n int) { l = m.SlashFractionClaim.Size() n += 1 + l + sovGenesis(uint64(l)) l = m.SlashFractionConflictingClaim.Size() - n += 2 + l + sovGenesis(uint64(l)) + n += 1 + l + sovGenesis(uint64(l)) if m.UnbondSlashingValsetsWindow != 0 { - n += 2 + sovGenesis(uint64(m.UnbondSlashingValsetsWindow)) + n += 1 + sovGenesis(uint64(m.UnbondSlashingValsetsWindow)) } l = m.SlashFractionBadEthSignature.Size() n += 2 + l + sovGenesis(uint64(l)) @@ -1023,8 +1017,8 @@ func (m *GenesisState) Size() (n int) { if m.LastOutgoingPoolId != 0 { n += 1 + sovGenesis(uint64(m.LastOutgoingPoolId)) } - l = m.LastObserveredValset.Size() - n += 2 + l + sovGenesis(uint64(l)) + l = m.LastObservedValset.Size() + n += 1 + l + sovGenesis(uint64(l)) return n } @@ -1127,7 +1121,7 @@ func (m *Params) Unmarshal(dAtA []byte) error { } m.ContractSourceHash = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: + case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field BridgeEthereumAddress", wireType) } @@ -1159,7 +1153,7 @@ func (m *Params) Unmarshal(dAtA []byte) error { } m.BridgeEthereumAddress = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 5: + case 4: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field BridgeChainId", wireType) } @@ -1178,7 +1172,7 @@ func (m *Params) Unmarshal(dAtA []byte) error { break } } - case 6: + case 5: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field SignedValsetsWindow", wireType) } @@ -1197,7 +1191,7 @@ func (m *Params) Unmarshal(dAtA []byte) error { break } } - case 7: + case 6: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field SignedBatchesWindow", wireType) } @@ -1216,7 +1210,7 @@ func (m *Params) Unmarshal(dAtA []byte) error { break } } - case 8: + case 7: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field SignedClaimsWindow", wireType) } @@ -1235,7 +1229,7 @@ func (m *Params) Unmarshal(dAtA []byte) error { break } } - case 10: + case 8: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field TargetBatchTimeout", wireType) } @@ -1254,7 +1248,7 @@ func (m *Params) Unmarshal(dAtA []byte) error { break } } - case 11: + case 9: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field AverageBlockTime", wireType) } @@ -1273,7 +1267,7 @@ func (m *Params) Unmarshal(dAtA []byte) error { break } } - case 12: + case 10: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field AverageEthereumBlockTime", wireType) } @@ -1292,7 +1286,7 @@ func (m *Params) Unmarshal(dAtA []byte) error { break } } - case 13: + case 11: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field SlashFractionValset", wireType) } @@ -1325,7 +1319,7 @@ func (m *Params) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 14: + case 12: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field SlashFractionBatch", wireType) } @@ -1358,7 +1352,7 @@ func (m *Params) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 15: + case 13: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field SlashFractionClaim", wireType) } @@ -1391,7 +1385,7 @@ func (m *Params) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 16: + case 14: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field SlashFractionConflictingClaim", wireType) } @@ -1424,7 +1418,7 @@ func (m *Params) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 17: + case 15: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field UnbondSlashingValsetsWindow", wireType) } @@ -1443,7 +1437,7 @@ func (m *Params) Unmarshal(dAtA []byte) error { break } } - case 18: + case 16: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field SlashFractionBadEthSignature", wireType) } @@ -1476,7 +1470,7 @@ func (m *Params) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 19: + case 17: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field CosmosCoinDenom", wireType) } @@ -1508,7 +1502,7 @@ func (m *Params) Unmarshal(dAtA []byte) error { } m.CosmosCoinDenom = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 20: + case 18: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field CosmosCoinErc20Contract", wireType) } @@ -1540,7 +1534,7 @@ func (m *Params) Unmarshal(dAtA []byte) error { } m.CosmosCoinErc20Contract = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 21: + case 19: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field ClaimSlashingEnabled", wireType) } @@ -1560,7 +1554,7 @@ func (m *Params) Unmarshal(dAtA []byte) error { } } m.ClaimSlashingEnabled = bool(v != 0) - case 22: + case 20: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field BridgeContractStartHeight", wireType) } @@ -1579,7 +1573,7 @@ func (m *Params) Unmarshal(dAtA []byte) error { break } } - case 23: + case 21: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field ValsetReward", wireType) } @@ -1853,7 +1847,7 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 9: + case 7: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Attestations", wireType) } @@ -1887,7 +1881,7 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 10: + case 8: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field OrchestratorAddresses", wireType) } @@ -1921,7 +1915,7 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 11: + case 9: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Erc20ToDenoms", wireType) } @@ -1955,7 +1949,7 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 12: + case 10: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field UnbatchedTransfers", wireType) } @@ -1989,7 +1983,7 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 13: + case 11: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field LastObservedEthereumHeight", wireType) } @@ -2008,7 +2002,7 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { break } } - case 14: + case 12: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field LastOutgoingBatchId", wireType) } @@ -2027,7 +2021,7 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { break } } - case 15: + case 13: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field LastOutgoingPoolId", wireType) } @@ -2046,9 +2040,9 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { break } } - case 16: + case 14: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LastObserveredValset", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field LastObservedValset", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -2075,7 +2069,7 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if err := m.LastObserveredValset.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.LastObservedValset.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex