Versions in this module Expand all Collapse all v1 v1.0.0 Sep 1, 2023 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