Versions in this module Expand all Collapse all v1 v1.0.0 Oct 4, 2024 Changes in this version + type MockBeaconClient struct + func NewMockBeaconClient(ctrl *gomock.Controller) *MockBeaconClient + func (m *MockBeaconClient) BeaconBlockRoot(ctx context.Context, opts *api.BeaconBlockRootOpts) (*api.Response[*phase0.Root], error) + func (m *MockBeaconClient) Domain(ctx context.Context, domainType phase0.DomainType, epoch phase0.Epoch) (phase0.Domain, error) + func (m *MockBeaconClient) EXPECT() *MockBeaconClientMockRecorder + type MockBeaconClientMockRecorder struct + func (mr *MockBeaconClientMockRecorder) BeaconBlockRoot(ctx, opts any) *gomock.Call + func (mr *MockBeaconClientMockRecorder) Domain(ctx, domainType, epoch any) *gomock.Call + type MockBeaconProvider struct + func NewMockBeaconProvider(ctrl *gomock.Controller) *MockBeaconProvider + func (m *MockBeaconProvider) EXPECT() *MockBeaconProviderMockRecorder + func (m *MockBeaconProvider) Finality(ctx context.Context, opts *api.FinalityOpts) (*api.Response[*v1.Finality], error) + type MockBeaconProviderMockRecorder struct + func (mr *MockBeaconProviderMockRecorder) Finality(ctx, opts any) *gomock.Call + type MockBlockFetcher struct + func NewMockBlockFetcher(ctrl *gomock.Controller) *MockBlockFetcher + func (m *MockBlockFetcher) EXPECT() *MockBlockFetcherMockRecorder + func (m *MockBlockFetcher) SignedBeaconBlock(ctx context.Context, opts *api.SignedBeaconBlockOpts) (*api.Response[*spec.VersionedSignedBeaconBlock], error) + type MockBlockFetcherMockRecorder struct + func (mr *MockBlockFetcherMockRecorder) SignedBeaconBlock(ctx, opts any) *gomock.Call + type MockBlockStorer struct + func NewMockBlockStorer(ctrl *gomock.Controller) *MockBlockStorer + func (m *MockBlockStorer) EXPECT() *MockBlockStorerMockRecorder + func (m *MockBlockStorer) StoreBlock(epoch *big.Int, domainID uint8) error + type MockBlockStorerMockRecorder struct + func (mr *MockBlockStorerMockRecorder) StoreBlock(epoch, domainID any) *gomock.Call + type MockDomainCollector struct + func NewMockDomainCollector(ctrl *gomock.Controller) *MockDomainCollector + func (m *MockDomainCollector) CollectDomains(startBlock, endBlock *big.Int) ([]uint8, error) + func (m *MockDomainCollector) EXPECT() *MockDomainCollectorMockRecorder + type MockDomainCollectorMockRecorder struct + func (mr *MockDomainCollectorMockRecorder) CollectDomains(startBlock, endBlock any) *gomock.Call + type MockEventFetcher struct + func NewMockEventFetcher(ctrl *gomock.Controller) *MockEventFetcher + func (m *MockEventFetcher) EXPECT() *MockEventFetcherMockRecorder + func (m *MockEventFetcher) FetchEventLogs(ctx context.Context, contractAddress common.Address, event string, ...) ([]types.Log, error) + type MockEventFetcherMockRecorder struct + func (mr *MockEventFetcherMockRecorder) FetchEventLogs(ctx, contractAddress, event, startBlock, endBlock any) *gomock.Call + type MockEventHandler struct + func NewMockEventHandler(ctrl *gomock.Controller) *MockEventHandler + func (m *MockEventHandler) EXPECT() *MockEventHandlerMockRecorder + func (m *MockEventHandler) HandleEvents(checkpoint *v1.Finality) error + type MockEventHandlerMockRecorder struct + func (mr *MockEventHandlerMockRecorder) HandleEvents(checkpoint any) *gomock.Call + type MockKeyValueReaderWriter struct + func NewMockKeyValueReaderWriter(ctrl *gomock.Controller) *MockKeyValueReaderWriter + func (m *MockKeyValueReaderWriter) EXPECT() *MockKeyValueReaderWriterMockRecorder + func (m *MockKeyValueReaderWriter) GetByKey(arg0 []byte) ([]byte, error) + func (m *MockKeyValueReaderWriter) SetByKey(arg0, arg1 []byte) error + type MockKeyValueReaderWriterMockRecorder struct + func (mr *MockKeyValueReaderWriterMockRecorder) GetByKey(arg0 any) *gomock.Call + func (mr *MockKeyValueReaderWriterMockRecorder) SetByKey(arg0, arg1 any) *gomock.Call + type MockLightClient struct + func NewMockLightClient(ctrl *gomock.Controller) *MockLightClient + func (m *MockLightClient) Bootstrap(blockRoot string) (*consensus.LightClientBootstrapDeneb, error) + func (m *MockLightClient) EXPECT() *MockLightClientMockRecorder + func (m *MockLightClient) FinalityUpdate() (*consensus.LightClientFinalityUpdateDeneb, error) + func (m *MockLightClient) Updates(period uint64) ([]*consensus.LightClientUpdateDeneb, error) + type MockLightClientMockRecorder struct + func (mr *MockLightClientMockRecorder) Bootstrap(blockRoot any) *gomock.Call + func (mr *MockLightClientMockRecorder) FinalityUpdate() *gomock.Call + func (mr *MockLightClientMockRecorder) Updates(period any) *gomock.Call + type MockPeriodStorer struct + func NewMockPeriodStorer(ctrl *gomock.Controller) *MockPeriodStorer + func (m *MockPeriodStorer) EXPECT() *MockPeriodStorerMockRecorder + func (m *MockPeriodStorer) Period(domainID uint8) (*big.Int, error) + func (m *MockPeriodStorer) StorePeriod(domainID uint8, period *big.Int) error + type MockPeriodStorerMockRecorder struct + func (mr *MockPeriodStorerMockRecorder) Period(domainID any) *gomock.Call + func (mr *MockPeriodStorerMockRecorder) StorePeriod(domainID, period any) *gomock.Call + type MockProofSubmitter struct + func NewMockProofSubmitter(ctrl *gomock.Controller) *MockProofSubmitter + func (m *MockProofSubmitter) EXPECT() *MockProofSubmitterMockRecorder + func (m *MockProofSubmitter) Rotate(domainID uint8, rotateProof []byte, stepInput message.SyncStepInput, ...) (*common.Hash, error) + func (m *MockProofSubmitter) Step(domainID uint8, input message.SyncStepInput, stepProof []byte, ...) (*common.Hash, error) + type MockProofSubmitterMockRecorder struct + func (mr *MockProofSubmitterMockRecorder) Rotate(domainID, rotateProof, stepInput, stepProof, opts any) *gomock.Call + func (mr *MockProofSubmitterMockRecorder) Step(domainID, input, stepProof, stateRoot, stateRootProof, opts any) *gomock.Call + type MockProver struct + func NewMockProver(ctrl *gomock.Controller) *MockProver + func (m *MockProver) EXPECT() *MockProverMockRecorder + func (m *MockProver) RotateArgs(epoch uint64) (*prover.RotateArgs, error) + func (m *MockProver) RotateProof(args *prover.RotateArgs) (*prover.EvmProof[struct{}], error) + func (m *MockProver) StepArgs() (*prover.StepArgs, error) + func (m *MockProver) StepProof(args *prover.StepArgs) (*prover.EvmProof[message.SyncStepInput], error) + type MockProverClient struct + func NewMockProverClient(ctrl *gomock.Controller) *MockProverClient + func (m *MockProverClient) CallFor(ctx context.Context, reply any, method string, args ...any) error + func (m *MockProverClient) EXPECT() *MockProverClientMockRecorder + type MockProverClientMockRecorder struct + func (mr *MockProverClientMockRecorder) CallFor(ctx, reply, method any, args ...any) *gomock.Call + type MockProverMockRecorder struct + func (mr *MockProverMockRecorder) RotateArgs(epoch any) *gomock.Call + func (mr *MockProverMockRecorder) RotateProof(args any) *gomock.Call + func (mr *MockProverMockRecorder) StepArgs() *gomock.Call + func (mr *MockProverMockRecorder) StepProof(args any) *gomock.Call + type MockSyncCommitteeFetcher struct + func NewMockSyncCommitteeFetcher(ctrl *gomock.Controller) *MockSyncCommitteeFetcher + func (m *MockSyncCommitteeFetcher) EXPECT() *MockSyncCommitteeFetcherMockRecorder + func (m *MockSyncCommitteeFetcher) SyncCommittee(ctx context.Context, opts *api.SyncCommitteeOpts) (*api.Response[*v1.SyncCommittee], error) + type MockSyncCommitteeFetcherMockRecorder struct + func (mr *MockSyncCommitteeFetcherMockRecorder) SyncCommittee(ctx, opts any) *gomock.Call