Skip to content
This repository was archived by the owner on Mar 3, 2022. It is now read-only.

Reorganize contracts in the src folder #33

Merged
merged 1 commit into from
Nov 5, 2021

Conversation

vtleonardo
Copy link
Collaborator

@vtleonardo vtleonardo commented Nov 5, 2021

Scope

This PR is reorganizing all the contracts inside the folder src for better clarity.

The only file removed in the PR was src/Experiment.t.sol, the rest of the files were just moved around. The imports in all the contracts were fixed to reflect the new locations. The commands make all and make test were executed successfully without any change in the number of files compiled of tests executed.

The new folder struct:
image

Why?

The contracts were moved in order to have a separation of concerns.

Todos

The following PRs will be removing the git submodules in order to make the contracts compatible with any smart contract frameworks (truffle, hardhat, remix, etc).

Copy link
Contributor

@ricardopinto ricardopinto left a comment

Choose a reason for hiding this comment

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

looks good to me

Copy link
Contributor

@anthonygd anthonygd left a comment

Choose a reason for hiding this comment

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

Makes sense.

@anthonygd anthonygd merged commit e34891b into MadBase:main Nov 5, 2021
@vtleonardo vtleonardo deleted the reorganize-repo branch February 7, 2022 13:55
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.

3 participants