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

feat: improve impersonating accounts features in core #2195

Merged
merged 5 commits into from
Aug 2, 2024

Conversation

antazoey
Copy link
Member

@antazoey antazoey commented Jul 31, 2024

What I did

I noticed some weird things with impersonating accounts... A bunch of repeated work in places.
And different ways of handling that in send_transaction().
I am working on improving all of that, but in the mean time, I need a more plugin-friendly way of impersonating accounts.

now we get to delete a bunch of code in ape-foundry and ape-hardhat.

How I did it

hence this PR, which separates the key aspect of that into a new API and has the [] access one use that

How to verify it

things work the same and able to refactor something in ape-foundry (coming soon!)

Checklist

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

@antazoey antazoey changed the title feat: expose impersonate account API from test account manager feat: improve impersonating accounts features in core Aug 1, 2024
@antazoey antazoey enabled auto-merge (squash) August 2, 2024 13:44
@antazoey antazoey merged commit 7af55a5 into ApeWorX:main Aug 2, 2024
15 checks passed
@antazoey antazoey deleted the feat/unlock-account branch August 2, 2024 15:00
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