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

EVM Engineering: add pseudo-constructor function to interfaces #12021

Closed
smartcontracts opened this issue Sep 20, 2024 · 0 comments
Closed

EVM Engineering: add pseudo-constructor function to interfaces #12021

smartcontracts opened this issue Sep 20, 2024 · 0 comments

Comments

@smartcontracts
Copy link
Contributor

We're using interfaces and vm.getCode in our deployments now which breaks type checking. I'd like to add a __constructor__ function to our interfaces so that we can (1) export the interface of the constructor and (2) use abi.encodeCall to retain type safety.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant