Challenge 2: Fix submodule dependencies #26
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #24
Summary
cellar-contracts
since that's all we need for this challenge. This branch is not dependent onyearn-vaults
and@solmate
is handled by the following remapping:Moved the
test
folder to root directory because that's where foundry looks for it by default unless you specify otherwise in thefoundry.toml
. Also may be better practice and easier to find tests if test folder is located at root level of foundry project.Removed all the remappings from
foundry.toml
to keep all of the remapping logic in one place:remappings.txt
Tips for local review of this PR
test/AuraERC4626Adaptor.t.sol
is hardcoded to require an env var with the nameMAINNET_RPC_URL
so you will want to add that to your.env
filelib/
Proof Test Runs with this PR
About the Failing Checks
solidity
job is failing because prettier formatting on files that are unchanged by this PR. Its actually not complaining abouttest/AuraERC4626Adaptor.t.sol
because my prettier hit that file with my auto format on saveFoundry Project
check is failing because it cant find etherescan api key in environment where github workflow is runningcommits
job is failing because it doesn't like my commit messages? 😢