mock

package
v0.0.0-...-bb812c9 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2023 License: Apache-2.0, GPL-3.0, MIT 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