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

Cleanup forge remappings #11301

Merged
merged 4 commits into from
Dec 20, 2024

Conversation

m-chrzan
Copy link
Contributor

@m-chrzan m-chrzan commented Dec 16, 2024

Description

Forge remappings were placed in 3 different files, one of which doesn't even appear to be used anywhere. This PR consolidates all of them into remappings.txt in the protocol package.

TODO:

  • CI is failing. Investigate and fix.
    • scripts/foundry/deploy_libraries.sh copies necessary files (including foundry.toml) to a temporary directory. remappings.txt was not depended on, but is needed now, so added it there.

Tested

forge clean && forge build && forge test works

Other changes

Copy remappings.txt during library build process in scripts/foundry/deploy_libraries.sh.

Related issues

@m-chrzan m-chrzan requested a review from a team as a code owner December 16, 2024 17:31
@m-chrzan m-chrzan marked this pull request as draft December 16, 2024 17:44
@m-chrzan m-chrzan marked this pull request as ready for review December 18, 2024 14:35
@martinvol martinvol merged commit 9ba5596 into release/core-contracts/12 Dec 20, 2024
24 of 25 checks passed
@martinvol martinvol deleted the m-chrzan/cleanup-remappings branch December 20, 2024 13:25
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