Predictable ledger state snapshots #6526
Open
IOG Hydra / ci/hydra-build:x86_64-linux.nonrequired
failed
May 28, 2026 in 0s
Build dependency failed
1 failed steps
Details
Failed Steps
Step 1
Derivation
/nix/store/zfcp5hbcwphks2gm7k40bpnkjf73i84s-hlint-check.drv
Log
cardano-node/src/Cardano/Node/Configuration/POM.hs:577:27-76: Warning: Redundant flip
Found:
flip (withObject "Snapshots") sv parseSnapshotOpts
Perhaps:
withObject "Snapshots" parseSnapshotOpts sv
cardano-node/src/Cardano/Node/Tracing/Tracers/ChainDB.hs:1782:12-46: Warning: Redundant bracket
Found:
(LedgerDB.SnapshotRequestCompleted)
Perhaps:
LedgerDB.SnapshotRequestCompleted
cardano-node/src/Cardano/Node/Tracing/Tracers/ChainDB.hs:1804:21-55: Warning: Redundant bracket
Found:
(LedgerDB.SnapshotRequestCompleted)
Perhaps:
LedgerDB.SnapshotRequestCompleted
cardano-node/src/Cardano/Node/Tracing/Tracers/ChainDB.hs:3225:17-41: Suggestion: Use record patterns
Found:
PerasCertDB.AddCert _ _ _
Perhaps:
PerasCertDB.AddCert {}
cardano-node/src/Cardano/Node/Tracing/Tracers/ChainDB.hs:3252:17-41: Suggestion: Use record patterns
Found:
PerasVoteDB.AddVote _ _ _
Perhaps:
PerasVoteDB.AddVote {}
5 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) #-}
Loading