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

Support ignoring Hardhat compile errors when extracting detailed namespaced storage layouts for validations #1090

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

ericglau
Copy link
Member

@ericglau ericglau commented Oct 4, 2024

Fixes #1088

Support ignoring Hardhat compile errors when extracting detailed namespaced storage layouts for validations.

This can be done by setting the new option namespacedCompileFailure in the hardhat config, which supports error (default), warn, or ignore.

For example:

module.exports = {
  namespacedCompileFailure: 'warn',
};

or

module.exports = {
  namespacedCompileFailure: 'ignore',
};

Copy link

socket-security bot commented Oct 4, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/promisified@0.5.0 None 0 11.4 kB frangio
npm/proxyquire@2.1.3 unsafe Transitive: filesystem +1 172 kB bendrucker
npm/sinon@19.0.2 None +3 5.85 MB cjohansen, fatso83, mantoni, ...1 more
npm/undici@6.19.8 environment, network 0 1.13 MB matteo.collina

🚮 Removed packages: npm/@openzeppelin/upgrades-core@1.39.0

View full report↗︎

@ericglau ericglau changed the title Support ignoring Hardhat compile errors when extracting detailed namespaced storage layouts for validations. Support ignoring Hardhat compile errors when extracting detailed namespaced storage layouts for validations Oct 4, 2024
@ericglau ericglau marked this pull request as ready for review October 4, 2024 21:47
@ericglau ericglau requested review from a team and frangio October 4, 2024 21:47
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.

Allow namespaced compilation failures to be ignored
1 participant