Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeBeacon ¶
type FakeBeacon struct {
// contains filtered or unexported fields
}
FakeBeacon presents a beacon-node in testing, without leading any chain-building. This merely serves a fake beacon API, and holds on to blocks, to complement the actual block-building to happen in testing (e.g. through the fake consensus geth module).
func NewBeacon ¶
func NewBeacon(log log.Logger, blobStore *e2eutils.BlobsStore, genesisTime uint64, blockTime uint64) *FakeBeacon
func (*FakeBeacon) BeaconAddr ¶
func (f *FakeBeacon) BeaconAddr() string
func (*FakeBeacon) Close ¶
func (f *FakeBeacon) Close() error
func (*FakeBeacon) LoadBlobsBundle ¶
func (f *FakeBeacon) LoadBlobsBundle(slot uint64) (*engine.BlobsBundleV1, error)
func (*FakeBeacon) Start ¶
func (f *FakeBeacon) Start(addr string) error
func (*FakeBeacon) StoreBlobsBundle ¶
func (f *FakeBeacon) StoreBlobsBundle(slot uint64, bundle *engine.BlobsBundleV1) error
Click to show internal directories.
Click to hide internal directories.