mock

package
v4.0.2-rc.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMockSignRequest

func GetMockSignRequest(t string) *validatorpb.SignRequest

GetMockSignRequest returns a mock SignRequest by type.

func MockAggregateAndProofSignRequest

func MockAggregateAndProofSignRequest() *v1.AggregateAndProofSignRequest

MockAggregateAndProofSignRequest is a mock implementation of the AggregateAndProofSignRequest.

func MockAggregationBits

func MockAggregationBits() []byte

func MockAggregationSlotSignRequest

func MockAggregationSlotSignRequest() *v1.AggregationSlotSignRequest

MockAggregationSlotSignRequest is a mock implementation of the AggregationSlotSignRequest.

func MockAttestation

func MockAttestation() *v1.Attestation

MockAttestation is a mock implementation of the Attestation.

func MockAttestationSignRequest

func MockAttestationSignRequest() *v1.AttestationSignRequest

MockAttestationSignRequest is a mock implementation of the AttestationSignRequest.

func MockBeaconBlockAltair

func MockBeaconBlockAltair() *v1.BeaconBlockAltair

func MockBeaconBlockBody

func MockBeaconBlockBody() *v1.BeaconBlockBody

func MockBlockSignRequest

func MockBlockSignRequest() *v1.BlockSignRequest

MockBlockSignRequest is a mock implementation of the BlockSignRequest.

func MockBlockV2AltairSignRequest

func MockBlockV2AltairSignRequest() *v1.BlockAltairSignRequest

MockBlockV2AltairSignRequest is a mock implementation of the BlockAltairSignRequest.

func MockBlockV2BlindedSignRequest

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

func MockContributionAndProof

func MockContributionAndProof() *v1.ContributionAndProof

func MockForkInfo

func MockForkInfo() *v1.ForkInfo

MockForkInfo is a mock implementation of the ForkInfo.

func MockIndexedAttestation

func MockIndexedAttestation() *v1.IndexedAttestation

func MockRandaoRevealSignRequest

func MockRandaoRevealSignRequest() *v1.RandaoRevealSignRequest

MockRandaoRevealSignRequest is a mock implementation of the RandaoRevealSignRequest.

func MockSyncComitteeBits

func MockSyncComitteeBits() []byte

func MockSyncCommitteeContributionAndProofSignRequest

func MockSyncCommitteeContributionAndProofSignRequest() *v1.SyncCommitteeContributionAndProofSignRequest

MockSyncCommitteeContributionAndProofSignRequest is a mock implementation of the SyncCommitteeContributionAndProofSignRequest.

func MockSyncCommitteeMessageSignRequest

func MockSyncCommitteeMessageSignRequest() *v1.SyncCommitteeMessageSignRequest

MockSyncCommitteeMessageSignRequest is a mock implementation of the SyncCommitteeMessageSignRequest.

func MockSyncCommitteeSelectionProofSignRequest

func MockSyncCommitteeSelectionProofSignRequest() *v1.SyncCommitteeSelectionProofSignRequest

MockSyncCommitteeSelectionProofSignRequest is a mock implementation of the SyncCommitteeSelectionProofSignRequest.

func MockValidatorRegistrationSignRequest

func MockValidatorRegistrationSignRequest() *v1.ValidatorRegistrationSignRequest

MockValidatorRegistrationSignRequest is a mock implementation of the ValidatorRegistrationSignRequest.

func MockVoluntaryExitSignRequest

func MockVoluntaryExitSignRequest() *v1.VoluntaryExitSignRequest

MockVoluntaryExitSignRequest 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