@@ -131,11 +131,16 @@ instance LogFormatting (Conway.ConwayGovCertPredFailure era) where
131
131
, " expectedCoin" .= expectedCoin
132
132
, " error" .= String " DRep delegation has incorrect deposit"
133
133
]
134
- Conway. ConwayCommitteeHasPreviouslyResigned kHash ->
134
+ Conway. ConwayCommitteeHasPreviouslyResigned coldCred ->
135
135
[ " kind" .= String " ConwayCommitteeHasPreviouslyResigned"
136
- , " credential" .= String (textShow kHash )
136
+ , " credential" .= String (textShow coldCred )
137
137
, " error" .= String " Committee has resigned"
138
138
]
139
+ Conway. ConwayCommitteeIsUnknown coldCred ->
140
+ [ " kind" .= String " ConwayCommitteeIsUnknown"
141
+ , " credential" .= String (textShow coldCred)
142
+ , " error" .= String " Committee is Unknown"
143
+ ]
139
144
Conway. ConwayDRepIncorrectRefund givenRefund expectedRefund ->
140
145
[ " kind" .= String " ConwayDRepIncorrectRefund"
141
146
, " givenRefund" .= givenRefund
@@ -1080,6 +1085,14 @@ instance
1080
1085
-- Conway related
1081
1086
--------------------------------------------------------------------------------
1082
1087
1088
+ instance
1089
+ ( Ledger. Era era
1090
+ , Show (PredicateFailure (Ledger. EraRule " LEDGERS" era ))
1091
+ ) => LogFormatting (Conway. ConwayBbodyPredFailure era ) where
1092
+ forMachine _ err = mconcat [ " kind" .= String " ConwayBbodyPredFail"
1093
+ , " error" .= String (textShow err)
1094
+ ]
1095
+
1083
1096
instance
1084
1097
( Consensus. ShelleyBasedEra era
1085
1098
, LogFormatting (PredicateFailure (Ledger. EraRule " UTXOW" era ))
@@ -1088,6 +1101,11 @@ instance
1088
1101
, LogFormatting (Set (Credential 'Staking (Ledger. EraCrypto era )))
1089
1102
) => LogFormatting (Conway. ConwayLedgerPredFailure era ) where
1090
1103
forMachine v (Conway. ConwayUtxowFailure f) = forMachine v f
1104
+ forMachine _ (Conway. ConwayTxRefScriptsSizeTooBig actual limit) =
1105
+ mconcat [ " kind" .= String " ConwayTxRefScriptsSizeTooBig"
1106
+ , " actual" .= actual
1107
+ , " limit" .= limit
1108
+ ]
1091
1109
forMachine v (Conway. ConwayCertsFailure f) = forMachine v f
1092
1110
forMachine v (Conway. ConwayGovFailure f) = forMachine v f
1093
1111
forMachine v (Conway. ConwayWdrlNotDelegatedToDRep f) = forMachine v f
@@ -1127,6 +1145,10 @@ instance
1127
1145
mconcat [ " kind" .= String " DisallowedVoters"
1128
1146
, " govActionIdToVoter" .= NonEmpty. toList govActionIdToVoter
1129
1147
]
1148
+ forMachine _ (Conway. VotersDoNotExist creds) =
1149
+ mconcat [ " kind" .= String " VotersDoNotExist"
1150
+ , " credentials" .= creds
1151
+ ]
1130
1152
forMachine _ (Conway. ConflictingCommitteeUpdate creds) =
1131
1153
mconcat [ " kind" .= String " ConflictingCommitteeUpdate"
1132
1154
, " credentials" .= creds
0 commit comments