Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

fix(solc): duplicate contracts segments #832

Merged
merged 4 commits into from
Jan 27, 2022

Conversation

mattsse
Copy link
Collaborator

@mattsse mattsse commented Jan 26, 2022

Motivation

Ref foundry-rs/foundry#583

Solution

See new docs, this is a bit ambiguous the correct solution would be to adjust the remappings to @openzeppelin/contracts/ however this a another edge case that complicates remapping detection quite a bit, as a workaround we check for this common scenario during import resolving

PR Checklist

  • Added Tests
  • Added Documentation
  • Updated the changelog

@mattsse mattsse force-pushed the matt/fix-contracts-detection branch from 030452e to c2feea8 Compare January 26, 2022 13:16
@gakonst gakonst merged commit 5da2eb1 into gakonst:master Jan 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants