upgrade-scripts
upgrade-scripts copied to clipboard
fix(contracts): solve issue with foundry remappings
Hi, thank you for working on this. Super helpful when dealing with proxies and foundry!
Would like to propose this small update because since I upgrade to the latest nightly version of forge I started having this issue: https://github.com/foundry-rs/foundry/issues/3440.
Hi Gabi, thanks for your interest and for reporting this. I can't reproduce the issue myself. Everything seems to be working as expected on the latest foundry version. Or perhaps I don't fully understand the issue.
Did you look into the discussion at
- https://github.com/PaulRBerg/prb-math/issues/147
Do you have auto_detect_remappings = true
in your foundry.toml?
Can you maybe share a repository where this is an issue?
Oh I didn't know about that config for foundry.toml
. I just give it a try and it is still an issue for me 🤔
Here is the project were we are working with upgrade-scripts
:
- https://github.com/BlossomLabs/OsmoticFund/tree/controller-tests/pkg/contracts
Note that I update the submodule to point to our forked version: https://github.com/BlossomLabs/OsmoticFund/blob/controller-tests/.gitmodules#L17