Documentation ¶
Index ¶
- type PoolMock
- func (m *PoolMock) DilithiumToExecChangesForInclusion(_ state.ReadOnlyBeaconState) ([]*zond.SignedDilithiumToExecutionChange, error)
- func (m *PoolMock) InsertDilithiumToExecChange(change *zond.SignedDilithiumToExecutionChange)
- func (*PoolMock) MarkIncluded(_ *zond.SignedDilithiumToExecutionChange)
- func (m *PoolMock) PendingDilithiumToExecChanges() ([]*zond.SignedDilithiumToExecutionChange, error)
- func (*PoolMock) ValidatorExists(_ primitives.ValidatorIndex) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PoolMock ¶
type PoolMock struct {
Changes []*zond.SignedDilithiumToExecutionChange
}
PoolMock is a fake implementation of PoolManager.
func (*PoolMock) DilithiumToExecChangesForInclusion ¶
func (m *PoolMock) DilithiumToExecChangesForInclusion(_ state.ReadOnlyBeaconState) ([]*zond.SignedDilithiumToExecutionChange, error)
DilithiumToExecChangesForInclusion --
func (*PoolMock) InsertDilithiumToExecChange ¶
func (m *PoolMock) InsertDilithiumToExecChange(change *zond.SignedDilithiumToExecutionChange)
InsertDilithiumToExecChange --
func (*PoolMock) MarkIncluded ¶
func (*PoolMock) MarkIncluded(_ *zond.SignedDilithiumToExecutionChange)
MarkIncluded --
func (*PoolMock) PendingDilithiumToExecChanges ¶
func (m *PoolMock) PendingDilithiumToExecChanges() ([]*zond.SignedDilithiumToExecutionChange, error)
PendingDilithiumToExecChanges --
func (*PoolMock) ValidatorExists ¶
func (*PoolMock) ValidatorExists(_ primitives.ValidatorIndex) bool
ValidatorExists --
Click to show internal directories.
Click to hide internal directories.