Skip to content

Commit fd21353

Browse files
committed
Fix missing constraint for ToJSON (Consensus.ApplyTxError _)
1 parent 98a0b6d commit fd21353

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cardano-api/src/Cardano/Api/Era/Internal/Eon/ShelleyBasedEra.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ type ShelleyBasedEraConstraints era =
242242
, IsCardanoEra era
243243
, IsShelleyBasedEra era
244244
, ToJSON (Consensus.ChainDepState (ConsensusProtocol era))
245+
, ToJSON (Consensus.ApplyTxError (ShelleyLedgerEra era))
245246
, ToJSON (L.PredicateFailure (L.EraRule "LEDGER" (ShelleyLedgerEra era)))
246247
, Typeable era
247248
, (era == ByronEra) ~ False

0 commit comments

Comments
 (0)