utils

package
v1.3.11 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: GPL-3.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ECDSAPrivateKey

func ECDSAPrivateKey(logger *zap.Logger, privateKey string) (*ecdsa.PrivateKey, error)

ECDSAPrivateKey extracts the ecdsa.PrivateKey from the given string or generate a new key

func SetupMockBeaconNetwork added in v1.1.0

func SetupMockBeaconNetwork(t *testing.T, currentSlot *SlotValue) *mocknetwork.MockBeaconNetwork

Types

type SlotValue added in v1.1.0

type SlotValue struct {
	// contains filtered or unexported fields
}

func (*SlotValue) GetSlot added in v1.1.0

func (sv *SlotValue) GetSlot() phase0.Slot

func (*SlotValue) SetSlot added in v1.1.0

func (sv *SlotValue) SetSlot(s phase0.Slot)

Directories

Path Synopsis
Code generated by fastssz.
Code generated by fastssz.

Jump to

Keyboard shortcuts

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