mock

package
v0.0.1-alpha.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2024 License: Apache-2.0, MIT, GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PoolMock

type PoolMock struct {
	Changes []*eth.SignedBLSToExecutionChange
}

PoolMock is a fake implementation of PoolManager.

func (*PoolMock) BLSToExecChangesForInclusion

func (m *PoolMock) BLSToExecChangesForInclusion(_ state.ReadOnlyBeaconState) ([]*eth.SignedBLSToExecutionChange, error)

BLSToExecChangesForInclusion --

func (*PoolMock) InsertBLSToExecChange

func (m *PoolMock) InsertBLSToExecChange(change *eth.SignedBLSToExecutionChange)

InsertBLSToExecChange --

func (*PoolMock) MarkIncluded

func (*PoolMock) MarkIncluded(_ *eth.SignedBLSToExecutionChange)

MarkIncluded --

func (*PoolMock) PendingBLSToExecChanges

func (m *PoolMock) PendingBLSToExecChanges() ([]*eth.SignedBLSToExecutionChange, error)

PendingBLSToExecChanges --

func (*PoolMock) ValidatorExists

func (*PoolMock) ValidatorExists(_ primitives.ValidatorIndex) bool

ValidatorExists --

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL