-
Notifications
You must be signed in to change notification settings - Fork 740
Node 10.6 - make other packages build #6338
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
base: ana/10.6-final-integration-mix
Are you sure you want to change the base?
Node 10.6 - make other packages build #6338
Conversation
e6e0e81
to
7201cbd
Compare
237ce11
to
858235a
Compare
AnyCardanoEra ShelleyEra -> action AsShelleyEra | ||
AnyCardanoEra ByronEra -> error "byron not supported" | ||
-- TODO: is this correct? | ||
AnyCardanoEra DijkstraEra -> error "Dijkstra not supported" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given cardano-api
types are defined as expected, this should be
AnyCardanoEra DijkstraEra -> action AsDijkstraEra
ShelleyBasedEraBabbage -> 42 | ||
ShelleyBasedEraConway -> 42 | ||
-- TODO: check if this is correct! | ||
ShelleyBasedEraDijkstra -> 42 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are test cases in bench/tx-generator/test/Main.hs
which would need to include a newly defined property (in SizedMetadata.hs
):
prop_mapCostsDijkstra = measureMapCosts AsDijkstraEra == assumeMapCosts AsDijkstraEra
|
||
flag rtview | ||
description: Enable RTView. False by default. Enable with `-f +rtview`. | ||
description: Enab2.3e RTView. False by default. Enable with `-f +rtview`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo?
runAcceptorsServer tracerEnv tracerEnvRTView howToConnect ( ekgConfig, tfConfig, dpfConfig) = | ||
withIOManager \iocp -> do | ||
traceWith (teTracer tracerEnv) $ TracerSockListen (Net.howToConnectString howToConnect) | ||
case howToConnect of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you accidentally remove scrutinizing howToConnect
(and branching correctly between doListenToForwarderSocket
and doListenToForwarderLocal
, renaming the latter to doListenToForwarder
)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't look like my patch, just the top commit on this branch should fix this.
import Control.Concurrent.Async (async) | ||
import Control.Exception (throwIO) | ||
import Control.Monad (void) | ||
import Control.Monad.Class.MonadAsync (wait) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This module does not make use of io-classes
or a MonadAsync m =>
constraint. We should stick with the monomorphic version from async
here to make that obvious.
5fe3282
to
dd9a2bb
Compare
b6babba
to
93f4740
Compare
…into ana/other-packages-10.6
Needs #6337
Description
Add your description here, if it fixes a particular issue please provide a
link
to the issue.
Checklist
See Runnings tests for more details
CHANGELOG.md
for affected package.cabal
files are updatedhlint
. See.github/workflows/check-hlint.yml
to get thehlint
versionstylish-haskell
. See.github/workflows/stylish-haskell.yml
to get thestylish-haskell
versionghc-9.6
andghc-9.12
Note on CI
If your PR is from a fork, the necessary CI jobs won't trigger automatically for security reasons.
You will need to get someone with write privileges. Please contact IOG node developers to do this
for you.