mock

package
v3.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2023 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 []*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