Skip to content

Commit

Permalink
Add documentation regarding parameters update
Browse files Browse the repository at this point in the history
  • Loading branch information
smelc committed May 7, 2024
1 parent 09aa0ba commit cadcaa3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion cardano-api/internal/Cardano/Api/ProtocolParameters.hs
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,9 @@ createIntroducedInBabbagePParams w (IntroducedInBabbagePParams coinsPerUTxOByte)
-- 'UpdateProposal', which contains a 'ProtocolParametersUpdate'.
--
-- The 'ProtocolParametersUpdate' is essentially a diff for the
-- 'ProtocolParameters'.
-- 'ProtocolParameters', up to Alonzo included. Starting at Conway,
-- updates to era-specific fields of 'ProtocolParameters' are handled
-- with 'EraBasedProtocolParametersUpdate'.
--
-- There are also parameters fixed in the Genesis file. See 'GenesisParameters'.
--
Expand Down Expand Up @@ -892,6 +894,9 @@ data ProtocolParametersUpdate =
--
-- /Introduced in Babbage/
protocolUpdateUTxOCostPerByte :: Maybe L.Coin

-- Fields introduced in Conway and onwards are not added here. They
-- are handled via EraBasedProtocolParametersUpdate.
}
deriving (Eq, Show)

Expand Down

0 comments on commit cadcaa3

Please sign in to comment.