Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockChainProcessor ¶
type MockChainProcessor struct {
// contains filtered or unexported fields
}
func NewMockChainProcessor ¶
func NewMockChainProcessor(ctx context.Context, log *zap.Logger, chainID string, getMockMessages func() []TransactionMessage) *MockChainProcessor
func (*MockChainProcessor) Provider ¶
func (mcp *MockChainProcessor) Provider() provider.ChainProvider
Provider returns the ChainProvider, which provides the methods for querying, assembling IBC messages, and sending transactions.
func (*MockChainProcessor) Run ¶
func (mcp *MockChainProcessor) Run(ctx context.Context, initialBlockHistory uint64, _ *processor.StuckPacket) error
func (*MockChainProcessor) SetPathProcessors ¶
func (mcp *MockChainProcessor) SetPathProcessors(pathProcessors processor.PathProcessors)
type TransactionMessage ¶
types used for parsing IBC messages from transactions, then passed to message handlers for mutating the MockChainProcessor state if necessary and retaining applicable messages for sending to the Path Processors
Click to show internal directories.
Click to hide internal directories.