File tree Expand file tree Collapse file tree 4 files changed +1
-21
lines changed
libs/cardano-protocol-tpraos
testlib/Test/Cardano/Protocol/Binary
test/Test/Cardano/Protocol/Binary Expand file tree Collapse file tree 4 files changed +1
-21
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,6 @@ library testlib
8888 cardano-crypto-class >= 2.1.1 ,
8989 cardano-ledger-babbage,
9090 cardano-ledger-binary :{cardano-ledger-binary, testlib},
91- cardano-ledger-conway :testlib,
9291 cardano-ledger-core :{cardano-ledger-core, testlib},
9392 cardano-ledger-shelley :testlib,
9493 cardano-protocol-tpraos,
Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ module Test.Cardano.Protocol.Binary.BinarySpec (spec) where
88
99import Cardano.Ledger.Allegra (AllegraEra )
1010import Cardano.Ledger.Alonzo (AlonzoEra )
11- import Cardano.Ledger.Binary (DecCBOR )
1211import Cardano.Ledger.Block
1312import Cardano.Ledger.Core
1413import Cardano.Ledger.Mary (MaryEra )
@@ -22,7 +21,6 @@ import Test.Cardano.Ledger.Alonzo.Arbitrary ()
2221import Test.Cardano.Ledger.Binary (decoderEquivalenceProp , decoderEquivalenceSpec )
2322import Test.Cardano.Ledger.Common
2423import Test.Cardano.Ledger.Mary.Arbitrary ()
25- import Test.Cardano.Protocol.Binary.Annotator
2624import Test.Cardano.Protocol.TPraos.Arbitrary ()
2725
2826spec :: Spec
@@ -38,7 +36,6 @@ blockEraSpec ::
3836 forall era .
3937 ( EraSegWits era
4038 , Arbitrary (Tx era )
41- , DecCBOR (Annotator (TxSeq era ))
4239 ) =>
4340 Spec
4441blockEraSpec =
Original file line number Diff line number Diff line change 66{-# LANGUAGE UndecidableInstances #-}
77{-# OPTIONS_GHC -Wno-orphans #-}
88
9- module Test.Cardano.Protocol.Binary.Annotator (
10- module Test.Cardano.Ledger.Conway.Binary.Annotator ,
11- ) where
12-
13- import Cardano.Ledger.Binary
14- import Cardano.Protocol.Crypto
15- import Cardano.Protocol.TPraos.BHeader
16- import Test.Cardano.Ledger.Conway.Binary.Annotator
17-
18- instance Crypto c => DecCBOR (Annotator (BHeaderRaw c )) where
19- decCBOR = pure <$> decCBOR
20-
21- deriving via
22- Mem (BHeaderRaw c)
23- instance
24- Crypto c => DecCBOR (Annotator (BHeader c ))
9+ module Test.Cardano.Protocol.Binary.Annotator where
Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ roundTripBlockSpec ::
2323 , DecCBOR (Annotator h )
2424 , EncCBOR h
2525 , EraSegWits era
26- , DecCBOR (Annotator (TxSeq era ))
2726 , Arbitrary (Block h era )
2827 ) =>
2928 Spec
You can’t perform that action at this time.
0 commit comments