hardhat icon indicating copy to clipboard operation
hardhat copied to clipboard

Hardfork validation needs to be adapted when we make chain types extensible

Open schaable opened this issue 11 months ago • 1 comments

Current behavior: the hardfork value in the user config is validated by Zod as a value in the HardforkName enum. However, this validation is only appropriate for the l1 chain type.

Expected behavior: the hardfork validation should either be based on the chainType or skipped entirely.

schaable avatar Jan 23 '25 14:01 schaable

This issue should take the overrides into account.

schaable avatar Jan 23 '25 15:01 schaable