Skip to content

Commit

Permalink
Remove specialized small hashes for testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
lehins committed Jan 17, 2022
1 parent 4b6e476 commit b3201a2
Showing 1 changed file with 3 additions and 5 deletions.
@@ -1,11 +1,10 @@
{-# LANGUAGE ConstraintKinds #-}
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE QuantifiedConstraints #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE TypeApplications #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE UndecidableInstances #-}

module Test.Cardano.Ledger.Shelley.ConcreteCryptoTypes
( Mock,
Expand All @@ -19,7 +18,6 @@ where

import Cardano.Crypto.DSIGN (MockDSIGN, VerKeyDSIGN)
import qualified Cardano.Crypto.DSIGN.Class as DSIGN
import Cardano.Crypto.Hash (Blake2bPrefix)
import Cardano.Crypto.KES (MockKES)
import qualified Cardano.Crypto.KES.Class as KES
import Cardano.Crypto.Util (SignableRepresentation)
Expand Down Expand Up @@ -53,8 +51,8 @@ type TestCrypto = C_Crypto
data C_Crypto

instance Cardano.Ledger.Crypto.Crypto C_Crypto where
type HASH C_Crypto = Blake2bPrefix 10
type ADDRHASH C_Crypto = Blake2bPrefix 8
type HASH C_Crypto = HASH StandardCrypto
type ADDRHASH C_Crypto = ADDRHASH StandardCrypto
type DSIGN C_Crypto = MockDSIGN
type KES C_Crypto = MockKES 10
type VRF C_Crypto = FakeVRF
Expand Down

0 comments on commit b3201a2

Please sign in to comment.