status-im / nim-stew

stew is collection of utilities, std library extensions and budding libraries that are frequently used at Status, but are too small to deserve their own git repository.
133 stars 18 forks source link

don't require init on `ValidIpAddress` #209

Closed tersec closed 8 months ago

tersec commented 8 months ago

See https://github.com/status-im/nimbus-eth2/pull/5536 for the warnings this triggers.

They're not spurious/false positives, either. nim-eth (https://github.com/nim-lang/Nim/issues/22883 affects it since it uses sets and tables with ValidIpAddress, nim-confutils, and nim-toml-serialization all depend on default(ValidIpAddress) working, in ways which extend into Nim's standard library.