Skip to content

Init command panics if genesis has empty config #62

@calbera

Description

@calbera

Upstream minor bug - genesis.IsVerkle() call panics with nil pointer deref if the genesis config doesn't contain a config field, even though the config field is not explicitly required.

triedb = utils.MakeTrieDatabase(ctx, chaindb, ctx.Bool(utils.CachePreimagesFlag.Name), false, genesis.IsVerkle())

Some execution spec tests fail because they don't have the config section filled out in the genesis.json.

Failing on geth upstream v1.16.2 so not a bera-geth specific issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    testingupstreamShould be addressed in the upstream repo

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions