You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.
The current table only contains the ticker name and the pool_hash and the current query is:
queryReservedTicker :: MonadIO m => Text -> ReaderT SqlBackend m (Maybe ReservedTicker)
queryReservedTicker reservedTickerName = do
res <- select . from $ \(reservedTicker :: SqlExpr (Entity ReservedTicker)) -> do
where_ (reservedTicker ^. ReservedTickerName ==. val reservedTickerName)
limit 1
pure $ reservedTicker
pure $ fmap entityVal (listToMaybe res)
The database does not store pool deregistations (so it is not possible to check for a deregistered pool) and the query does not take into account the possibility that the pool has been deregistered.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The current table only contains the ticker
name
and thepool_hash
and the current query is:The database does not store pool deregistations (so it is not possible to check for a deregistered pool) and the query does not take into account the possibility that the pool has been deregistered.
The text was updated successfully, but these errors were encountered: