From 5119a4eb3536489da7eb584a5f43ed7ef31406bc Mon Sep 17 00:00:00 2001 From: Carl Hammann Date: Wed, 18 Oct 2023 18:12:31 +0200 Subject: [PATCH] Add missing clause to support Plutus V1 in Conway --- cardano-api/internal/Cardano/Api/Script.hs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cardano-api/internal/Cardano/Api/Script.hs b/cardano-api/internal/Cardano/Api/Script.hs index 008cf6ed06..7f84c1420c 100644 --- a/cardano-api/internal/Cardano/Api/Script.hs +++ b/cardano-api/internal/Cardano/Api/Script.hs @@ -606,6 +606,9 @@ scriptLanguageSupportedInEra era lang = (BabbageEra, PlutusScriptLanguage PlutusScriptV2) -> Just PlutusScriptV2InBabbage + (ConwayEra, PlutusScriptLanguage PlutusScriptV1) -> + Just PlutusScriptV1InConway + (ConwayEra, PlutusScriptLanguage PlutusScriptV2) -> Just PlutusScriptV2InConway