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: issue where NotImplmeneted error was not raised #1802

Merged
merged 1 commit into from
Jan 2, 2024

Conversation

antazoey
Copy link
Member

@antazoey antazoey commented Jan 2, 2024

What I did

I noticed for all the dev providers, when calling a method that didnt exist (such as debug_traceCall in non-updated hardhat nodes), it would not fail with NotImplemented error. We have some other logic in trace mgmt that depends on these errors being raised so this PR fixes it here in core.

How I did it

I figured this was shareable, small enough, and generic enough to just put in core.

I noticed this problem when trying to repro #1777 ; it did cause some issues for my in my coverage , but not the same as the ones from the issue so im not sure how related it is.

How to verify it

Checklist

  • All changes are completed
  • New test cases have been added
  • Documentation has been updated

@antazoey antazoey merged commit 0aa16d6 into ApeWorX:main Jan 2, 2024
15 checks passed
@antazoey antazoey deleted the fix/rpc-not-impl branch January 2, 2024 19:16
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.

2 participants