prysm-pulse/beacon-chain/state/genesis/genesis_mainnet.go

20 lines
310 B
Go
Raw Normal View History

//go:build !noMainnetGenesis
// +build !noMainnetGenesis
package genesis
import (
_ "embed"
"github.com/prysmaticlabs/prysm/v4/config/params"
)
var (
//go:embed mainnet.ssz.snappy
mainnetRawSSZCompressed []byte // 1.8Mb
)
func init() {
embeddedStates[params.MainnetName] = &mainnetRawSSZCompressed
}