File tree Expand file tree Collapse file tree
src/Cardano/Rpc/Server/Internal/UtxoRpc/Type
test/cardano-rpc-test/Test/Cardano/Rpc Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -217,12 +217,13 @@ txToUtxoRpcTx ledgerTx = anyEraTxConstraints sbe $ do
217217 ShelleyBasedEraBabbage -> []
218218 ShelleyBasedEraConway -> conwayOnwardsProposals
219219 ShelleyBasedEraDijkstra -> conwayOnwardsProposals
220- conwayOnwardsProposals
221- :: L. ConwayEraPParams (ShelleyLedgerEra era )
222- => [Proto UtxoRpc. GovernanceActionProposal ]
223- conwayOnwardsProposals =
224- maybe [] (map proposalProcedureToUtxoRpcProposal . toList) $
225- body ^. L. proposalProceduresTxBodyG
220+ where
221+ conwayOnwardsProposals
222+ :: L. ConwayEraPParams (ShelleyLedgerEra era )
223+ => [Proto UtxoRpc. GovernanceActionProposal ]
224+ conwayOnwardsProposals =
225+ maybe [] (map proposalProcedureToUtxoRpcProposal . toList) $
226+ body ^. L. proposalProceduresTxBodyG
226227 defMessage
227228 & U5c. hash .~ serialiseToRawBytes (fromShelleyTxId (L. txIdTx ledgerTx))
228229 & U5c. inputs .~ inputs
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ import Test.Tasty.Hedgehog (testPropertyNamed)
5353-- use it, so a new stable era only needs updating here; the era-specific
5454-- constructors in those properties then fail to compile until adjusted.
5555latestStableEra :: Exp. Era ConwayEra
56- latestStableEra = Exp. ConwayEra
56+ latestStableEra = Exp. useEra
5757
5858-- | One-way projection property for 'txToUtxoRpcTx': there is no inverse
5959-- conversion, so the proto message and the ledger transaction are projected
You can’t perform that action at this time.
0 commit comments