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

OP Networks Add #646

Merged
merged 4 commits into from
Jan 22, 2025
Merged

Conversation

ElliotFriedman
Copy link
Contributor

Add: zora, race, metal, binary, orderly and mode testnets and mainnet configs.

… configs

Signed-off-by: Elliot <elliotfriedman3@gmail.com>
Signed-off-by: Elliot <elliotfriedman3@gmail.com>
@mds1
Copy link
Collaborator

mds1 commented Jan 22, 2025

Hey @zerosnacks @grandizzy, looks like the foundryup changes broke CI here—could you PR in a fix?

edit: I read to fast and the foundryup change is just a warning, the actual CI failure is stack too deep

Signed-off-by: Elliot <elliotfriedman3@gmail.com>
@ElliotFriedman
Copy link
Contributor Author

I was able to replicate this locally, however I backed my changes out locally and the issue still appeared, which tells me this is likely an issue that popped up within the latest foundry release.

None of this code adds new stack variables that would cause the stack too deep issue.

@ElliotFriedman
Copy link
Contributor Author

I could not replicate this issue on my machine until I updated foundry, then I was able to reproduce, which points to this issue stemming from the latest foundry release.

@grandizzy
Copy link
Collaborator

yeah, we probably have to add optimizer = true and optimizer_runs = 200 in foundry.toml to keep same setup

Signed-off-by: Elliot <elliotfriedman3@gmail.com>
@ElliotFriedman
Copy link
Contributor Author

yeah, we probably have to add optimizer = true and optimizer_runs = 200 in foundry.toml to keep same setup

Done, that seems to fix the problem, at least locally.

It's hard to understand what downstream effects this will have if any of users of the library.

Would this force compile of tests in downstream repos with these optimizer settings?

@grandizzy
Copy link
Collaborator

yeah, we probably have to add optimizer = true and optimizer_runs = 200 in foundry.toml to keep same setup

Done, that seems to fix the problem, at least locally.

It's hard to understand what downstream effects this will have if any of users of the library.

Would this force compile of tests in downstream repos with these optimizer settings?

That's correct. This was the default in foundry until foundry-rs/foundry#9657 which disables optimizer by default, so I don't think there'll be any issue.

@zerosnacks
Copy link
Member

Thanks @ElliotFriedman!

@zerosnacks zerosnacks merged commit 999be66 into foundry-rs:master Jan 22, 2025
3 checks passed
@ElliotFriedman ElliotFriedman deleted the feat/op-networks-add branch January 23, 2025 18:31
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.

4 participants