Documentation ¶
Index ¶
- type ChainConfig
- type ChainID
- type ChainState
- type Commands
- func (tr Commands) ExecCommand(name string, arg ...string) *exec.Cmd
- func (tr Commands) ExecDetachedCommand(name string, args ...string) *exec.Cmd
- func (tr Commands) GetBalance(chain ChainID, validator ValidatorID) uint
- func (tr Commands) GetBlockHeight(chain ChainID) uint
- func (tr Commands) GetClientFrozenHeight(chain ChainID, clientID string) (uint64, uint64)
- func (tr Commands) GetConsumerAddress(consumerChain ChainID, validator ValidatorID) string
- func (tr Commands) GetConsumerChains(chain ChainID) map[ChainID]bool
- func (tr Commands) GetConsumerCommissionRate(chain ChainID, validator ValidatorID) float64
- func (tr Commands) GetHasToValidate(validator ValidatorID) []ChainID
- func (tr Commands) GetIBCTransferParams(chain ChainID) IBCTransferParams
- func (tr Commands) GetParam(chain ChainID, param Param) string
- func (tr Commands) GetPendingPacketQueueSize(chain ChainID) uint
- func (tr Commands) GetProposal(chain ChainID, proposal uint) Proposal
- func (tr Commands) GetProposedConsumerChains(chain ChainID) []string
- func (tr Commands) GetProviderAddressFromConsumer(consumerChain ChainID, validator ValidatorID) string
- func (tr Commands) GetQueryNode(chain ChainID) string
- func (tr Commands) GetQueryNodeIP(chain ChainID) string
- func (tr Commands) GetQueryNodeRPCAddress(chain ChainID) string
- func (tr Commands) GetRegisteredConsumerRewardDenoms(chain ChainID) []string
- func (tr Commands) GetReward(chain ChainID, validator ValidatorID, blockHeight uint, isNativeDenom bool) float64
- func (tr Commands) GetSlashMeter() int64
- func (tr Commands) GetTestScriptPath(isConsumer bool, script string) string
- func (tr Commands) GetTrustedHeight(chain ChainID, clientID string, index int) (uint64, uint64)
- func (tr Commands) GetValPower(chain ChainID, validator ValidatorID) uint
- func (tr Commands) GetValStakedTokens(chain ChainID, valoperAddress string) uint
- func (tr Commands) GetValidatorIP(chain ChainID, validator ValidatorID) string
- type ConsumerAdditionProposal
- type ConsumerRemovalProposal
- type ContainerConfig
- type IBCTransferParams
- type IBCTransferParamsProposal
- type Param
- type ParamsProposal
- type Proposal
- type Rewards
- type State
- type TargetDriver
- type TextProposal
- type TmValidatorSetYaml
- type UpgradeProposal
- type ValPubKey
- type ValidatorConfig
- type ValidatorID
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainConfig ¶
type ChainConfig = e2e.ChainConfig
type ChainState ¶
type ChainState = e2e.ChainState
type Commands ¶
type Commands struct { ContainerConfig ContainerConfig // FIXME only needed for 'Now' time tracking ValidatorConfigs map[ValidatorID]ValidatorConfig ChainConfigs map[ChainID]ChainConfig Target e2e.PlatformDriver }
func (Commands) ExecDetachedCommand ¶
func (Commands) GetBalance ¶
func (tr Commands) GetBalance(chain ChainID, validator ValidatorID) uint
func (Commands) GetBlockHeight ¶
func (Commands) GetClientFrozenHeight ¶
GetClientFrozenHeight returns the frozen height for a client with the given client ID by querying the hosting chain with the given chainID
func (Commands) GetConsumerAddress ¶
func (tr Commands) GetConsumerAddress(consumerChain ChainID, validator ValidatorID) string
func (Commands) GetConsumerChains ¶
GetConsumerChains returns a list of consumer chains that're being secured by the provider chain, determined by querying the provider chain.
func (Commands) GetConsumerCommissionRate ¶ added in v5.1.1
func (tr Commands) GetConsumerCommissionRate(chain ChainID, validator ValidatorID) float64
func (Commands) GetHasToValidate ¶ added in v5.1.0
func (tr Commands) GetHasToValidate(validator ValidatorID) []ChainID
func (Commands) GetIBCTransferParams ¶
func (tr Commands) GetIBCTransferParams(chain ChainID) IBCTransferParams
Breaking forward compatibility
func (Commands) GetPendingPacketQueueSize ¶
func (Commands) GetProposal ¶
interchain-securityd query gov proposals
func (Commands) GetProposedConsumerChains ¶
func (Commands) GetProviderAddressFromConsumer ¶
func (tr Commands) GetProviderAddressFromConsumer(consumerChain ChainID, validator ValidatorID) string
func (Commands) GetQueryNode ¶
getQueryNode returns query node tcp address on chain.
func (Commands) GetQueryNodeIP ¶
getQueryNodeIP returns query node IP for chain, ipSuffix is hardcoded to be 253 on all query nodes except for "sover" chain where there's only one node
func (Commands) GetQueryNodeRPCAddress ¶
func (Commands) GetRegisteredConsumerRewardDenoms ¶
func (Commands) GetSlashMeter ¶
func (Commands) GetTestScriptPath ¶
func (Commands) GetTrustedHeight ¶
func (Commands) GetValPower ¶
func (tr Commands) GetValPower(chain ChainID, validator ValidatorID) uint
func (Commands) GetValStakedTokens ¶
func (Commands) GetValidatorIP ¶
func (tr Commands) GetValidatorIP(chain ChainID, validator ValidatorID) string
type ConsumerAdditionProposal ¶
type ConsumerAdditionProposal = e2e.ConsumerAdditionProposal
type ConsumerRemovalProposal ¶
type ConsumerRemovalProposal = e2e.ConsumerRemovalProposal
type ContainerConfig ¶
type ContainerConfig = e2e.ContainerConfig
type IBCTransferParams ¶
type IBCTransferParams = e2e.IBCTransferParams
type IBCTransferParamsProposal ¶
type IBCTransferParamsProposal = e2e.IBCTransferParamsProposal
type ParamsProposal ¶
type ParamsProposal = e2e.ParamsProposal
type State ¶
type State map[ChainID]ChainState
type TargetDriver ¶
type TargetDriver = e2e.TargetDriver
type TextProposal ¶
type TextProposal = e2e.TextProposal
type TmValidatorSetYaml ¶
type UpgradeProposal ¶
type UpgradeProposal = e2e.UpgradeProposal
type ValidatorConfig ¶
type ValidatorConfig = e2e.ValidatorConfig
type ValidatorID ¶
type ValidatorID = e2e.ValidatorID
Click to show internal directories.
Click to hide internal directories.