consensusdataproposer

package
v0.3.9 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: GPL-3.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProposerSpecTest

type ProposerSpecTest struct {
	Name            string
	Blinded         bool
	DataCd          []byte
	DataBlk         []byte
	ExpectedBlkRoot [32]byte
	ExpectedCdRoot  [32]byte
	ExpectedError   string
}

func VersionedBlindedBlockConsensusDataNil

func VersionedBlindedBlockConsensusDataNil() *ProposerSpecTest

VersionedBlindedBlockConsensusDataNil tests an invalid consensus data with deneb block

func VersionedBlindedBlockUnknownVersion

func VersionedBlindedBlockUnknownVersion() *ProposerSpecTest

VersionedBlindedBlockUnknownVersion tests a valid consensus data with unknown block version

func VersionedBlindedBlockValidation

func VersionedBlindedBlockValidation() *ProposerSpecTest

VersionedBlindedBlockValidation tests a valid consensus data with Deneb blinded block

func VersionedBlockConsensusDataNil

func VersionedBlockConsensusDataNil() *ProposerSpecTest

VersionedBlockConsensusDataNil tests an invalid consensus data with Deneb block

func VersionedBlockUnknownVersion

func VersionedBlockUnknownVersion() *ProposerSpecTest

VersionedBlockUnknownVersion tests a valid consensus data with unknown block

func VersionedBlockValidation

func VersionedBlockValidation() *ProposerSpecTest

VersionedBlockValidation tests a valid consensus data with Deneb block

func (*ProposerSpecTest) Run

func (test *ProposerSpecTest) Run(t *testing.T)

func (*ProposerSpecTest) TestName

func (test *ProposerSpecTest) TestName() string

Jump to

Keyboard shortcuts

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