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

Use deployCodeTo in hook tests #69

Closed
ferencdg opened this issue Oct 29, 2023 · 1 comment
Closed

Use deployCodeTo in hook tests #69

ferencdg opened this issue Oct 29, 2023 · 1 comment

Comments

@ferencdg
Copy link

ferencdg commented Oct 29, 2023

Component

General design optimization (improving efficiency, cleanliness, or developer experience)

Describe the suggested feature and problem it solves.

You could use the deployCodeTo function in Hook tests from the Foundry standard library to deploy code to a specific address. The current way of creating a subclass looks a bit messy.

Describe the desired implementation.

No response

Describe alternatives.

No response

Additional context.

No response

@saucepoint
Copy link
Collaborator

agreed we should move to deployCodeTo

given that we removed the hook examples from the main branch, this issue may not longer be relevant

reference PR #122

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

2 participants