Skip to content

Conversation

clement-ux
Copy link
Collaborator

@clement-ux clement-ux commented Aug 18, 2025

Description

This PR aims to migrate from Brownie to Foundry to generate runlogs (mostly used for strategy funds allocation) as Brownie is not actively maintained and because I really love Foundry too.

How to use it?

Follow the README.md.

What is new?

  • The JSON Safe handles chains ID, so Safe doesn't complain anymore when we import a mainnet labeled json for a Base action.
  • No need to run a second anvil/hardhat node in parallel, the script will instantly create a anvil fork at the latest block.
  • Simulations are more flexible and now some fork test can be added after the simulation, to ensure correct behavior.
  • Simulate tx + Generate Safe ready JSON in a single command line.
  • It seems a bit faster than brownie, but I didn't measure it.
  • Logs will be displayed the same as before.
  • 100% using solidity contract, no python, no js, nothing but solidity!

Copy link

github-actions bot commented Aug 18, 2025

Warnings
⚠️ 👀 This PR needs at least 2 reviewers

Generated by 🚫 dangerJS against 6e8c657

Copy link

codecov bot commented Aug 18, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 35.52%. Comparing base (d71fe18) to head (6e8c657).
⚠️ Report is 15 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2623      +/-   ##
==========================================
+ Coverage   34.94%   35.52%   +0.58%     
==========================================
  Files         112      112              
  Lines        5331     5331              
  Branches     1412     1412              
==========================================
+ Hits         1863     1894      +31     
+ Misses       3466     3436      -30     
+ Partials        2        1       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@clement-ux clement-ux marked this pull request as ready for review August 18, 2025 07:51
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.

3 participants