From 5ae117286cf6aff3d65febff8cd6757603731db2 Mon Sep 17 00:00:00 2001 From: Edmund Noble Date: Fri, 3 Jan 2025 14:14:26 -0500 Subject: [PATCH] Change comment around Pact 5 warnings --- src/Chainweb/Pact/PactService.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Chainweb/Pact/PactService.hs b/src/Chainweb/Pact/PactService.hs index 7b1a034224..5c9b0261c2 100644 --- a/src/Chainweb/Pact/PactService.hs +++ b/src/Chainweb/Pact/PactService.hs @@ -886,7 +886,7 @@ execLocal cwtx preflight sigVerify rdepth = pactLabel "execLocal" $ do let pact5Pm = pact5Cmd ^. Pact5.cmdPayload . Pact5.payloadObj . Pact5.pMeta let metadata = J.toJsonViaEncode $ Pact5.StableEncoding $ Pact5.ctxToPublicData pact5Pm txCtx let cr' = hashPact5TxLogs $ set Pact5.crMetaData (Just metadata) cr - -- FIXME: Pact5, no warnings yet + -- TODO: once Pact 5 has warnings, include them here. pure $ Pact5LocalResultWithWarns (Pact5.PELegacyError . Pact5.toPrettyLegacyError <$> cr') []