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

Switches core contracts to utilize relative imports #75

Merged
merged 2 commits into from
Feb 6, 2024
Merged

Switches core contracts to utilize relative imports #75

merged 2 commits into from
Feb 6, 2024

Conversation

leeren
Copy link
Contributor

@leeren leeren commented Feb 6, 2024

This PR switches all core contracts to using relative imports. This is so that projects that declare protocol-core as a dependency do not run into any issues with path resolution, as evidenced by issues such as [this (https://github.com/foundry-rs/foundry/issues/3440) or this.

As soon as a fix for the above has been found, we can switch back to absolute imports, as they provide cleaner semantics, but until then this will be best from a open-source development PoV, and why most major protocol repos do the same.

@leeren leeren merged commit e379b09 into storyprotocol:main Feb 6, 2024
1 check passed
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