Skip to content

Replace etchHook with create2deployer#4

Merged
saucepoint merged 5 commits intomainfrom
anvil-create2
Sep 11, 2023
Merged

Replace etchHook with create2deployer#4
saucepoint merged 5 commits intomainfrom
anvil-create2

Conversation

@saucepoint
Copy link
Collaborator

@saucepoint saucepoint commented Sep 11, 2023

Now that anvil comes with a default create2 deployer, we can mine hook addresses and deterministically deploy then with the create2 deployer proxy

This replaces a janky anvil-specific vm.etch helper function.

Bonus: cleans up testing devex by using create2 instead of implementation + etch pattern

@saucepoint saucepoint merged commit 6ba5739 into main Sep 11, 2023
@saucepoint saucepoint deleted the anvil-create2 branch September 11, 2023 18:56
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.

1 participant