Skip to content

Conversation

@jasagredo
Copy link
Contributor

Changelog

- description: |
    <insert-changelog-description-here>
# uncomment types applicable to the change:
  type:
  # - feature        # introduces a new feature
  # - breaking       # the API has changed in a breaking way
  # - compatible     # the API has changed but is non-breaking
  # - optimisation   # measurable performance improvements
  # - refactoring    # QoL changes
  # - bugfix         # fixes a defect
  # - test           # fixes/modifies tests
  # - maintenance    # not directly related to the code
  # - release        # related to a new release preparation
  # - documentation  # change in code docs, haddocks...

Context

Additional context for the PR goes here. If the PR fixes a particular issue please provide a link to the issue.

How to trust this PR

Highlight important bits of the PR that will make the review faster. If there are commands the reviewer can run to observe the new behavior, describe them.

Checklist

  • Commit sequence broadly makes sense and commits have useful messages
  • New tests are added if needed and existing tests are updated. See Running tests for more details
  • Self-reviewed the diff

@jasagredo jasagredo force-pushed the js/lsm branch 6 times, most recently from 9dbc9cf to f6a52ea Compare October 31, 2025 11:15
@jasagredo jasagredo force-pushed the js/lsm branch 9 times, most recently from 6c8fd34 to 6691afc Compare November 25, 2025 22:47
@jasagredo jasagredo force-pushed the js/lsm branch 2 times, most recently from 1bc905a to d6026ae Compare December 5, 2025 10:53
@jasagredo
Copy link
Contributor Author

Blocked on

[175 of 180] Compiling Cardano.CLI.EraBased.Query.Run ( src/Cardano/CLI/EraBased/Query/Run.hs, /home/javier/code/cardano/cardano-cli/dist-newstyle/build/x86_64-linux/ghc-9.12.2/cardano-cli-10.13.1.0/build/Cardano/CLI/EraBased/Query/Run.o, /home/javier/code/cardano/cardano-cli/dist-newstyle/build/x86_64-linux/ghc-9.12.2/cardano-cli-10.13.1.0/build/Cardano/CLI/EraBased/Query/Run.dyn_o )
src/Cardano/CLI/EraBased/Query/Run.hs:1227:45: error: [GHC-39999]
    • Could not deduce ‘Exp.IsEra era’
        arising from a use of ‘Json.encodeJson’
      from the context: ShelleyBasedEraConstraints era
        bound by a type expected by the context:
                   ShelleyBasedEraConstraints era => LBS.ByteString
        at src/Cardano/CLI/EraBased/Query/Run.hs:(1223,11)-(1231,15)
      Possible fix:
        add (Exp.IsEra era) to the context of
          the type signature for:
            writeFilteredUTxOs :: forall era.
                                  ShelleyBasedEra era
                                  -> Vary
                                       [FormatCborBin, FormatCborHex, FormatJson, FormatText,
                                        FormatYaml]
                                  -> Maybe (File () Out)
                                  -> UTxO era
                                  -> ExceptT QueryCmdError IO ()
    • In the expression: Json.encodeJson utxo
      In the first argument of ‘Vary.on’, namely
        ‘(\ FormatJson -> Json.encodeJson utxo)’
      In the first argument of ‘(.)’, namely
        ‘Vary.on (\ FormatJson -> Json.encodeJson utxo)’
     |
1227 |                   . Vary.on (\FormatJson -> Json.encodeJson utxo)
     |                                             ^^^^^^^^^^^^^^^

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.

2 participants