You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our config validation uses the user config, and one of the validations is that all non-Hardhat networks have a URL.
This means that a plugin cannot add its own URL, because by the time the extendConfigs are executed, the user config has been already validated (see for example this)
The resolved config type will still need for the URLs to be mandatory, because we use that in some type guards to distinguish between the Hardhat network and other networks. So we'll probably need to use some dummy values during resolution, and then a post-validation step that checks that no URL has that dummy value.
Our config validation uses the user config, and one of the validations is that all non-Hardhat networks have a URL.
This means that a plugin cannot add its own URL, because by the time the
extendConfig
s are executed, the user config has been already validated (see for example this)The resolved config type will still need for the URLs to be mandatory, because we use that in some type guards to distinguish between the Hardhat network and other networks. So we'll probably need to use some dummy values during resolution, and then a post-validation step that checks that no URL has that dummy value.
Needs #3500
The text was updated successfully, but these errors were encountered: