Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimbo4350 committed Jul 3, 2020
1 parent 3e9818d commit 490fac9
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 12 deletions.
2 changes: 1 addition & 1 deletion cardano-cli/src/Cardano/CLI/Shelley/Run/Genesis.hs
Expand Up @@ -52,8 +52,8 @@ import qualified Shelley.Spec.Ledger.TxData as Shelley
import Cardano.Api.Shelley.Address (ShelleyAddress)
import Cardano.Api.Shelley.ColdKeys (KeyRole (..), OperatorKeyRole (..),
readVerKey)
import Cardano.Api.Shelley.Genesis
import Cardano.Api.Shelley.ColdKeys
import Cardano.Api.Shelley.Genesis
import Cardano.Api.Shelley.OCert
import Cardano.Api.Shelley.VRF
import Cardano.Api.TextView (TextViewTitle (..))
Expand Down
4 changes: 0 additions & 4 deletions cardano-config/cardano-config.cabal
Expand Up @@ -62,7 +62,6 @@ library
, directory
, file-embed
, filepath
, generic-monoid
, iohk-monitoring
, lobemo-backend-aggregation
, lobemo-backend-ekg
Expand All @@ -80,19 +79,16 @@ library
, ouroboros-network-framework
, process
, iproute
, safe-exceptions
, scientific
, shelley-spec-ledger
, string-conv
, stm
, template-haskell
, text
, time
, transformers
, transformers-except
, typed-protocols
, unordered-containers
, yaml

default-language: Haskell2010
default-extensions: NoImplicitPrelude
Expand Down
1 change: 0 additions & 1 deletion cardano-config/src/Cardano/Config/Parsers.hs
Expand Up @@ -31,7 +31,6 @@ import Prelude (String)
import Cardano.Prelude hiding (option)

import Cardano.Chain.Common (Lovelace, mkLovelace)
--import Cardano.Node.Topology
import Cardano.Config.Types


Expand Down
8 changes: 4 additions & 4 deletions cardano-node/cardano-node.cabal
Expand Up @@ -36,13 +36,13 @@ library
exposed-modules: Cardano.Common.Help
Cardano.Node.Features.Node
Cardano.Node.Logging
Cardano.Node.Parsers
Cardano.Node.Protocol
Cardano.Node.Protocol.Byron
Cardano.Node.Protocol.Cardano
Cardano.Node.Protocol.Mock
Cardano.Node.Protocol.Shelley
Cardano.Node.Protocol.Types
Cardano.Node.Parsers
Cardano.Node.Run
Cardano.Node.Shutdown
Cardano.Node.Topology
Expand Down Expand Up @@ -83,7 +83,7 @@ library
, lobemo-backend-trace-forwarder
, network
, network-mux
, node-config
, cardano-node-config
, optparse-applicative
, ouroboros-consensus
, ouroboros-consensus-byron
Expand Down Expand Up @@ -127,7 +127,7 @@ library
, Cardano.Node.TUI.Run


library node-config
library cardano-node-config

hs-source-dirs: src

Expand Down Expand Up @@ -210,7 +210,7 @@ executable chairman
, cardano-prelude
, io-sim-classes
, network-mux
, node-config
, cardano-node-config
, optparse-applicative
, ouroboros-consensus
, ouroboros-consensus-cardano
Expand Down
2 changes: 1 addition & 1 deletion cardano-node/src/Cardano/Node/Protocol.hs
Expand Up @@ -13,9 +13,9 @@ import Control.Monad.Trans.Except (ExceptT)
import Control.Monad.Trans.Except.Extra (firstExceptT)

import Cardano.Api.Protocol (MockProtocol(..))
import Cardano.Config.Types (ProtocolFilepaths(..))
import Cardano.Node.Types (NodeConfiguration(..), NodeProtocolConfiguration(..),
NodeMockProtocolConfiguration(..))
import Cardano.Config.Types (ProtocolFilepaths(..))

import Cardano.Node.Protocol.Types (SomeConsensusProtocol(..))
import Cardano.Node.Protocol.Mock
Expand Down
2 changes: 1 addition & 1 deletion cardano-node/src/Cardano/Tracing/Tracers.hs
Expand Up @@ -81,10 +81,10 @@ import qualified Ouroboros.Consensus.Storage.ChainDB as ChainDB
import qualified Ouroboros.Consensus.Storage.LedgerDB.OnDisk as LedgerDB

import Cardano.Config.LedgerQueries
import Cardano.Node.TraceConfig
import Cardano.Config.Types
(TraceConstraints, HasKESMetricsData (..), KESMetricsData (..),
MaxKESEvolutions (..), OperationalCertStartKESPeriod (..))
import Cardano.Node.TraceConfig
import Cardano.Tracing.Kernel
import Cardano.Tracing.MicroBenchmarking

Expand Down

0 comments on commit 490fac9

Please sign in to comment.