newhoggy · · cardano-node
Alternate parser for hash of stake key
pStakeKeyHash :: Parser (Hash StakeKey)
Opt.option (eitherReader (deserialiseFromRawBytesBase16 . BSC.pack)) $ mconcat
Opt.option readStakeKeyHash $ mconcat
[ Opt.long "stake-address"
, Opt.metavar "HASH"
, Opt.help "Stake address key (Bech32 or hex-encoded)."
, Opt.help "Stake address key (hex-encoded)."
pKeyCmd :: Parser KeyCmd
first (Text.unpack . renderInputDecodeError) $
deserialiseInput (AsVerificationKey asType) keyFormats (BSC.pack str)
-- | Read a Bech32 or hex-encoded stake key.
readStakeKeyHash :: Opt.ReadM (Hash StakeKey)
readStakeKeyHash = Opt.eitherReader deserialiseFromHex
deserialiseFromHex :: String -> Either String (Hash StakeKey)
first (\e -> "Invalid stake key hash: " ++ displayError e)
. deserialiseFromRawBytesHex (AsHash AsStakeKey)
readOutputFormat :: Opt.ReadM OutputFormat
readOutputFormat = do
s <- Opt.str
Previous work on the builders/etc updates rust but introduced things caused the WASM to no longer compile. This updates the WASM bindings as well. Includes genesis module that wasn't pushed before.
updatet hackage index
Fix db-sync checks of scripts in reference txin