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

Revert "fix(remappings): check if remapping to add starts with existing remapping name (#9246)" #9274

Merged
merged 1 commit into from
Nov 6, 2024

Conversation

grandizzy
Copy link
Collaborator

@grandizzy grandizzy commented Nov 6, 2024

This reverts commit 455ba9b.

Motivation

Fix added in #9246 affects existing projects compilation
The changed code (checking remappings to add against existing) doesn't account scenario where @openzeppelin/contracts is already added and @openzeppelin/contracts-upgradeable remapping will be discarded (as remapping to add name starts with existing)

Revert and investigate failures
Closes #9271
Closes #9272

Solution

Copy link
Member

@zerosnacks zerosnacks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call, let's revert + release a nightly and investigate

@grandizzy grandizzy enabled auto-merge (squash) November 6, 2024 16:07
@grandizzy grandizzy merged commit 58bf161 into foundry-rs:master Nov 6, 2024
21 checks passed
@grandizzy grandizzy deleted the revert-remappings branch November 6, 2024 16:09
rplusq pushed a commit to rplusq/foundry that referenced this pull request Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants