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

Add support for prank #838

Closed
montyly opened this issue Oct 13, 2022 · 6 comments
Closed

Add support for prank #838

montyly opened this issue Oct 13, 2022 · 6 comments
Assignees

Comments

@montyly
Copy link
Member

montyly commented Oct 13, 2022

We should support foundry's prank to ease the integration with foundry. This might require us to make change in hevm itself

@ggrieco-tob
Copy link
Member

This could be a request for ethereum/hevm

@ggrieco-tob
Copy link
Member

Btw, we have a kind of implicit version of prank supported, where the sender specified in could be a smart contract so we "fake" transaction from there. It is not explicitly documented, but it should work out of the box (however, it can still generate false positives, as expected).

@rappie
Copy link

rappie commented Oct 25, 2022

Btw, we have a kind of implicit version of prank supported, where the sender specified in could be a smart contract so we "fake" transaction from there.

I have been using this quite successfully without any problems so far.

Having something like foundry's prank would make this a lot easier though! It would make me really happy to have this feature 😄

@arcz
Copy link
Member

arcz commented Jan 9, 2023

Prank just got merged in hevm ethereum/hevm#167, will be available from the next release.

@arcz arcz self-assigned this Jan 9, 2023
@rappie
Copy link

rappie commented Jan 9, 2023

Experimental PR here: #897

@ggrieco-tob
Copy link
Member

This was merged into master. Please test.

@arcz arcz closed this as completed Jan 20, 2023
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

No branches or pull requests

4 participants