mock

package
v5.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 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

func AggregateAndProofSignRequest() *v1.AggregateAndProofSignRequest

AggregateAndProofSignRequest is a mock implementation of the AggregateAndProofSignRequest.

func AggregationBits

func AggregationBits() []byte

func AggregationSlotSignRequest

func AggregationSlotSignRequest() *v1.AggregationSlotSignRequest

AggregationSlotSignRequest is a mock implementation of the AggregationSlotSignRequest.

func Attestation

func Attestation() *v1.Attestation

Attestation is a mock implementation of the Attestation.

func AttestationSignRequest

func AttestationSignRequest() *v1.AttestationSignRequest

AttestationSignRequest is a mock implementation of the AttestationSignRequest.

func BeaconBlockAltair

func BeaconBlockAltair() *v1.BeaconBlockAltair

func BeaconBlockBody

func BeaconBlockBody() *v1.BeaconBlockBody

func BlockSignRequest

func BlockSignRequest() *v1.BlockSignRequest

BlockSignRequest is a mock implementation of the BlockSignRequest.

func BlockV2AltairSignRequest

func BlockV2AltairSignRequest() *v1.BlockAltairSignRequest

BlockV2AltairSignRequest is a mock implementation of the BlockAltairSignRequest.

func BlockV2BlindedSignRequest

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

func ContributionAndProof

func ContributionAndProof() *v1.ContributionAndProof

func ForkInfo

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

func IndexedAttestation() *v1.IndexedAttestation

func RandaoRevealSignRequest

func RandaoRevealSignRequest() *v1.RandaoRevealSignRequest

RandaoRevealSignRequest is a mock implementation of the RandaoRevealSignRequest.

func SyncComitteeBits

func SyncComitteeBits() []byte

func SyncCommitteeContributionAndProofSignRequest

func SyncCommitteeContributionAndProofSignRequest() *v1.SyncCommitteeContributionAndProofSignRequest

SyncCommitteeContributionAndProofSignRequest is a mock implementation of the SyncCommitteeContributionAndProofSignRequest.

func SyncCommitteeMessageSignRequest

func SyncCommitteeMessageSignRequest() *v1.SyncCommitteeMessageSignRequest

SyncCommitteeMessageSignRequest is a mock implementation of the SyncCommitteeMessageSignRequest.

func SyncCommitteeSelectionProofSignRequest

func SyncCommitteeSelectionProofSignRequest() *v1.SyncCommitteeSelectionProofSignRequest

SyncCommitteeSelectionProofSignRequest is a mock implementation of the SyncCommitteeSelectionProofSignRequest.

func ValidatorRegistrationSignRequest

func ValidatorRegistrationSignRequest() *v1.ValidatorRegistrationSignRequest

ValidatorRegistrationSignRequest is a mock implementation of the ValidatorRegistrationSignRequest.

func VoluntaryExitSignRequest

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