Skip to content

Commit

Permalink
Delete leftover comments
Browse files Browse the repository at this point in the history
  • Loading branch information
carlhammann committed Oct 27, 2023
1 parent 7d020a3 commit 49c71f2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 31 deletions.
21 changes: 0 additions & 21 deletions cardano-cli/src/Cardano/CLI/EraBased/Options/Common.hs
Original file line number Diff line number Diff line change
Expand Up @@ -2543,26 +2543,6 @@ pStakePoolRegistrationParserRequirements envCli =
pProtocolParametersUpdate :: Parser ProtocolParametersUpdate
pProtocolParametersUpdate =
ProtocolParametersUpdate
-- <<<<<<< HEAD
-- <$> optional pProtocolVersion
-- <*> optional pDecentralParam
-- <*> optional pExtraEntropy
-- <*> optional pMaxBlockHeaderSize
-- <*> optional pMaxBodySize
-- <*> optional pMaxTransactionSize
-- <*> optional pMinFeeConstantFactor
-- <*> optional pMinFeePerByteFactor
-- <*> optional pMinUTxOValue
-- <*> optional pKeyRegistDeposit
-- <*> optional pPoolDeposit
-- <*> optional pMinPoolCost
-- <*> optional pEpochBoundRetirement
-- <*> optional pNumberOfPools
-- <*> optional pPoolInfluence
-- <*> optional pMonetaryExpansion
-- <*> optional pTreasuryExpansion
-- <*> pure Nothing
-- =======
<$> optional (pProtocolVersion $ Just "new")
<*> optional (pDecentralParam $ Just "new")
<*> optional (pExtraEntropy $ Just "new")
Expand All @@ -2581,7 +2561,6 @@ pProtocolParametersUpdate =
<*> optional (pMonetaryExpansion $ Just "new")
<*> optional (pTreasuryExpansion $ Just "new")
<*> optional (pUTxOCostPerWord $ Just "new")
-- >>>>>>> 38e2dc7a5 (Disambiguate protocol parameter update flags)
<*> pure mempty
<*> optional (pExecutionUnitPrices $ Just "new")
<*> optional (pMaxTxExecutionUnits $ Just "new")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -272,18 +272,9 @@ pShelleyToAlonzoPParams =
<$> convertToLedger id (optional $ toLedgerNonce <$> pExtraEntropy (Just "new"))
<*> convertToLedger toUnitIntervalOrErr (optional $ pDecentralParam $ Just "new")

-- <<<<<<< HEAD
-- =======
-- pShelleyToAlonzoPParams :: Parser (ShelleyToAlonzoPParams era)
-- pShelleyToAlonzoPParams =
-- ShelleyToAlonzoPParams
-- <$> convertToLedger (CoinPerWord . toShelleyLovelace) (optional $ pUTxOCostPerWord $ Just "new")
--
--
-- >>>>>>> 38e2dc7a5 (Disambiguate protocol parameter update flags)
pAlonzoOnwardsPParams :: Parser (AlonzoOnwardsPParams ledgerera)
pAlonzoOnwardsPParams =
AlonzoOnwardsPParams SNothing -- TODO: Conway era cost model
AlonzoOnwardsPParams SNothing
<$> convertToLedger (either (\e -> error $ "pAlonzoOnwardsPParams: " <> show e) id . toAlonzoPrices)
(optional $ pExecutionUnitPrices $ Just "new")
<*> convertToLedger toAlonzoExUnits (optional $ pMaxTxExecutionUnits $ Just "new")
Expand Down

0 comments on commit 49c71f2

Please sign in to comment.