Closed jonathanknowles closed 1 month ago
👍 (I think the
api
is the wrong place for computations, but this is not relevant for the refactoring)
I agree with you!
Though hopefully this refactoring goes in the right direction: the definition of the set of recent eras is now in the Write
layer (and no longer in the Api
layer).
This PR:
recentEras :: Set AnyRecentEra
ApiErrorNodeNotYetInRecentEra
ApiErrorUnsupportedEra
Issue
ADP-3359
Follow-on from #4595.