EspressoSystems / EspressoSystems/espresso-network
foundry optimzer setting
Open
- Dominant language
- Rust
- Stars
- 193
- Forks
- 177
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 60
Description
Currently, contract compilation is too slow and hurts dev experience.
We should remove these from default profile to speed things up
https://github.com/EspressoSystems/espresso-sequencer/blob/50e0368f3efd7485cbfecf687c066a46a4b3f1fc/foundry.toml#L12-L14
I believe the reason we set `via-ir = true` to work around "stack too deep" problem, but there are many other ways to reduce local variables and stack usage.
additionally, we should probably have a profile for deployments that has higher optimizer run?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.