mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
fix: activate verkle at genesis (#284)
This commit is contained in:
parent
990395c688
commit
acb4a30555
1 changed files with 1 additions and 0 deletions
|
|
@ -208,6 +208,7 @@ func initGenesis(ctx *cli.Context) error {
|
||||||
}
|
}
|
||||||
triedb := trie.NewDatabaseWithConfig(chaindb, &trie.Config{
|
triedb := trie.NewDatabaseWithConfig(chaindb, &trie.Config{
|
||||||
Preimages: ctx.Bool(utils.CachePreimagesFlag.Name),
|
Preimages: ctx.Bool(utils.CachePreimagesFlag.Name),
|
||||||
|
Verkle: true,
|
||||||
})
|
})
|
||||||
_, hash, err := core.SetupGenesisBlock(chaindb, triedb, genesis)
|
_, hash, err := core.SetupGenesisBlock(chaindb, triedb, genesis)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue