Skip to content

Move to foundry v1 and benchmark#14427

Merged
JosepBove merged 6 commits intodevelopfrom
evm/foundry-v1
Feb 24, 2025
Merged

Move to foundry v1 and benchmark#14427
JosepBove merged 6 commits intodevelopfrom
evm/foundry-v1

Conversation

@JosepBove
Copy link
Copy Markdown
Member

@JosepBove JosepBove commented Feb 19, 2025

Prepare the changes to move to foundry's version 1. @mds1 asked for a benchmark of building and testing, here you have the results on a M3 Max.

After migration:

  • just build-dev: 38.94s
  • just build: 185.64s

(this includes the build as I am running just clean between benchmarks)

  • just test-dev: 1043.79s (- compilation: 1004.85s)
  • just test 917.71s (- compilation: 732.07s)

Before migration:

  • just build-dev: 39.15s
  • just build: 188.48s

(this includes the build as I am running just clean between benchmarks)

  • just test-dev : 1011.86s (- compilation: 972.71s)
  • just test: 935.23s (- compilation: 746.75s)

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 19, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.54%. Comparing base (30056a9) to head (796e379).
Report is 42 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff              @@
##           develop   #14427       +/-   ##
============================================
+ Coverage    46.27%   76.54%   +30.26%     
============================================
  Files         1014      176      -838     
  Lines        87347    10325    -77022     
============================================
- Hits         40424     7903    -32521     
+ Misses       43898     2241    -41657     
+ Partials      3025      181     -2844     
Flag Coverage Δ
cannon-go-tests-32 61.89% <ø> (-2.02%) ⬇️
cannon-go-tests-64 56.54% <ø> (-1.65%) ⬇️
contracts-bedrock-tests 94.26% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

see 854 files with indirect coverage changes

@JosepBove JosepBove marked this pull request as ready for review February 19, 2025 10:32
@JosepBove JosepBove requested review from a team as code owners February 19, 2025 10:32
@JosepBove JosepBove requested review from ajsutton and mds1 and removed request for ajsutton February 19, 2025 10:32
@JosepBove JosepBove added this pull request to the merge queue Feb 24, 2025
Merged via the queue into develop with commit da6e1ed Feb 24, 2025
3 checks passed
@JosepBove JosepBove deleted the evm/foundry-v1 branch February 24, 2025 04:23
Rjected pushed a commit to paradigmxyz/optimism that referenced this pull request Feb 25, 2025
* bump to foundry v1

* library harness failing

* rm return name

* fix internal revert tests

* rerun CI

* move to v1 tag
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