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

(cli-2.0) SmartProvider logs pollute output #4006

Closed
ltyu opened this issue Jun 19, 2024 · 0 comments
Closed

(cli-2.0) SmartProvider logs pollute output #4006

ltyu opened this issue Jun 19, 2024 · 0 comments
Assignees

Comments

@ltyu
Copy link
Contributor

ltyu commented Jun 19, 2024

Problem

In deriveTokenTyp() of EvmERC20WarpRouteReader, Provider errors flood the terminal because of the try-catch TokenType derivation. This is problematic because they look like real errors, but are expected.

Solution

  • Consider adding logic to turn off the errors temporarily within this method, and then re-enabling it afterwards.
  • Modify the SmartProvider to add configurability to when to show these errors
  • Filter these errors out somehow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

1 participant