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

✨ Port all contracts to Foundry #712

Merged
merged 35 commits into from
Apr 5, 2024
Merged

✨ Port all contracts to Foundry #712

merged 35 commits into from
Apr 5, 2024

Conversation

cairoeth
Copy link
Collaborator

@cairoeth cairoeth commented Mar 21, 2024

  • Ports all tests to foundry
  • Updates READMEs to reference correct directory paths
  • Updates client scripts to use correct foundry output paths
  • Updates package.json to use forge and anvil instead of hardhat
  • Formatted files using foundry's formatter (forge fmt)
  • Moved contracts to src folder

Speed difference:

forge t  0.76s user 0.61s system 188% cpu 0.727 total

yarn test  20.70s user 0.70s system 222% cpu 9.612 total

Around 13x faster.

@cairoeth cairoeth requested review from xaler5 and removed request for xaler5 and GianfrancoBazzani March 22, 2024 19:50
@xaler5 xaler5 merged commit ebf7e29 into master Apr 5, 2024
5 checks passed
@xaler5 xaler5 deleted the foundry branch April 5, 2024 17:02
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.

2 participants