-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
bug(export): genesis.json shows some plain-text logs #13331
Comments
Mhhh smells like a regression :/ |
It looks like crisis invariants are run on export, if you skip them does it fix the issue you are running into? |
Either way, we should ensure the output goes to dev/null unless the invariants fail. |
@alexanderbez What about writing genesis to a file instead of printing to stdout? We could add a flag like below.
Even if we eliminate invariants logs, For example:
Is there an easy way to send info logs to /dev/null? |
@jacobhjkim I'm in favor of that :) |
@Pantani commented on Tue Sep 06 2022
Summary of Bug
Export genesis JSON from a local chain will add some log lines to the begging of the file.
Version
v7.0.3
Steps to Reproduce
gaiad export --for-zero-height --height=5 > local-genesis.json
Solution
Remove the stdout from the context logger for the export command.
For Admin Use
@okwme commented on Mon Sep 19 2022
could be related to this: #8498
The text was updated successfully, but these errors were encountered: