package
0.10.0-rc.3
Repository: https://github.com/odin-protocol/odin-core.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
ApplyValSetChanges takes in cmttypes.ValidatorSet and []abci.ValidatorUpdate and will return a new cmttypes.ValidatorSet which has the provided validator updates applied to the provided validator set.
AssertEvents asserts that expected events are present in the actual events.
AssertEventsLegacy asserts that expected events are present in the actual events.
GenerateString generates a random string of the given length in bytes.
GetChainID returns the chainID used for the provided index.
MakeBlockID copied unimported test functions from cmttypes to use them here.
No description provided by the author
No description provided by the author
NewCoordinator initializes Coordinator with N TestChain's.
NewDefaultEndpoint constructs a new endpoint using default values.
NewEndpoint constructs a new endpoint without the counterparty.
NewOraclePath constructs a new path between each chain suitable for use with the transfer module.
NewPath constructs an endpoint for each chain using the default values for the endpoints.
No description provided by the author
NewTestChain initializes a new test chain with a default of 4 validators Use this function if the tests do not need custom control over the validator set.
NewTestChainWithValSet initializes a new TestChain instance with the given validator set and signer array.
ParseAckFromEvents parses events emitted from a MsgRecvPacket and returns the acknowledgement.
ParseChannelIDFromEvents parses events emitted from a MsgChannelOpenInit or MsgChannelOpenTry and returns the channel identifier.
ParseClientIDFromEvents parses events emitted from a MsgCreateClient and returns the client identifier.
ParseConnectionIDFromEvents parses events emitted from a MsgConnectionOpenInit or MsgConnectionOpenTry and returns the connection identifier.
ParsePacketFromEvents parses events emitted from a MsgRecvPacket and returns the acknowledgement.
ParseProposalIDFromEvents parses events emitted from MsgSubmitProposal and returns proposalID.
SignAndDeliver signs and delivers a transaction.
UnmarshalMsgResponses parse out msg responses from a transaction result.
VoteAndCheckProposalStatus votes on a gov proposal, checks if the proposal has passed, and returns an error if it has not with the failure reason.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TransferPort = ibctransfertypes.ModuleName.
Application Ports.
No description provided by the author
used for testing proposals.
Default params constants used to create a TM client.
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
DefaultTrustLevel sets params variables used to create a TM client.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
Coordinator is a testing struct which contains N TestChain's.
Endpoint is a which represents a channel endpoint and its associated client and connections.
Path contains two endpoints representing two chains connected over IBC.
No description provided by the author
No description provided by the author
TestChain is a testing struct that wraps a TestingApp with the last TM Header, the current ABCI header and the validators of the TestChain.
# Interfaces
No description provided by the author
# Type aliases
No description provided by the author