Skip to content

Conversation

ana-pantilie
Copy link

Needs #6337

Description

Add your description here, if it fixes a particular issue please provide a
link
to the issue.

Checklist

  • Commit sequence broadly makes sense and commits have useful messages
  • New tests are added if needed and existing tests are updated. These may include:
    • golden tests
    • property tests
    • roundtrip tests
    • integration tests
      See Runnings tests for more details
  • Any changes are noted in the CHANGELOG.md for affected package
  • The version bounds in .cabal files are updated
  • CI passes. See note on CI. The following CI checks are required:
    • Code is linted with hlint. See .github/workflows/check-hlint.yml to get the hlint version
    • Code is formatted with stylish-haskell. See .github/workflows/stylish-haskell.yml to get the stylish-haskell version
    • Code builds on Linux, MacOS and Windows for ghc-9.6 and ghc-9.12
  • Self-reviewed the diff

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.

nbacquey and others added 5 commits September 25, 2025 18:31
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`
@ana-pantilie ana-pantilie force-pushed the ana/other-packages-10.6 branch from e6e0e81 to 7201cbd Compare October 3, 2025 13:08
@carbolymer carbolymer force-pushed the ana/other-packages-10.6 branch from 237ce11 to 858235a Compare October 3, 2025 20:58
AnyCardanoEra ShelleyEra -> action AsShelleyEra
AnyCardanoEra ByronEra -> error "byron not supported"
-- TODO: is this correct?
AnyCardanoEra DijkstraEra -> error "Dijkstra not supported"
Copy link
Contributor

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
Copy link
Contributor

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`.
Copy link
Contributor

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
Copy link
Contributor

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)?

Copy link
Contributor

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)
Copy link
Contributor

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.

@carbolymer carbolymer force-pushed the ana/other-packages-10.6 branch from 5fe3282 to dd9a2bb Compare October 6, 2025 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants