mock

package
v4.0.0-...-b8b0360 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2024 License: 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 []*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

MarkIncluded --

func (*PoolMock) PendingDilithiumToExecChanges

func (m *PoolMock) PendingDilithiumToExecChanges() ([]*zond.SignedDilithiumToExecutionChange, error)

PendingDilithiumToExecChanges --

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