Skip to content
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

Integrate newer cardano-ledger and ouroboros-consensus #496

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

dnadales
Copy link
Member

@dnadales dnadales commented Mar 25, 2024

Changelog

- description: |
    - Add `getReferenceInputsSizeForTxIds` function.
    - Bump `cardano-ledger` and `ouroboros-consensus` bounds. In particular, the Conway genesis parameter `ucppMinFeeRefScriptCostPerByte` needs to be set to the correct value after benchmarking.
    - Add an extra parameter to `evaluateTransactionFee`, the reference script size, which the Ledger requires to estimate the minimum fee of a transaction.
# uncomment types applicable to the change:
  type:
    - feature
    - breaking       # the API has changed in a breaking way
  # - compatible     # the API has changed but is non-breaking
  # - optimisation   # measurable performance improvements
  # - improvement    # QoL changes e.g. refactoring
  # - 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

@disassembler disassembler force-pushed the dnadales/api-8.10 branch 3 times, most recently from 46af24b to f41c70a Compare April 4, 2024 04:46
@@ -1,7 +1,7 @@
cabal-version: 3.4

name: cardano-api
version: 8.43.0.0
version: 8.44.0.0
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should go in a separate PR

@dnadales dnadales force-pushed the dnadales/api-8.10 branch from a1e5545 to a1e9b03 Compare April 4, 2024 11:26
@dnadales dnadales marked this pull request as ready for review April 4, 2024 11:27
@@ -194,22 +194,23 @@ library internal
, optparse-applicative-fork
, ouroboros-consensus ^>= 0.16
, ouroboros-consensus-cardano ^>= 0.14
, ouroboros-consensus-diffusion ^>= 0.12
-- TODO: ouroboros-consensus-diffusion needs to be bumped
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this comment still relevant?

@@ -1165,6 +1165,8 @@ mkProtocolInfoCardano (GenesisCardano dnc byronGenesis shelleyGenesisHash transC
}
, Consensus.hardForkTriggers = ncHardForkTriggers dnc
, Consensus.ledgerTransitionConfig = transCfg
-- FIXME: add a comment mentioning when the a RE should change 'checkpoints' (eg around Genesis release).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this comment still relevant?

cardano-api/internal/Cardano/Api/Tx/Body.hs Show resolved Hide resolved
@disassembler disassembler enabled auto-merge April 4, 2024 12:37
@carbolymer carbolymer mentioned this pull request Apr 4, 2024
3 tasks
@disassembler disassembler added this pull request to the merge queue Apr 4, 2024
@carbolymer carbolymer changed the title API release for Node 8.10 Integrate newer cardano-ledger and ouroboros-consensus Apr 4, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Apr 4, 2024
@carbolymer carbolymer merged commit 428fa68 into main Apr 4, 2024
24 checks passed
@carbolymer carbolymer deleted the dnadales/api-8.10 branch April 4, 2024 17:29
@carbolymer
Copy link
Contributor

Force merged because GHA was not responding

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.

3 participants