fork

package
v4.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunForkTransitionTest

func RunForkTransitionTest(t *testing.T, config string)

RunForkTransitionTest is a helper function that runs capella's transition core tests.

func RunUpgradeToCapella

func RunUpgradeToCapella(t *testing.T, config string)

RunUpgradeToCapella is a helper function that runs capella's fork spec tests. It unmarshals a pre- and post-state to check `UpgradeToCapella` comply with spec implementation.

Types

type ForkConfig

type ForkConfig struct {
	PostFork    string `json:"post_fork"`
	ForkEpoch   int    `json:"fork_epoch"`
	ForkBlock   *int   `json:"fork_block"`
	BlocksCount int    `json:"blocks_count"`
}

Jump to

Keyboard shortcuts

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