Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Clément Hurlin <smelc@users.noreply.github.com>

Reintroduce accidentally deleted cpp
  • Loading branch information
carlhammann committed Jan 12, 2024
1 parent bf65a3a commit f899159
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pGovernanceHashAnchorDataCmd era = do
(Cmd.GovernanceHashAnchorDataCmdArgs eon
<$> pGovernanceAnchorDataHashSource
<*> optional pOutputFile))
$ Opt.progDesc "Compute the hash of some anchor data."
$ Opt.progDesc "Compute the hash of some anchor data (to then pass it to other governance commands)."

pGovernanceAnchorDataHashSource :: Parser Cmd.GovernanceAnchorDataHashSource
pGovernanceAnchorDataHashSource =
Expand Down Expand Up @@ -73,4 +73,4 @@ pGovernanceHashScriptCmd era = do
(Cmd.GovernanceHashScriptCmdArgs eon
<$> pScript
<*> optional pOutputFile))
$ Opt.progDesc "Compute the hash of a script."
$ Opt.progDesc "Compute the hash of a script (to then pass it to other governance commands)."
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,13 @@ module Test.Golden.Governance.DRep where
#endif

import Control.Monad

#ifdef UNIX
import Data.Bits ((.&.))
import GHC.Stack (withFrozenCallStack)
import Numeric (showOct)
import System.Posix.Files (fileMode, getFileStatus)
#endif

import Test.Cardano.CLI.Util (execCardanoCLI, noteInputFile, noteTempFile, propertyOnce)

Expand Down

0 comments on commit f899159

Please sign in to comment.