diff --git a/ethergo/backends/geth/config.go b/ethergo/backends/geth/config.go index f4e242e0f1..e0c570170a 100644 --- a/ethergo/backends/geth/config.go +++ b/ethergo/backends/geth/config.go @@ -47,6 +47,10 @@ func makeEthConfig(address common.Address, config *params.ChainConfig) *ethconfi ethConfig := ethconfig.Defaults ethConfig.NetworkId = config.ChainID.Uint64() ethConfig.Genesis = core.DeveloperGenesisBlock(10000000, address) + ethConfig.Genesis.ExtraData = append([]byte{}, make([]byte, 32)...) // 32 bytes of vanity + ethConfig.Genesis.ExtraData = append(ethConfig.Genesis.ExtraData, address.Bytes()...) // Signer address + ethConfig.Genesis.ExtraData = append(ethConfig.Genesis.ExtraData, make([]byte, 65)...) // 65 bytes of signature + ethConfig.Genesis.Config = config ethConfig.Miner.Etherbase = address ethConfig.SyncMode = downloader.FullSync