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 (
21
21
SqlBackend ,
22
22
)
23
23
24
- {- HLINT ignore "Fuse on/on" -}
25
-
26
24
resolveStakeAddress :: MonadIO m => ByteString -> ReaderT SqlBackend m (Either LookupFail StakeAddressId )
27
25
resolveStakeAddress addr = queryStakeAddress addr renderByteArray
28
26
Original file line number Diff line number Diff line change @@ -42,8 +42,6 @@ import Database.Esqueleto.Experimental (
42
42
(^.) ,
43
43
)
44
44
45
- {- HLINT ignore "Fuse on/on" -}
46
-
47
45
-- For any stake address which has seen a withdrawal, the sum of the withdrawals for that address
48
46
-- should be less than or equal to the sum of the rewards for that address.
49
47
validateRewardWithdrawals ::
Original file line number Diff line number Diff line change @@ -44,7 +44,6 @@ import Database.Esqueleto.Experimental (
44
44
)
45
45
import GHC.Err (error )
46
46
47
- {- HLINT ignore "Fuse on/on" -}
48
47
{- HLINT ignore "Reduce duplication" -}
49
48
50
49
validateEpochRewards ::
Original file line number Diff line number Diff line change @@ -61,8 +61,6 @@ import Database.Esqueleto.Experimental (
61
61
)
62
62
import System.Random.Shuffle (shuffleM )
63
63
64
- {- HLINT ignore "Fuse on/on" -}
65
-
66
64
---------------------------------------------------------------------------------------------------------------------------------
67
65
-- Query OffChain VoteData
68
66
---------------------------------------------------------------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ import Database.Esqueleto.Experimental (
38
38
)
39
39
40
40
{- HLINT ignore "Redundant ^." -}
41
- {- HLINT ignore "Fuse on/on" -}
42
41
43
42
reportBalance :: TxOutVariantType -> [Text ] -> IO ()
44
43
reportBalance txOutTableType saddr = do
Original file line number Diff line number Diff line change @@ -40,8 +40,6 @@ import Database.Esqueleto.Experimental (
40
40
)
41
41
import Text.Printf (printf )
42
42
43
- {- HLINT ignore "Fuse on/on" -}
44
-
45
43
reportStakeRewardHistory :: Text -> IO ()
46
44
reportStakeRewardHistory saddr = do
47
45
xs <- runDbNoLoggingEnv (queryHistoryStakeRewards saddr)
Original file line number Diff line number Diff line change @@ -44,8 +44,6 @@ import Database.Esqueleto.Experimental (
44
44
)
45
45
import Text.Printf (printf )
46
46
47
- {- HLINT ignore "Fuse on/on" -}
48
-
49
47
reportEpochStakeRewards :: Word64 -> [Text ] -> IO ()
50
48
reportEpochStakeRewards epochNum saddr = do
51
49
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 (
51
51
)
52
52
53
53
{- HLINT ignore "Redundant ^." -}
54
- {- HLINT ignore "Fuse on/on" -}
55
54
56
55
reportTransactions :: TxOutVariantType -> [Text ] -> IO ()
57
56
reportTransactions txOutTableType addrs =
Original file line number Diff line number Diff line change @@ -43,8 +43,6 @@ import Database.Esqueleto.Experimental (
43
43
)
44
44
import qualified System.Random as Random
45
45
46
- {- HLINT ignore "Fuse on/on" -}
47
-
48
46
validateTxAccounting :: TxOutVariantType -> IO ()
49
47
validateTxAccounting getTxOutVariantType = do
50
48
txIdRange <- runDbNoLoggingEnv queryTestTxIds
Original file line number Diff line number Diff line change @@ -166,7 +166,6 @@ import Database.Persist.Class.PersistQuery (selectList)
166
166
import Database.Persist.Types (SelectOpt (Asc ))
167
167
168
168
{- HLINT ignore "Redundant ^." -}
169
- {- HLINT ignore "Fuse on/on" -}
170
169
{- HLINT ignore "Reduce duplication" -}
171
170
172
171
-- If you squint, these Esqueleto queries almost look like SQL queries.
You can’t perform that action at this time.
0 commit comments