Skip to content

Commit

Permalink
Merge pull request #2389 from input-output-hk/lehins/update-with-card…
Browse files Browse the repository at this point in the history
…ano-base

Update to new cardano-base
  • Loading branch information
lehins authored Jul 20, 2021
2 parents 0143575 + 22706d0 commit 66ced00
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
4 changes: 2 additions & 2 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ write-ghc-environment-files: always
source-repository-package
type: git
location: https://github.com/input-output-hk/cardano-base
tag: 0f409343c3655c4bacd7fab385d392ec5d5cca98
--sha256: 0js76inb7avg8c39c9k2zsr77sycg2vadylgvsswdsba808p6hr9
tag: eb58eebc16ee898980c83bc325ab37a2c77b2414
--sha256: 1v5algrsa3g6lphl1nfih54xkc2xa5q1yfa3kgclcp6sxj1yjnnl
subdir:
binary
binary/test
Expand Down
10 changes: 1 addition & 9 deletions cardano-ledger-core/src/Cardano/Ledger/BaseTypes.hs
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,6 @@ module Cardano.Ledger.BaseTypes
invalidKey,
mkNonceFromOutputVRF,
mkNonceFromNumber,
StrictMaybe (..),
strictMaybeToMaybe,
maybeToStrictMaybe,
fromSMaybe,
isSNothing,
Url,
urlToText,
textToUrl,
Expand All @@ -54,6 +49,7 @@ module Cardano.Ledger.BaseTypes
mkActiveSlotCoeff,
activeSlotVal,
activeSlotLog,
module Data.Maybe.Strict,

-- * STS Base
Globals (..),
Expand Down Expand Up @@ -600,7 +596,3 @@ instance FromCBOR Network where
word8ToNetwork <$> fromCBOR >>= \case
Nothing -> cborError $ DecoderErrorCustom "Network" "Unknown network id"
Just n -> pure n

isSNothing :: StrictMaybe a -> Bool
isSNothing SNothing = True
isSNothing _ = False

0 comments on commit 66ced00

Please sign in to comment.