You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Elaborate compatible governance parsers over all ShelleyBasedEra constructors
inEonForShelleyBasedEra infers its eon from the branch that consumes the
witness. In pCompatibleGovernanceCmds that was the experimental Era, whose
membership shrinks as eras are retired: once Conway leaves it, Conway would
silently take the pre-Conway branch and lose its governance commands, with no
compilation error.
Match on the ShelleyBasedEra constructors instead. The branches refine era to a
concrete one, so IsEra resolves directly and no experimental witness needs to be
threaded through this compatible module. pUpdateProtocolParametersCmd gets the
same treatment, dropping its ConwayEraOnwards witness and the convert round trip
to the experimental Era.
0 commit comments