mock

package
v5.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 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 {
	Exits []*eth.SignedVoluntaryExit
}

PoolMock is a fake implementation of PoolManager.

func (*PoolMock) ExitsForInclusion

func (m *PoolMock) ExitsForInclusion(_ state.ReadOnlyBeaconState, _ primitives.Slot) ([]*eth.SignedVoluntaryExit, error)

ExitsForInclusion --

func (*PoolMock) InsertVoluntaryExit

func (m *PoolMock) InsertVoluntaryExit(exit *eth.SignedVoluntaryExit)

InsertVoluntaryExit --

func (*PoolMock) MarkIncluded

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

MarkIncluded --

func (*PoolMock) PendingExits

func (m *PoolMock) PendingExits() ([]*eth.SignedVoluntaryExit, error)

PendingExits --

Jump to

Keyboard shortcuts

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