sanchonet: add CC to genesis #5844
Merged
IOG Hydra / ci/hydra-build:x86_64-linux.native.variants.ghc964.checks/hlint
failed
May 16, 2024 in 43s
Build failed
1 failed steps
Details
Failed Steps
Step 1
Derivation
/nix/store/gncahcyk6h4sav6ja10fbnkhrh4mi0pz-hlint-check.drv
Log
cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/Gov/NoConfidence.hs:162:32: Suggestion: Redundant $
Found:
H.execCli' execConfig
$ [eraToString era, "governance", "action", "create-no-confidence",
"--testnet", "--governance-action-deposit",
show @Integer minActDeposit,
"--deposit-return-stake-verification-key-file", stakeVkeyFp,
"--anchor-url", "https://tinyurl.com/3wrwb2as",
"--anchor-data-hash", proposalAnchorDataHash, "--out-file",
proposalFile]
Perhaps:
H.execCli'
execConfig
[eraToString era, "governance", "action", "create-no-confidence",
"--testnet", "--governance-action-deposit",
show @Integer minActDeposit,
"--deposit-return-stake-verification-key-file", stakeVkeyFp,
"--anchor-url", "https://tinyurl.com/3wrwb2as",
"--anchor-data-hash", proposalAnchorDataHash, "--out-file",
proposalFile]
1 hint
=====================================================================
Note: to ignore a particular hint (e.g. "Reduce duplication"), write
this in the source file:
{-# ANN module ("HLint: ignore Reduce duplication" :: Text) #-}
You can also apply it just to a particular function, which is better:
{-# ANN funcName ("HLint: ignore Reduce duplication" :: Text) #-}
Loading