joeroe/era

Add function for validating eras

joeroe opened this issue · 0 comments

eras are complicated enough that a validate_era() function is needed. This should be called in the era() constructor, but not new_era(), to maintain the ability to create (invalid) empty eras internally.