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

Viem anvil #109

Merged
merged 12 commits into from
Oct 20, 2023
Merged

Viem anvil #109

merged 12 commits into from
Oct 20, 2023

Conversation

agualis
Copy link
Contributor

@agualis agualis commented Oct 18, 2023

Setup @viem/anvil to automatically run anvil fork with default parameters.

@brunoguerios
Copy link
Member

brunoguerios commented Oct 18, 2023

Awesome work @agualis ! 👏
I do have a few questions 😅
How does this actually work? Does the fork automatically run before each test? Or does it run only once before all tests?
I ask because while implementing nested joins/exits with relayer queries, I need the fork to not be reset before each test
I know it’s an edge case, but I’d like to get a sense on how to handle this.

@agualis agualis marked this pull request as draft October 18, 2023 15:25
@agualis agualis marked this pull request as ready for review October 19, 2023 15:01
@johngrantuk johngrantuk merged commit eaa0218 into anvil-tests Oct 20, 2023
4 checks passed
@johngrantuk johngrantuk deleted the viem-anvil branch October 20, 2023 08:11
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