ITADN

Upgrade dependencies to cardano-node 10.7.0

#5247Openpaolino 创建于 2026-04-15
P
paolinocommented
## Context Cardano Node 10.7.0 is in pre-release, required for the van Rossem hard fork (protocol version 11, expected late June 2026). ## Breaking changes impacting the wallet ### Ouroboros package consolidation `ouroboros-consensus` 1.0.0.0 and `ouroboros-network` 1.1.0.0 absorb previously standalone packages (`ouroboros-consensus-diffusion`, `ouroboros-consensus-protocol`, `ouroboros-consensus-cardano`, `lsm`, `lmdb`) into the main `ouroboros-consensus` package. All import paths and cabal dependencies referencing those packages need updating. Current pins: `ouroboros-consensus` 0.30.0.1, `ouroboros-network` 0.22.6.0, `ouroboros-consensus-cardano` 0.26.0.3, `ouroboros-consensus-diffusion` 0.26.0.0, `ouroboros-consensus-protocol` 0.13.0.0. ### LedgerDB V2 / LSM backend `V1InMemory` variant removed, replaced by `V2LSM`. Ledger state initialization and `ProtocolInfo` code needs adaptation. Versioned table encoding (`TablesCodecVersion1`) requires full chain replay. ### cardano-api 10.25.0.0 `submitTxToNodeLocal` returns `TxSubmitResult` (three constructors) instead of `SubmitResult TxValidationErrorInCardanoMode`. Network errors no longer escape as exceptions. Note: this is less relevant if #5237 lands first. ### Ledger bumps - `cardano-ledger-core` 1.18 → 1.19.0.0 - `cardano-ledger-conway` 1.20 → 1.21.0.0 - `Tx Size` type changed from `Integer` to `Word32` ### Network protocol - Node-to-Client bumped to `NodeToClientV_23` - `WrapTx` newtype removed - New `behindFirewall` field in local root peers ### Other - `shelleyKESFile` replaced with `shelleyKESSource :: Maybe KESSource` - `trace-dispatcher` moved to `hermod-tracing` repo - Network topology types moved to `cardano-diffusion` - `txWireSize` introduced for CBOR size measurement ## Reference - [Release 10.7.0](https://github.com/IntersectMBO/cardano-node/releases/tag/10.7.0)
0 条评论