forest icon indicating copy to clipboard operation
forest copied to clipboard

Validate the ChainConfig struct at construction time

Open elmattic opened this issue 3 years ago • 0 comments

Issue summary

We would like to validate the new ChainConfig (introduced by #1482) at construction time.

  • making sure all variants of the enum Height have a corresponding entry in height_infos
  • number of fvm_shared::NetworkVersion variants should match number of Height variants + 1

Other information and links

elmattic avatar Jun 23 '22 17:06 elmattic