-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
add option to disable block rewards in indexer config #1572
Conversation
ran same test locally everything is fine @vbaranov , @zachdaniel |
application=indexer fetcher=block_reward count=10 error_count=10 [error] failed to fetch: @g: (404) Not Found i am facing this issue please help,i also uncomment the "uncomment the line config :indexer, Indexer.Block.Reward.Supervisor, disabled?: true" in apps/indexer/config/config.exs but no luck. |
Not all chains distribute block reward, e.g. SpringChain. If chain don't have block reward, console is spammed with error:
application=indexer fetcher=block_reward count=10 error_count=10 [error] failed to fetch: @㍪: (404) Not Found
Fixes #1526 and #1563.
Just uncomment the line
config :indexer, Indexer.Block.Reward.Supervisor, disabled?: true
in apps/indexer/config/config.exs