We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ShelleyPParams
1 parent 9d2baa6 commit f28432eCopy full SHA for f28432e
eras/shelley/impl/src/Cardano/Ledger/Shelley/PParams.hs
@@ -79,9 +79,7 @@ import Data.Aeson (
79
ToJSON (..),
80
object,
81
pairs,
82
- (.!=),
83
(.:),
84
- (.:?),
85
(.=),
86
)
87
import qualified Data.Aeson as Aeson
@@ -284,8 +282,8 @@ instance FromJSON (ShelleyPParams Identity era) where
284
282
<*> obj .: "decentralization"
285
283
<*> obj .: "extraPraosEntropy"
286
<*> obj .: "protocolVersion"
287
- <*> obj .:? "minUTxOValue" .!= mempty
288
- <*> obj .:? "minPoolCost" .!= mempty
+ <*> obj .: "minUTxOValue"
+ <*> obj .: "minPoolCost"
289
290
emptyShelleyPParams :: forall era. Era era => ShelleyPParams Identity era
291
emptyShelleyPParams =
0 commit comments