From 34cffb80a1773da1b84ac6d42f9fb46173636844 Mon Sep 17 00:00:00 2001 From: Daniel Firth Date: Thu, 2 Jan 2025 15:49:50 +0000 Subject: [PATCH] Re-export DebugPlutusFailure and renderDebugPlutusFailure --- cardano-api/src/Cardano/Api.hs | 5 +++++ .../test/cardano-api-golden/Test/Golden/ErrorsSpec.hs | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/cardano-api/src/Cardano/Api.hs b/cardano-api/src/Cardano/Api.hs index dd5078cde1..8ba6029cd9 100644 --- a/cardano-api/src/Cardano/Api.hs +++ b/cardano-api/src/Cardano/Api.hs @@ -1054,6 +1054,10 @@ module Cardano.Api , ResolvablePointers (..) , unsafeBoundedRational + -- ** Debug + , DebugPlutusFailure (..) + , renderDebugPlutusFailure + -- ** Supporting modules , module Cardano.Api.Monad.Error , module Cardano.Api.Pretty @@ -1105,6 +1109,7 @@ import Cardano.Api.Monad.Error import Cardano.Api.NetworkId import Cardano.Api.OperationalCertificate import Cardano.Api.Orphans () +import Cardano.Api.Plutus import Cardano.Api.Pretty import Cardano.Api.Protocol import Cardano.Api.ProtocolParameters diff --git a/cardano-api/test/cardano-api-golden/Test/Golden/ErrorsSpec.hs b/cardano-api/test/cardano-api-golden/Test/Golden/ErrorsSpec.hs index b39ea2151b..a2897e2e60 100644 --- a/cardano-api/test/cardano-api-golden/Test/Golden/ErrorsSpec.hs +++ b/cardano-api/test/cardano-api-golden/Test/Golden/ErrorsSpec.hs @@ -31,7 +31,6 @@ module Test.Golden.ErrorsSpec where import Cardano.Api -import Cardano.Api.Plutus import Cardano.Api.Shelley import Cardano.Binary as CBOR