Skip to content

Conversation

DaniPopes
Copy link
Member

Towards #11456.

0xrusowsky
0xrusowsky previously approved these changes Aug 28, 2025
Copy link
Contributor

@0xrusowsky 0xrusowsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clean 🤝

@0xrusowsky
Copy link
Contributor

@DaniPopes looks like tests need to be updated (not a big deal), although not sure why that wasn't an issue before

@DaniPopes
Copy link
Member Author

We didn't have a project before. This does call solc but with the minimum work possible

@0xrusowsky
Copy link
Contributor

oh sure, makes sense...

@DaniPopes DaniPopes enabled auto-merge (squash) August 28, 2025 14:58
0xrusowsky
0xrusowsky previously approved these changes Aug 28, 2025
Copy link
Contributor

@onbjerg onbjerg left a 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`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// `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

Copy link
Member Author

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

@onbjerg onbjerg moved this to Ready For Review in Foundry Aug 28, 2025
@DaniPopes DaniPopes merged commit c714a0a into master Aug 28, 2025
44 of 46 checks passed
@DaniPopes DaniPopes deleted the dani/eip712-global-solar branch August 28, 2025 15:41
@github-project-automation github-project-automation bot moved this from Ready For Review to Done in Foundry Aug 28, 2025
@DaniPopes DaniPopes self-assigned this Sep 1, 2025
@grandizzy grandizzy moved this from Done to Completed in Foundry Sep 1, 2025
MerkleBoy pushed a commit to MerkleBoy/foundry that referenced this pull request Sep 17, 2025
* chore(forge eip712): use solar from compiler output

* com

* output

* fix: actually select nothing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Completed
Development

Successfully merging this pull request may close these issues.

3 participants