File tree Expand file tree Collapse file tree 11 files changed +0
-17
lines changed
cardano-db-sync/src/Cardano/DbSync
cardano-db-tool/src/Cardano/DbTool
cardano-db/src/Cardano/Db/Operations Expand file tree Collapse file tree 11 files changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -21,8 +21,6 @@ import Database.Esqueleto.Experimental (
2121 SqlBackend ,
2222 )
2323
24- {- HLINT ignore "Fuse on/on" -}
25-
2624resolveStakeAddress :: MonadIO m => ByteString -> ReaderT SqlBackend m (Either LookupFail StakeAddressId )
2725resolveStakeAddress addr = queryStakeAddress addr renderByteArray
2826
Original file line number Diff line number Diff line change @@ -42,8 +42,6 @@ import Database.Esqueleto.Experimental (
4242 (^.) ,
4343 )
4444
45- {- HLINT ignore "Fuse on/on" -}
46-
4745-- For any stake address which has seen a withdrawal, the sum of the withdrawals for that address
4846-- should be less than or equal to the sum of the rewards for that address.
4947validateRewardWithdrawals ::
Original file line number Diff line number Diff line change @@ -44,7 +44,6 @@ import Database.Esqueleto.Experimental (
4444 )
4545import GHC.Err (error )
4646
47- {- HLINT ignore "Fuse on/on" -}
4847{- HLINT ignore "Reduce duplication" -}
4948
5049validateEpochRewards ::
Original file line number Diff line number Diff line change @@ -61,8 +61,6 @@ import Database.Esqueleto.Experimental (
6161 )
6262import System.Random.Shuffle (shuffleM )
6363
64- {- HLINT ignore "Fuse on/on" -}
65-
6664---------------------------------------------------------------------------------------------------------------------------------
6765-- Query OffChain VoteData
6866---------------------------------------------------------------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ import Database.Esqueleto.Experimental (
3838 )
3939
4040{- HLINT ignore "Redundant ^." -}
41- {- HLINT ignore "Fuse on/on" -}
4241
4342reportBalance :: TxOutVariantType -> [Text ] -> IO ()
4443reportBalance txOutTableType saddr = do
Original file line number Diff line number Diff line change @@ -40,8 +40,6 @@ import Database.Esqueleto.Experimental (
4040 )
4141import Text.Printf (printf )
4242
43- {- HLINT ignore "Fuse on/on" -}
44-
4543reportStakeRewardHistory :: Text -> IO ()
4644reportStakeRewardHistory saddr = do
4745 xs <- runDbNoLoggingEnv (queryHistoryStakeRewards saddr)
Original file line number Diff line number Diff line change @@ -44,8 +44,6 @@ import Database.Esqueleto.Experimental (
4444 )
4545import Text.Printf (printf )
4646
47- {- HLINT ignore "Fuse on/on" -}
48-
4947reportEpochStakeRewards :: Word64 -> [Text ] -> IO ()
5048reportEpochStakeRewards epochNum saddr = do
5149 xs <- catMaybes <$> runDbNoLoggingEnv (mapM (queryEpochStakeRewards epochNum) saddr)
Original file line number Diff line number Diff line change @@ -51,7 +51,6 @@ import Database.Esqueleto.Experimental (
5151 )
5252
5353{- HLINT ignore "Redundant ^." -}
54- {- HLINT ignore "Fuse on/on" -}
5554
5655reportTransactions :: TxOutVariantType -> [Text ] -> IO ()
5756reportTransactions txOutTableType addrs =
Original file line number Diff line number Diff line change @@ -43,8 +43,6 @@ import Database.Esqueleto.Experimental (
4343 )
4444import qualified System.Random as Random
4545
46- {- HLINT ignore "Fuse on/on" -}
47-
4846validateTxAccounting :: TxOutVariantType -> IO ()
4947validateTxAccounting getTxOutVariantType = do
5048 txIdRange <- runDbNoLoggingEnv queryTestTxIds
Original file line number Diff line number Diff line change @@ -166,7 +166,6 @@ import Database.Persist.Class.PersistQuery (selectList)
166166import Database.Persist.Types (SelectOpt (Asc ))
167167
168168{- HLINT ignore "Redundant ^." -}
169- {- HLINT ignore "Fuse on/on" -}
170169{- HLINT ignore "Reduce duplication" -}
171170
172171-- If you squint, these Esqueleto queries almost look like SQL queries.
You can’t perform that action at this time.
0 commit comments