From 56988bc84e48878f6f33f20944207ca32d24220f 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 | 6 +++++- .../test/cardano-api-golden/Test/Golden/ErrorsSpec.hs | 1 - 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/cardano-api/src/Cardano/Api.hs b/cardano-api/src/Cardano/Api.hs index 44ee3f7fc8..de24d8107b 100644 --- a/cardano-api/src/Cardano/Api.hs +++ b/cardano-api/src/Cardano/Api.hs @@ -1067,6 +1067,10 @@ module Cardano.Api , ResolvablePointers (..) , unsafeBoundedRational + -- ** Debug + , DebugPlutusFailure (..) + , renderDebugPlutusFailure + -- ** Supporting modules , module Cardano.Api.Internal.Monad.Error , module Cardano.Api.Internal.Pretty @@ -1121,7 +1125,7 @@ import Cardano.Api.Internal.Monad.Error import Cardano.Api.Internal.NetworkId import Cardano.Api.Internal.OperationalCertificate import Cardano.Api.Internal.Orphans () -import Cardano.Api.Internal.Plutus (collectPlutusScriptHashes) +import Cardano.Api.Internal.Plutus import Cardano.Api.Internal.Pretty import Cardano.Api.Internal.Protocol import Cardano.Api.Internal.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 1fe60ea4bc..b6032e5300 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.Internal.Plutus import Cardano.Api.Shelley import Cardano.Binary as CBOR