evm

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeGenesis

func MakeGenesis(network netconf.ID) (core.Genesis, error)

MakeGenesis returns a genesis block for a development chain. See geth reference: https://github.com/ethereum/go-ethereum/blob/master/core/genesis.go#L564

func MarshallBackwardsCompatible added in v0.11.0

func MarshallBackwardsCompatible(genesis core.Genesis) ([]byte, error)

MarshallBackwardsCompatible marshals a genesis into a backwards compatible JSON format.

func PrecompilesAlloc added in v0.10.0

func PrecompilesAlloc() types.GenesisAlloc

precompilesAlloc returns allocs for precompiled contracts precompile balances are set to 1 as a performance optimization, as done in geth.

func PrefundAlloc

func PrefundAlloc(network netconf.ID) (types.GenesisAlloc, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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