From 869ecda14ae2098fa95d58ae2d4215f57bfa3b6b Mon Sep 17 00:00:00 2001 From: Mateusz Galazyn Date: Thu, 7 Mar 2024 16:10:03 +0100 Subject: [PATCH] Revert "Remove unused constraint" This reverts commit 880c0b96ae3f10c93d4aeb59dd641c88a5ee7c55. --- cardano-api/internal/Cardano/Api/Eras/Core.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cardano-api/internal/Cardano/Api/Eras/Core.hs b/cardano-api/internal/Cardano/Api/Eras/Core.hs index 2dca472604..d9212ceebc 100644 --- a/cardano-api/internal/Cardano/Api/Eras/Core.hs +++ b/cardano-api/internal/Cardano/Api/Eras/Core.hs @@ -191,7 +191,8 @@ monoidForEraInEonA sbe = forEraInEon sbe (pure mempty) data EraInEon eon where EraInEon - :: ( Typeable (eon era) + :: ( Typeable era + , Typeable (eon era) , Eon eon ) => eon era