Skip to content

Commit 450708b

Browse files
committed
wip - tpraos: remove from testlib, empty module
1 parent 7d5b3a0 commit 450708b

File tree

4 files changed

+1
-21
lines changed

4 files changed

+1
-21
lines changed

libs/cardano-protocol-tpraos/cardano-protocol-tpraos.cabal

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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,

libs/cardano-protocol-tpraos/test/Test/Cardano/Protocol/Binary/BinarySpec.hs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ module Test.Cardano.Protocol.Binary.BinarySpec (spec) where
88

99
import Cardano.Ledger.Allegra (AllegraEra)
1010
import Cardano.Ledger.Alonzo (AlonzoEra)
11-
import Cardano.Ledger.Binary (DecCBOR)
1211
import Cardano.Ledger.Block
1312
import Cardano.Ledger.Core
1413
import Cardano.Ledger.Mary (MaryEra)
@@ -22,7 +21,6 @@ import Test.Cardano.Ledger.Alonzo.Arbitrary ()
2221
import Test.Cardano.Ledger.Binary (decoderEquivalenceProp, decoderEquivalenceSpec)
2322
import Test.Cardano.Ledger.Common
2423
import Test.Cardano.Ledger.Mary.Arbitrary ()
25-
import Test.Cardano.Protocol.Binary.Annotator
2624
import Test.Cardano.Protocol.TPraos.Arbitrary ()
2725

2826
spec :: Spec
@@ -38,7 +36,6 @@ blockEraSpec ::
3836
forall era.
3937
( EraSegWits era
4038
, Arbitrary (Tx era)
41-
, DecCBOR (Annotator (TxSeq era))
4239
) =>
4340
Spec
4441
blockEraSpec =

libs/cardano-protocol-tpraos/testlib/Test/Cardano/Protocol/Binary/Annotator.hs

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,4 @@
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

libs/cardano-protocol-tpraos/testlib/Test/Cardano/Protocol/Binary/RoundTrip.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)