Skip to content

Conversation

@0xkarmacoma
Copy link
Contributor

In foundry 0.3.0, the optimizer is off by default:
foundry-rs/foundry#9657

but without the optimizer, the build fails with Yul exception:Cannot swap Variable usr$c1 with Variable usr$r6: too deep in the stack

@0xkarmacoma
Copy link
Contributor Author

cc @daejunpark

Copy link
Collaborator

@moodlezoup moodlezoup left a comment

Choose a reason for hiding this comment

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

thanks!

@moodlezoup moodlezoup merged commit dec37d7 into main Jan 11, 2025
5 checks passed
@0xkarmacoma 0xkarmacoma deleted the fix/enable-optimizer branch January 11, 2025 23:16
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.

3 participants