Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

Commit

Permalink
[#676] Fix trivial import errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mhuesch committed Nov 26, 2019
1 parent 9bcf3f9 commit c0387de
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions cardano-ledger/src/Cardano/Chain/Byron/Aux.hs
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
{-# LANGUAGE TypeFamilies #-}

-- | Auxiliary definitions to make working with the Byron ledger easier
--
-- NOTE: None of these definitions depend on @ouroboros-network@ or
-- @ouroboros-consensus@ and could probably be moved to @cardano-ledger@.
module Cardano.Chain.Byron.Aux (
-- * Extract info from genesis config
allowedDelegators
Expand Down Expand Up @@ -50,6 +47,8 @@ module Cardano.Chain.Byron.Aux (
, abobMatchesBody
) where

import Prelude (String)

import Codec.CBOR.Decoding (Decoder)
import qualified Codec.CBOR.Decoding as CBOR
import qualified Codec.CBOR.Encoding as CBOR
Expand All @@ -73,7 +72,7 @@ import GHC.Generics (Generic)

import Cardano.Binary
import Cardano.Crypto.ProtocolMagic
import Cardano.Prelude (NoUnexpectedThunks, cborError, wrapError)
import Cardano.Prelude

import qualified Cardano.Chain.Block as CC
import qualified Cardano.Chain.Common as CC
Expand All @@ -89,9 +88,6 @@ import qualified Cardano.Chain.Update.Validation.Interface as U.Iface
import qualified Cardano.Chain.UTxO as Utxo
import qualified Cardano.Chain.ValidationMode as CC

-- NOTE: NO dependencies on ouroboros-network or ouroboros-consensus here!
-- This stuff could/should eventually be moved to cardano-ledger.

{-------------------------------------------------------------------------------
Extract info from genesis config
-------------------------------------------------------------------------------}
Expand Down

0 comments on commit c0387de

Please sign in to comment.