Add a validation phase for the resolved configuration #3500
Labels
good-first-issue
Good for newcomers. Guidance available if needed
status:ready
This issue is ready to be worked on
type:improvement
We validate the values provider in the user config, but not the ones that result after resolving the configuration (using our resolution and the config extenders). This is a blocker for #3323 and makes #3488 harder to do.
We should add something like
validateResolvedConfig(resolved)
after this:hardhat/packages/hardhat-core/src/internal/core/config/config-loading.ts
Lines 107 to 109 in a1a36f8
Validating the number of optimizer runs (#3488) is easy and low risk, so maybe that could be the first validation included there.
The text was updated successfully, but these errors were encountered: