Migrate to EraBasedProtocolParametersUpdate
Adapt cardano-cli to the cardano-api removal of ProtocolParametersUpdate
in favour of EraBasedProtocolParametersUpdate era.
- Read.hs: bring IsShelleyBasedEra era into scope via
shelleyToBabbageEraConstraints, satisfying the HasTextEnvelope instance
for the now era-indexed UpdateProposal era without changing the
function's exposed type.
- Friendly.hs: rewrite friendlyProtocolParametersUpdate to take
EraBasedProtocolParametersUpdate era and dispatch on the GADT, with one
helper per sub-record (common, deprecated-after-mary,
deprecated-after-babbage, shelley-to-alonzo, alonzo-onwards,
introduced-in-babbage). JSON output remains flat with the original key
names preserved. Cost models and Conway-only governance fields are
deliberately not emitted, matching prior output; surfacing them under
new keys can be done as a follow-up.
- Compatible/Governance/Run.hs: drop a redundant
createEraBasedProtocolParamUpdate / fromLedgerPParamsUpdate round-trip
in shelleyToBabbageProtocolParametersUpdate; makeShelleyUpdateProposal
now takes EraBasedProtocolParametersUpdate era directly.