aboutsummaryrefslogtreecommitdiff
path: root/core/genesis.go
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2020-06-28 16:55:59 -0400
committerDeterminant <[email protected]>2020-06-28 16:55:59 -0400
commit90fae71b0ab27aacdc2f9454820d487a9b2a529a (patch)
tree8b19f7d114119644f4faf35ec46dd25ff00a7d31 /core/genesis.go
parentd235e2c6a5788ec4a6cff15a16f56b38a3876a0d (diff)
...
Diffstat (limited to 'core/genesis.go')
-rw-r--r--core/genesis.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/genesis.go b/core/genesis.go
index 7cab7bf..347beb3 100644
--- a/core/genesis.go
+++ b/core/genesis.go
@@ -38,6 +38,9 @@ import (
"github.com/ava-labs/go-ethereum/rlp"
)
+//go:generate gencodec -type Genesis -field-override genesisSpecMarshaling -out gen_genesis.go
+//go:generate gencodec -type GenesisAccount -field-override genesisAccountMarshaling -out gen_genesis_account.go
+
var errGenesisNoConfig = errors.New("genesis has no chain configuration")
// Genesis specifies the header fields, state of a genesis block. It also defines hard