Skip to content

Commit

Permalink
Remove me: Commented out code to get GHC building
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimbo4350 committed Jan 26, 2024
1 parent 4e6bbc4 commit 9903a43
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ packages:
trace-resources
trace-forward

program-options
ghc-options: -Werror
-- program-options
-- ghc-options: -Werror

test-show-details: direct

Expand Down
4 changes: 2 additions & 2 deletions cardano-node/src/Cardano/Node/Protocol/Cardano.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 9903a43

Please sign in to comment.