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

fix(core): keep duplicate and orphan remappings #226

Merged
merged 3 commits into from
Nov 13, 2024

Conversation

beeb
Copy link
Collaborator

@beeb beeb commented Nov 13, 2024

The remappings generation function was not keeping duplicate remappings for a given dependency.

Also, the previous behavior was to remove items which could not be matched to an existing dependency. This was apparently not the desired behavior and has been changed so that they are kept.

A test has been added to prevent regressions.

Closes #225

The remappings generation function was not keeping duplicate remappings
for a given dependency, and was removing items which could not be
matched to an existing dependency. This has been fixed by keeping all
existing remappings matching a dependency, and adding back those that do
not match one.
@beeb beeb changed the title fix: duplicate and orphan remappings were deleted fix(core): duplicate and orphan remappings were deleted Nov 13, 2024
@beeb beeb changed the title fix(core): duplicate and orphan remappings were deleted fix(core): duplicate and orphan remappings being deleted Nov 13, 2024
@beeb beeb changed the title fix(core): duplicate and orphan remappings being deleted fix(core): keep duplicate and orphan remappings Nov 13, 2024
@beeb beeb merged commit 0bd4876 into mario-eth:main Nov 13, 2024
8 checks passed
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.

forge soldeer install removes a mapping
2 participants