fork

package
v6.1.3 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2025 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunForkTransitionTest added in v6.1.1

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

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

func RunUpgradeToFulu

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

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

Types

type Config added in v6.1.1

type Config 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