-
Notifications
You must be signed in to change notification settings - Fork 741
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
Starting a testnet in an era different than Conway has not been possible for a while, since the options to do so have been removed from `cardano-cli`. This commit therefore removes those options from `cardano-testnet` as well. This commit also removes leftover golden files.
Remove era arguments to `cardano-testnet`
Bump `cardano-cli-10.12.0.0` and `cardano-api-10.18.0.0`
e6e0e81
to
7201cbd
Compare
`decodeAlonzoGenesis` is now gone from cardano-api since c062448a357c3f1365b0105eae1dab4e93b20076
Co-authored-by: Alexey Kuleshevich <[email protected]>
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
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.