Versions in this module Expand all Collapse all v0 v0.0.1 Jan 19, 2022 Changes in this version + func NewDeadMock(chainID string) provider.Provider + type Mock struct + func New(chainID string, headers map[int64]*types.SignedHeader, ...) *Mock + func (p *Mock) AddLightBlock(lb *types.LightBlock) + func (p *Mock) ChainID() string + func (p *Mock) Copy(id string) *Mock + func (p *Mock) HasEvidence(ev types.Evidence) bool + func (p *Mock) LightBlock(ctx context.Context, height int64) (*types.LightBlock, error) + func (p *Mock) ReportEvidence(_ context.Context, ev types.Evidence) error + func (p *Mock) String() string