-
Notifications
You must be signed in to change notification settings - Fork 2.2k
chore(forge eip712): use solar from compiler output #11458
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clean 🤝
@DaniPopes looks like tests need to be updated (not a big deal), although not sure why that wasn't an issue before |
We didn't have a project before. This does call solc but with the minimum work possible |
oh sure, makes sense... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small nit
})?; | ||
|
||
eyre::ensure!(compiler.sess().dcx.has_errors().is_ok(), "errors occurred"); | ||
// `compiler.sess()` inside of `ProjectCompileOutput` is built with `with_buffer_emitter`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// `compiler.sess()` inside of `ProjectCompileOutput` is built with `with_buffer_emitter`. | |
// SAFETY: `compiler.sess()` inside of `ProjectCompileOutput` is built with `with_buffer_emitter`. |
i find the preamble useful for context
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SAFETY should only be used for unsafe
* chore(forge eip712): use solar from compiler output * com * output * fix: actually select nothing
Towards #11456.