Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssetListGetterMock ¶
type AssetListGetterMock struct {
// contains filtered or unexported fields
}
func (*AssetListGetterMock) GetDenomPrecisions ¶
GetDenomPrecisions implements domain.TokensUsecase.
type NodeStatusCheckerMock ¶ added in v23.0.9
type NodeStatusCheckerMock struct { // IsSyncing is the value to return when IsNodeSyncing is called. IsSyncing bool // IsNodeSyncingError is the error to return when IsNodeSyncing is called. IsNodeSyncingError error // IsNodeSyncingCalled is a flag indicating if IsNodeSyncing was called. IsNodeSyncingCalled bool }
NodeStatusCheckerMock is a mock implementation of domain.NodeStatusChecker.
func (*NodeStatusCheckerMock) IsNodeSyncing ¶ added in v23.0.9
func (n *NodeStatusCheckerMock) IsNodeSyncing(ctx types.Context) (bool, error)
IsNodeSyncing implements domain.NodeStatusChecker.
type SQSIngesterMock ¶ added in v23.0.9
type SQSIngesterMock struct { // AllBlockDataError is the error to return when ProcessAllBlockData is called. AllBlockDataError error // ChangedBlockDataError is the error to return when ProcessChangedBlockData is called. ChangedBlockDataError error // IsProcessAllBlockDataCalled is a flag indicating if ProcessAllBlockData was called. IsProcessAllBlockDataCalled bool // IsProcessAllChangedDataCalled is a flag indicating if ProcessChangedBlockData was called. IsProcessAllChangedDataCalled bool // LastChangedPoolsObserved is the last changed pools observed by the mock when // ProcessChangedBlockData is called. LastChangedPoolsObserved domain.BlockPools // If this is non-empty, ProcessAllBlockData(...) will panic with this message. ProcessAllBlockDataPanicMsg string }
SQSIngesterMock is a mock implementation of domain.Ingester.
func (*SQSIngesterMock) ProcessAllBlockData ¶ added in v23.0.9
func (s *SQSIngesterMock) ProcessAllBlockData(ctx types.Context) error
ProcessAllBlockData implements domain.Ingester.
func (*SQSIngesterMock) ProcessChangedBlockData ¶ added in v23.0.9
func (s *SQSIngesterMock) ProcessChangedBlockData(ctx types.Context, changedPools domain.BlockPools) error
ProcessChangedBlockData implements domain.Ingester.
Click to show internal directories.
Click to hide internal directories.