neofs-node
neofs-node copied to clipboard
ir: Use Neo Go protocol config validation in local consensus launch mode
currently IR validates blockchain config by itself
as @AnnaShaleva mentioned in comment, Neo Go lib provides https://pkg.go.dev/github.com/nspcc-dev/[email protected]/pkg/config#ProtocolConfiguration.Validate that performs similar checks
we cannot reuse this checker easily cuz its errors are tied to the Neo Go config format while IR has its own. Specific error system can help