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

refactor: adapt to CompilerContract trait type #9423

Merged
merged 8 commits into from
Dec 4, 2024

Conversation

elfedy
Copy link
Contributor

@elfedy elfedy commented Nov 28, 2024

Motivation

foundry-rs/compilers#224 would introduce a new type to compilers that involves breaking changes to the api.

Solution

Adapt code to those changes. This is a naive way that hardcodes CompilerContract to be Contract most of the time. We could either adapt the code to be more generic (more desirable from a non evm perspective, but also might be better to delay it for further more targeted PRs) or to have Contract as the default CompilerContract in compilers and potentially remove some boilerplate

@elfedy elfedy marked this pull request as ready for review December 4, 2024 16:35
@klkvr klkvr enabled auto-merge (squash) December 4, 2024 16:37
@klkvr klkvr merged commit 3784cd8 into foundry-rs:master Dec 4, 2024
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants