Skip to content

Commit

Permalink
Merge pull request #506 from IntersectMBO/release/cardano-api-8.44.0.0
Browse files Browse the repository at this point in the history
Release cardano-api-8.44.0.0
  • Loading branch information
carbolymer authored Apr 4, 2024
2 parents 428fa68 + f4314f7 commit 8591c83
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 5 deletions.
20 changes: 19 additions & 1 deletion cardano-api/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,24 @@
# Changelog for cardano-api

# 8.43.0.0
## 8.44.0.0

- - 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.
(feature, breaking)
[PR 496](https://github.com/IntersectMBO/cardano-api/pull/496)

- In `Cardano.API.LedgerState`:
- Use type aliases and patterns from ouroboros-consensus instead of re-defining them.
- Import entities from the right modules.
(improvement)
[PR 503](https://github.com/IntersectMBO/cardano-api/pull/503)

- Replace unsafeMergeVotingProcedures by mergeVotingProcedures, that handles incompatible votes and return an error
(breaking, bugfix)
[PR 498](https://github.com/IntersectMBO/cardano-api/pull/498)

## 8.43.0.0

- Undeprecate `evaluateTransactionFee`
(compatible)
Expand Down
2 changes: 1 addition & 1 deletion cardano-api/cardano-api.cabal
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cabal-version: 3.4

name: cardano-api
version: 8.43.0.0
version: 8.44.0.0
synopsis: The cardano API
description: The cardano API.
category: Cardano,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,6 @@ handleConwayNEWEPOCHEvents conwayNewEpochEvent =
(convertRetiredPoolsMap refundPools)
(convertRetiredPoolsMap unclaimedPools)
Conway.SnapEvent _ -> Nothing
Conway.GovInfoEvent {} -> Nothing -- FIXME: Confirm if we need a new event here
Conway.GovInfoEvent {} -> Nothing

Conway.TotalAdaPotsEvent _ -> Nothing
4 changes: 2 additions & 2 deletions cardano-api/internal/Cardano/Api/Tx/Body.hs
Original file line number Diff line number Diff line change
Expand Up @@ -3060,9 +3060,9 @@ genesisUTxOPseudoTxIn nw (GenesisUTxOKeyHash kh) =
(Shelley.KeyHashObj kh)
Shelley.StakeRefNull

-- | Calculate the reference inputs size for provided set of transaction IDs and UTXOs.
-- | Calculate the reference inputs size in bytes for provided set of transaction IDs and UTXOs.
getReferenceInputsSizeForTxIds
:: forall era ledgerera. ShelleyLedgerEra era ~ ledgerera
:: ShelleyLedgerEra era ~ ledgerera
=> BabbageEraOnwards era
-> Ledger.UTxO ledgerera
-> Set TxIn
Expand Down

0 comments on commit 8591c83

Please sign in to comment.