From 9903a433aa0a1ffea9ac9e7661e63f62b394aba6 Mon Sep 17 00:00:00 2001 From: Jordan Millar Date: Fri, 26 Jan 2024 09:51:16 -0600 Subject: [PATCH] Remove me: Commented out code to get GHC building --- cabal.project | 4 ++-- cardano-node/src/Cardano/Node/Protocol/Cardano.hs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cabal.project b/cabal.project index 8f472ac467e..0f0420cfb8e 100644 --- a/cabal.project +++ b/cabal.project @@ -32,8 +32,8 @@ packages: trace-resources trace-forward -program-options - ghc-options: -Werror +-- program-options +-- ghc-options: -Werror test-show-details: direct diff --git a/cardano-node/src/Cardano/Node/Protocol/Cardano.hs b/cardano-node/src/Cardano/Node/Protocol/Cardano.hs index 32a87c1811a..c76e3d742b8 100644 --- a/cardano-node/src/Cardano/Node/Protocol/Cardano.hs +++ b/cardano-node/src/Cardano/Node/Protocol/Cardano.hs @@ -140,7 +140,7 @@ mkSomeConsensusProtocolCardano NodeByronProtocolConfiguration { --TODO: all these protocol versions below are confusing and unnecessary. -- It could and should all be automated and these config entries eliminated. - return $! + return $! undefined {- SomeConsensusProtocol CardanoBlockType $ ProtocolInfoArgsCardano $ CardanoProtocolParams { paramsByron = Consensus.ProtocolParamsByron { @@ -310,7 +310,7 @@ mkSomeConsensusProtocolCardano NodeByronProtocolConfiguration { Just epochNo -> Consensus.TriggerHardForkAtEpoch epochNo } } - +-} ---------------------------------------------------------------------- -- WARNING When adding new entries above, be aware that if there is an -- intra-era fork, then the numbering is not consecutive.