mock

package
v4.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AggregateAndProofSignRequest added in v4.2.0

func AggregateAndProofSignRequest() *v1.AggregateAndProofSignRequest

AggregateAndProofSignRequest is a mock implementation of the AggregateAndProofSignRequest.

func AggregationBits added in v4.2.0

func AggregationBits() []byte

func AggregationSlotSignRequest added in v4.2.0

func AggregationSlotSignRequest() *v1.AggregationSlotSignRequest

AggregationSlotSignRequest is a mock implementation of the AggregationSlotSignRequest.

func Attestation added in v4.2.0

func Attestation() *v1.Attestation

Attestation is a mock implementation of the Attestation.

func AttestationSignRequest added in v4.2.0

func AttestationSignRequest() *v1.AttestationSignRequest

AttestationSignRequest is a mock implementation of the AttestationSignRequest.

func BeaconBlockAltair added in v4.2.0

func BeaconBlockAltair() *v1.BeaconBlockAltair

func BeaconBlockBody added in v4.2.0

func BeaconBlockBody() *v1.BeaconBlockBody

func BlockSignRequest added in v4.2.0

func BlockSignRequest() *v1.BlockSignRequest

BlockSignRequest is a mock implementation of the BlockSignRequest.

func BlockV2AltairSignRequest added in v4.2.0

func BlockV2AltairSignRequest() *v1.BlockAltairSignRequest

BlockV2AltairSignRequest is a mock implementation of the BlockAltairSignRequest.

func BlockV2BlindedSignRequest added in v4.2.0

func BlockV2BlindedSignRequest(bodyRoot []byte, version string) *v1.BlockV2BlindedSignRequest

func ContributionAndProof added in v4.2.0

func ContributionAndProof() *v1.ContributionAndProof

func ForkInfo added in v4.2.0

func ForkInfo() *v1.ForkInfo

ForkInfo is a mock implementation of the ForkInfo.

func GetMockSignRequest

func GetMockSignRequest(t string) *validatorpb.SignRequest

GetMockSignRequest returns a mock SignRequest by type.

func IndexedAttestation added in v4.2.0

func IndexedAttestation() *v1.IndexedAttestation

func RandaoRevealSignRequest added in v4.2.0

func RandaoRevealSignRequest() *v1.RandaoRevealSignRequest

RandaoRevealSignRequest is a mock implementation of the RandaoRevealSignRequest.

func SyncComitteeBits added in v4.2.0

func SyncComitteeBits() []byte

func SyncCommitteeContributionAndProofSignRequest added in v4.2.0

func SyncCommitteeContributionAndProofSignRequest() *v1.SyncCommitteeContributionAndProofSignRequest

SyncCommitteeContributionAndProofSignRequest is a mock implementation of the SyncCommitteeContributionAndProofSignRequest.

func SyncCommitteeMessageSignRequest added in v4.2.0

func SyncCommitteeMessageSignRequest() *v1.SyncCommitteeMessageSignRequest

SyncCommitteeMessageSignRequest is a mock implementation of the SyncCommitteeMessageSignRequest.

func SyncCommitteeSelectionProofSignRequest added in v4.2.0

func SyncCommitteeSelectionProofSignRequest() *v1.SyncCommitteeSelectionProofSignRequest

SyncCommitteeSelectionProofSignRequest is a mock implementation of the SyncCommitteeSelectionProofSignRequest.

func ValidatorRegistrationSignRequest added in v4.2.0

func ValidatorRegistrationSignRequest() *v1.ValidatorRegistrationSignRequest

ValidatorRegistrationSignRequest is a mock implementation of the ValidatorRegistrationSignRequest.

func VoluntaryExitSignRequest added in v4.2.0

func VoluntaryExitSignRequest() *v1.VoluntaryExitSignRequest

VoluntaryExitSignRequest is a mock implementation of the VoluntaryExitSignRequest.

Types

This section is empty.

Jump to

Keyboard shortcuts

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