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

Automated drep (Scenario 2) #5809

Open
wants to merge 20 commits into
base: master
Choose a base branch
from

Disable failing test

147b28a
Select commit
Loading
Failed to load commit list.
Open

Automated drep (Scenario 2) #5809

Disable failing test
147b28a
Select commit
Loading
Failed to load commit list.
IOG Hydra / ci/hydra-build:x86_64-linux.native.checks/hlint failed May 16, 2024 in 46s

Build failed

1 failed steps

Details

Failed Steps

Step 1

Derivation

/nix/store/49fh1d92gpfxkvwmssngpnay6r6rim4w-hlint-check.drv

Log

cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/Gov/NoConfidence.hs:159: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]

cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/Gov/PredefinedNoConfidenceDRep.hs:177:76-93: Warning: Use map
Found:
  zip (repeat "yes")
Perhaps:
  map ("yes",)
Note: may require `{-# LANGUAGE TupleSections #-}` adding to the top of the file

cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/Gov/PredefinedNoConfidenceDRep.hs:297:76-93: Warning: Use map
Found:
  zip (repeat "yes")
Perhaps:
  map ("yes",)
Note: may require `{-# LANGUAGE TupleSections #-}` adding to the top of the file

3 hints
=====================================================================
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) #-}