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

fix: forge build now specifies correct script directory #174

Merged
merged 2 commits into from
Jun 26, 2024

Conversation

shaspitz
Copy link
Contributor

Previously bugs like #173 would not be caught by ci, because forge thinks scripts reside in the script directory by default. Our script directory is actually scripts as addressed in this PR. Now forge test, forge build etc. will fail as expected when one of the solidity scripts doesn't build.

@@ -6,7 +6,6 @@ import "../contracts/ProviderRegistry.sol";
import "../contracts/PreConfCommitmentStore.sol";
import "../contracts/Oracle.sol";
import "../contracts/Whitelist.sol";
import "../contracts/validator-registry/ValidatorRegistryV1.sol";
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this dep is unneeded for core deployment

@@ -1,35 +1,38 @@
// SPDX-License-Identifier: BSL 1.1
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Changes necessary to make this script build and pass ci

@shaspitz shaspitz requested review from mrekucci, Mikelle and ckartik June 26, 2024 19:15
@shaspitz shaspitz merged commit 32da5a3 into main Jun 26, 2024
6 checks passed
@shaspitz shaspitz deleted the fix-forge-build branch June 26, 2024 19:51
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.

3 participants