matter-labs / foundry-zksync

Fork of Foundry tailored for zkSync environment
Apache License 2.0
299 stars 130 forks source link

refactor: implement new compilers api #535

Closed elfedy closed 2 months ago

elfedy commented 3 months ago

Motivation

foundry-compilers fork was refactored to implement a couple of generic apis of the upstream repo. The refactor includes some changes in the API, the most important one being that zksync flow now uses it's own dedicated Project instead of living along the evm one.

Solution

Update foundry-compilers dependency and implement the new API. Update includes the creation of the build_info directory and support for --build-info flag which will store full build info (compilation inputs + outputs)