Adding out degree validation in the refs validator.
For all cases where a consensus algorithm runs (Tendermint, Kayak, etc) it will be enough to validate here and any store can be used underneath (even if it doesn't have built-in support like postgresstore).
Later we will provide more configuration hooks at the store level so that we can bypass the validations done in the store (like postgresstore's outDegree tables) if it has been validated upstream (at the consensus layer).
Adding out degree validation in the refs validator. For all cases where a consensus algorithm runs (Tendermint, Kayak, etc) it will be enough to validate here and any store can be used underneath (even if it doesn't have built-in support like postgresstore).
Later we will provide more configuration hooks at the store level so that we can bypass the validations done in the store (like postgresstore's outDegree tables) if it has been validated upstream (at the consensus layer).
This change is