Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sanchonet: add CC to genesis #5844

Merged
merged 1 commit into from
May 16, 2024

sanchonet: add CC to genesis

b4c001a
Select commit
Loading
Failed to load commit list.
Merged

sanchonet: add CC to genesis #5844

sanchonet: add CC to genesis
b4c001a
Select commit
Loading
Failed to load commit list.
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) #-}