prysm-pulse/beacon-chain/sync/genesis/log.go
Preston Van Loon 9a2c2470c6
db: Log a warning if the genesis state is smaller than 1Kb (#12897)
* Add warning with a small genesis state

* 1<<10 is 1Kb

* Add genesis state loading with hash information

---------

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-09-23 15:29:15 +00:00

6 lines
102 B
Go

package genesis
import "github.com/sirupsen/logrus"
var log = logrus.WithField("prefix", "genesis")