File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed
babbage/impl/cddl/lib/Cardano/Ledger/Babbage
conway/impl/cddl/lib/Cardano/Ledger/Conway Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change 99{-# LANGUAGE QuasiQuotes #-}
1010{-# LANGUAGE ScopedTypeVariables #-}
1111{-# LANGUAGE TypeApplications #-}
12+ {-# LANGUAGE UndecidableInstances #-}
1213{-# OPTIONS_GHC -Wno-orphans #-}
1314
1415module Cardano.Ledger.Babbage.HuddleSpec (
@@ -451,7 +452,7 @@ instance HuddleGroup "script_invalid_before" BabbageEra where
451452instance HuddleGroup " script_invalid_hereafter" BabbageEra where
452453 huddleGroup = scriptInvalidHereafterGroup @ BabbageEra
453454
454- instance HuddleRule " plutus_v2_script" BabbageEra where
455+ instance ( Era era , HuddleRule " distinct_bytes " era ) => HuddleRule " plutus_v2_script" era where
455456 huddleRule p =
456457 comment
457458 [str |Babbage introduces Plutus V2 with improved cost model
Original file line number Diff line number Diff line change @@ -636,14 +636,6 @@ instance HuddleRule "operational_cert" ConwayEra where
636636instance HuddleRule " protocol_version" ConwayEra where
637637 huddleRule = babbageProtocolVersionRule @ ConwayEra
638638
639- instance HuddleRule " plutus_v2_script" ConwayEra where
640- huddleRule p =
641- comment
642- [str |Babbage introduces Plutus V2 with improved cost model
643- |and additional builtins.
644- |]
645- $ " plutus_v2_script" =:= huddleRule @ " distinct_bytes" p
646-
647639instance HuddleRule " plutus_v3_script" ConwayEra where
648640 huddleRule p =
649641 comment
You can’t perform that action at this time.
0 commit comments