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

refactor: repo structure #652

Merged
merged 7 commits into from
Aug 29, 2024
Merged

refactor: repo structure #652

merged 7 commits into from
Aug 29, 2024

Conversation

0xOneTony
Copy link

@0xOneTony 0xOneTony commented Aug 26, 2024

The restructure of the repo is described here: https://www.notion.so/defi-wonderland/Repository-Restructure-b63179e113884c79b6f797f5db940109

Also updated remappings and imports.

Decided to delete a lot of test files and test helper contracts and mocks from strategies that are in the deprecated folder. Things get complex if we try to have tests for old and new strategies. v2.1 should only include tests for core and the refactored strategies, extensions and libraries.

import {ERC20} from "solady/tokens/ERC20.sol";
// Interfaces
import "./interfaces/IRegistry.sol";
import {IRegistry} from "./interfaces/IRegistry.sol";

Choose a reason for hiding this comment

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

(This can be in another PR) Would be cool to remove relative paths and just use the remappings.

Copy link
Author

Choose a reason for hiding this comment

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

100% I started changing but it was popping up more issues on certain contracts so I left for an other PR the rest. I will open a ticket

test/utils/Time.sol Outdated Show resolved Hide resolved
@0xAustrian 0xAustrian changed the title refactor/repo-structure refactor: repo structure Aug 27, 2024
@0xOneTony 0xOneTony marked this pull request as ready for review August 28, 2024 10:58
foundry.toml Outdated Show resolved Hide resolved
@0xOneTony 0xOneTony merged commit 1cafacb into v2.1 Aug 29, 2024
1 check 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.

4 participants