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

chore: add more logging [APE-1328] #100

Merged
merged 2 commits into from
Aug 28, 2023
Merged

Conversation

antazoey
Copy link
Member

What I did

In combo with ApeWorX/ape#1628 may help debug issues with using contract fetching in certain environments.

However, please let me know any other logging that will help in this process!

How I did it

How to verify it

Checklist

  • Passes all linting checks (pre-commit and CI jobs)
  • New test cases have been added and are passing
  • Documentation has been updated
  • PR title follows Conventional Commit standard (will be automatically included in the changelog)

@vany365 vany365 changed the title chore: add more logging chore: add more logging [APE-1328] Aug 25, 2023
@@ -8,6 +8,7 @@
from ape.logging import logger
from ape.utils import USER_AGENT, ManagerAccessMixin
from requests import Session
from yarl import URL
Copy link
Member

Choose a reason for hiding this comment

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

Should probably use this in the RPC debug in core because it's currently showing my project id lol

Copy link
Member Author

Choose a reason for hiding this comment

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

hmm , I thought we were already!

Maybe this is happening in the foundry plugin when connecting to the upstream provider?
Show me where if you find it. I know ape-geth handles it well but it may be missed elsewhere.

Copy link
Member

Choose a reason for hiding this comment

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

it was doing it for me w/ infura at least

Copy link
Member Author

Choose a reason for hiding this comment

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

I am having troubles locating where this might be happening. Can you share with me what the log looks like?

Copy link
Member

Choose a reason for hiding this comment

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

I think I was doing debug on running apepay

@antazoey antazoey marked this pull request as ready for review August 28, 2023 20:05
@antazoey antazoey merged commit 106d846 into ApeWorX:main Aug 28, 2023
4 of 12 checks passed
@antazoey antazoey deleted the chore/ct-logging branch August 28, 2023 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants