Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/utils: fix --dev mode Fatalf for genesis conf #453

Merged
merged 2 commits into from
Feb 14, 2022

Conversation

meowsbits
Copy link
Contributor

Using --dev flag caused geth to
Fatalf. The program was trying to
install the genesis, where each
of two genesis resolution logics
fataled under dev mode. Apparently
dev mode does not use normal people's
genesis functions.

This seems to make it work.

Date: 2022-02-02 07:44:57-08:00
Signed-off-by: meows [email protected]

Using --dev flag caused geth to
Fatalf. The program was trying to
install the genesis, where each
of two genesis resolution logics
fataled under dev mode. Apparently
dev mode does not use normal people's
genesis functions.

This seems to make it work.

Date: 2022-02-02 07:44:57-08:00
Signed-off-by: meows <[email protected]>
Date: 2022-02-02 10:33:14-08:00
Signed-off-by: meows <[email protected]>
Copy link
Member

@ziogaschr ziogaschr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM and tested

@meowsbits meowsbits merged commit 9540514 into master Feb 14, 2022
@meowsbits meowsbits deleted the fix/dev-mode-flag-genesis branch February 14, 2022 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants