prysm-pulse/beacon-chain/state/genesis/genesis_mainnet.go
kasey f4307a902c
build tag to exclude mainnet genesis from prysmctl (#12244)
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2023-04-06 19:45:35 +00:00

20 lines
310 B
Go

//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
}