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(anvil): set from field to impersonated address #3813

Merged

Conversation

mattsse
Copy link
Member

@mattsse mattsse commented Dec 1, 2022

Motivation

Closes #3808

set from field explicitly for pending tx.

Solution

there's TransactionInfo yet (created after execution) so the from field was set to recovered address.
this will set from to the impersonated address.

@mattsse mattsse added T-bug Type: bug C-anvil Command: anvil labels Dec 1, 2022
@mattsse mattsse force-pushed the matt/set-from-forimpersonated-pending branch from bfb973a to fdf4f24 Compare December 1, 2022 21:59
@gakonst gakonst merged commit 1956499 into foundry-rs:master Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-anvil Command: anvil T-bug Type: bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Impersonated transactions from = address(0)
2 participants