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

Draft: Use era type class constraints in generators #709

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Use era type class constraints in generators

e8391dd
Select commit
Loading
Failed to load commit list.
Open

Draft: Use era type class constraints in generators #709

Use era type class constraints in generators
e8391dd
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / hlint succeeded Dec 13, 2024 in 4s

4 new alerts

New alerts in code changed by this pull request

  • 3 warnings
  • 1 note

See annotations below for details.

View all branch alerts.

Annotations

Check warning on line 817 in cardano-api/gen/Test/Gen/Cardano/Api/Typed.hs

See this annotation in the file changed.

Code scanning / HLint

Redundant bracket Warning generated

cardano-api/gen/Test/Gen/Cardano/Api/Typed.hs:817:5-22: Warning: Redundant bracket
  
Found:
  (genTxBodyContent)
  
Perhaps:
  genTxBodyContent

Check warning on line 873 in cardano-api/gen/Test/Gen/Cardano/Api/Typed.hs

See this annotation in the file changed.

Code scanning / HLint

Redundant bracket Warning generated

cardano-api/gen/Test/Gen/Cardano/Api/Typed.hs:873:44-71: Warning: Redundant bracket
  
Found:
  (genShelleyBootstrapWitness)
  
Perhaps:
  genShelleyBootstrapWitness

Check warning on line 874 in cardano-api/gen/Test/Gen/Cardano/Api/Typed.hs

See this annotation in the file changed.

Code scanning / HLint

Redundant bracket Warning generated

cardano-api/gen/Test/Gen/Cardano/Api/Typed.hs:874:45-66: Warning: Redundant bracket
  
Found:
  (genShelleyKeyWitness)
  
Perhaps:
  genShelleyKeyWitness

Check notice on line 37 in cardano-api/test/cardano-api-test/Test/Cardano/Api/TxBody.hs

See this annotation in the file changed.

Code scanning / HLint

Redundant $ Note test

cardano-api/test/cardano-api-test/Test/Cardano/Api/TxBody.hs:37:47: Suggestion: Redundant $
  
Found:
  H.forAll $ genValidTxBody
  
Perhaps:
  H.forAll genValidTxBody