Documentation ¶
Index ¶
- type LightClient
- func (_m *LightClient) ChainID() string
- func (_m *LightClient) TrustedLightBlock(height int64) (*types.LightBlock, error)
- func (_m *LightClient) Update(ctx context.Context, now time.Time) (*types.LightBlock, error)
- func (_m *LightClient) VerifyLightBlockAtHeight(ctx context.Context, height int64, now time.Time) (*types.LightBlock, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LightClient ¶
LightClient is an autogenerated mock type for the LightClient type
func NewLightClient ¶
func NewLightClient(t interface { mock.TestingT Cleanup(func()) }) *LightClient
NewLightClient creates a new instance of LightClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*LightClient) ChainID ¶
func (_m *LightClient) ChainID() string
ChainID provides a mock function with given fields:
func (*LightClient) TrustedLightBlock ¶
func (_m *LightClient) TrustedLightBlock(height int64) (*types.LightBlock, error)
TrustedLightBlock provides a mock function with given fields: height
func (*LightClient) Update ¶
func (_m *LightClient) Update(ctx context.Context, now time.Time) (*types.LightBlock, error)
Update provides a mock function with given fields: ctx, now
func (*LightClient) VerifyLightBlockAtHeight ¶
func (_m *LightClient) VerifyLightBlockAtHeight(ctx context.Context, height int64, now time.Time) (*types.LightBlock, error)
VerifyLightBlockAtHeight provides a mock function with given fields: ctx, height, now
Click to show internal directories.
Click to hide internal directories.