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

Fix warn logs in gas analyzer #1580

Open
pgebal opened this issue Jun 13, 2020 · 1 comment
Open

Fix warn logs in gas analyzer #1580

pgebal opened this issue Jun 13, 2020 · 1 comment

Comments

@pgebal
Copy link
Contributor

pgebal commented Jun 13, 2020

Gas analyzer prints lot of warn logs because it can't get transaction receipt by txhash.
Find the reason why that happens.

Also consider decreasing log level and print warn only when maximum number of retries is reached.

logs:
https://app.datadoghq.com/logs?cols=core_host%2Ccore_service&context_event=AQAAAXKur5tgbFfU4QAAAABBWEt1cjZMLTJRWkpJbUhZVGdBQw&event&from_ts=1592065223765&index=&live=false&messageDisplay=inline&query=host%3Agke-prod-a69c763f-ma-default-nodepool-f6df2b49-wdx4.c.omisego-production.internal+service%3Achild_chain+container_id%3A1334edeba23c9c5cc8b79d002010fe4dd0bcb94ce072349f7c04823134c3c0d1+filename%3A0.log+status%3Awarn&stream_sort=desc&to_ts=1592067600000

@InoMurko
Copy link
Contributor

the warn logs come out because transactions that are not accepted don't have information about used gas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants