Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
9e0daa9
Bump Hackage and CHaP index states
geo2a Feb 6, 2026
686d1d2
Use `cardano-crypto-class-2.3.*`
geo2a Feb 12, 2026
e26e218
Use `typed-protocols-1.2.*`
geo2a Feb 12, 2026
30566c5
Use `cardno-api-10.25.*`
geo2a Mar 19, 2026
19c2000
cardano-node-chairman: bump io-classes to ^>= 1.8
geo2a Mar 19, 2026
c047ff1
cardano-node-chairman: use `cardano-ledger-core-1.19.*`
geo2a Mar 19, 2026
074ca7c
cardano-node-chairman: bump Network and Consensus dependencies
geo2a Mar 19, 2026
a0e8edc
cardano-submit-api: bump Network and Consensus dependencies
geo2a Mar 19, 2026
9408850
cardano-submit-api: adapt to API and Network changes
geo2a Mar 18, 2026
bb6c5de
cardano-testnet: bump Network and Consensus dependencies
geo2a Mar 19, 2026
0388050
cardano-testnet: rename Network imports
geo2a Mar 19, 2026
655f2c6
cardano-testnet: adapt to latest ledger
geo2a Feb 26, 2026
fae15d6
cardano-testnet: run with kes-agent with `--use-kes-agent`
geo2a Dec 2, 2025
292168c
cardano-testnet: enable use with kes-agent
geo2a Mar 10, 2026
8102908
cardano-testnet: adapt to NetworkTopology type changes
geo2a Mar 12, 2026
21353a8
cardano-testnet: adapt to changes in `TxSubmitResult`
geo2a Mar 18, 2026
7cadd60
cardano-tracer: bump Network and Consensus dependencies
geo2a Mar 19, 2026
453cb5c
trace-forward: bump Network and Consensus dependencies
geo2a Mar 19, 2026
226d5fd
trace-forward: add new Network tracers and fix tests
geo2a Feb 10, 2026
dda534c
trace-forward: bump ekg-forward
geo2a Mar 19, 2026
3dce6c3
cardano-tracer: bump ekg-forward
geo2a Mar 19, 2026
5fadba5
cardano-tracer: rename Network imports
geo2a Mar 19, 2026
53cb32c
cardano-tracer: remove stale metrics help entry
geo2a Mar 19, 2026
0cca822
cardano-tracer: integrate new Network packages
geo2a Feb 24, 2026
34f5929
cardano-tracer: fix cardano-tracer-test-ext
geo2a Mar 11, 2026
c83187e
cardano-node: bump io-classes to ^>= 1.8
geo2a Mar 19, 2026
3f6cb97
cardano-node: bump Network and Consensus dependencies
geo2a Mar 19, 2026
3f91012
cardano-node: bump kes-agent
geo2a Feb 6, 2026
3ffb8c2
cardano-node: rename Network imports
geo2a Mar 19, 2026
344b97f
cardano-node: integrate tracing changes
geo2a Mar 19, 2026
244fb17
cardano-node: parse new TxSubmission params from the config
geo2a Mar 12, 2026
6c69ba1
cardano-node: Initialise node feature flags as empty
geo2a Mar 12, 2026
c261e19
cardano-node: fix `readPeerSnapshotFile`
geo2a Mar 12, 2026
d0b89da
cardano-node: add kes-agent support
fraser-iohk Jun 26, 2025
18e4fe2
cardano-node: network integration
crocodile-dentist Mar 11, 2026
f48d62f
cardano-node: fix tests
geo2a Mar 11, 2026
d20c2d7
cardano-node: Migrate to Network-provided topology types
geo2a Mar 12, 2026
5c2830d
bench: bump Network and Consensus dependencies
geo2a Mar 19, 2026
175bef4
bench: rename Network imports
geo2a Mar 19, 2026
bcfec50
tx-generator: update cabal dependencies
geo2a Mar 19, 2026
eeb938c
tx-generator: update to latest API, Ledger and Network
geo2a Mar 19, 2026
5844411
tx-generator: adapt to kes-agent
geo2a Nov 28, 2025
c3c811f
nix: remove stale overrides for renamed network packages
geo2a Mar 19, 2026
92d081e
nix: don't generate Haddocks for cardano-diffusion
johnalotoski Mar 4, 2026
956cac0
musl: keep the static liuring.a file in postInstall
johnalotoski Mar 10, 2026
4fab8e1
ci: fix aarch64-linux.musl ghc-iserv failures
johnalotoski Mar 12, 2026
e625f0f
Remove `trace-dispatcher/`
geo2a Mar 19, 2026
c7b7e32
Use `trace-dispatcher-2.13.*`
geo2a Mar 20, 2026
c5b90ec
bench: remove orphans for TraceMessage
geo2a Mar 20, 2026
68d035a
new tracing: render SendFetchRequest.data.deltaq
mgmeier Mar 12, 2026
dd7266d
new tracing: reorder and fix TxSubmission2
mgmeier Mar 20, 2026
13d583b
trace-forward: increased robustness
mgmeier Mar 20, 2026
bf424c0
Fix dependency resolution of proto-lens in nix
carbolymer Mar 23, 2026
1d8db3e
Fix incorrect merge resolutions
carbolymer Mar 23, 2026
d752a6e
Make cardano-testnet tests compile
carbolymer Mar 23, 2026
8cbeb9d
Fix cardano-testnet-tests
carbolymer Mar 23, 2026
c9082d2
nixosTests: add ci test for db tools vs node compatibility
johnalotoski Mar 5, 2026
113ca5f
releaseBins: add kes-agent bins for linux arches only
johnalotoski Mar 3, 2026
26d9b3a
cardano-tracer: rename runCommandNoCCLocal for nixpkgs 25.11
johnalotoski Feb 13, 2026
aa2ebaf
releaseBins: add dmq-node todo
johnalotoski Mar 5, 2026
0d488d6
oci: improve the launch run-node script
johnalotoski Mar 6, 2026
0bcd4d2
oci: add tracer network opts to run-node script
johnalotoski Mar 6, 2026
76fb999
oci: improve the launch run-client script
johnalotoski Mar 6, 2026
c0c6eae
oci: improve the launch run-tracer script
johnalotoski Mar 6, 2026
08c6c2b
oci: improve the node entrypoint
johnalotoski Mar 6, 2026
98d09a8
oci: improve the tracer entrypoint
johnalotoski Mar 6, 2026
6e32afa
nodeNixosSvc: add independent lsm db paths and asserts
johnalotoski Mar 6, 2026
94cdcc1
oci/nodeNixosSvc: add kes agent cli arg support
johnalotoski Mar 6, 2026
13d630a
bump: iohkNix and adjust ci
johnalotoski Mar 18, 2026
9857528
dmq-node: add to release-bins
johnalotoski Mar 23, 2026
96aa4da
cabal: fix dmq-node cross-compilation
johnalotoski Mar 23, 2026
ce37b98
cardano-testnet: add changelog item
geo2a Mar 24, 2026
da916d5
Remove cardano-rpc SRP
carbolymer Mar 24, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 7 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@

Changelogs for components can be found as follows:

- [trace-resources](https://github.com/IntersectMBO/cardano-node/blob/master/trace-resources/CHANGELOG.md)
- [trace-dispatcher](https://github.com/IntersectMBO/cardano-node/blob/master/trace-dispatcher/CHANGELOG.md)
- [cardano-testnet](https://github.com/IntersectMBO/cardano-node/blob/master/cardano-testnet/CHANGELOG.md)
- [cardano-submit-api](https://github.com/IntersectMBO/cardano-node/blob/master/cardano-submit-api/CHANGELOG.md)
- [trace-forward](https://github.com/IntersectMBO/cardano-node/blob/master/trace-forward/CHANGELOG.md)
- [cardano-tracer](https://github.com/IntersectMBO/cardano-node/blob/master/cardano-tracer/CHANGELOG.md)
- [cardano-node-capi](https://github.com/IntersectMBO/cardano-node/blob/master/cardano-node-capi/CHANGELOG.md)
- [bench/tx-generator](https://github.com/IntersectMBO/cardano-node/blob/master/bench/tx-generator/CHANGELOG.md)

- [trace-resources](https://github.com/IntersectMBO/cardano-node/blob/master/trace-resources/CHANGELOG.md)
- [cardano-testnet](https://github.com/IntersectMBO/cardano-node/blob/master/cardano-testnet/CHANGELOG.md)
- [cardano-submit-api](https://github.com/IntersectMBO/cardano-node/blob/master/cardano-submit-api/CHANGELOG.md)
- [trace-forward](https://github.com/IntersectMBO/cardano-node/blob/master/trace-forward/CHANGELOG.md)
- [cardano-tracer](https://github.com/IntersectMBO/cardano-node/blob/master/cardano-tracer/CHANGELOG.md)
- [cardano-node-capi](https://github.com/IntersectMBO/cardano-node/blob/master/cardano-node-capi/CHANGELOG.md)
- [bench/tx-generator](https://github.com/IntersectMBO/cardano-node/blob/master/bench/tx-generator/CHANGELOG.md)
2 changes: 0 additions & 2 deletions CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
# Perf/Tracing
bench/ @intersectmbo/performance-and-tracing
nix/workbench/ @intersectmbo/performance-and-tracing
trace-dispatcher/ @intersectmbo/performance-and-tracing
trace-forward/ @intersectmbo/performance-and-tracing
trace-resources/ @intersectmbo/performance-and-tracing
Makefile @intersectmbo/performance-and-tracing
Expand All @@ -22,4 +21,3 @@ flake.lock @intersectmbo/core
ci/ @intersectmbo/core-tech-devx @intersectmbo/core-tech-release-1
configuration/ @intersectmbo/core-tech-devx @intersectmbo/core-tech-release-1
docker-compose.yml @intersectmbo/core-tech-devx @intersectmbo/core-tech-release-1

1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ The `cardano-node` repository is the point of integration of the
[ledger](https://github.com/IntersectMBO/cardano-ledger),
[consensus](https://github.com/IntersectMBO/ouroboros-consensus),
[networking](https://github.com/IntersectMBO/ouroboros-network)
and [logging](https://github.com/IntersectMBO/cardano-node/tree/master/trace-dispatcher)
layers. It provides the `cardano-node` executable which is used to participate in the Cardano network.

This is an approximate diagram of the dependencies among the different components:
Expand Down
4 changes: 2 additions & 2 deletions bench/cardano-recon-framework/cardano-recon-framework.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ library
, containers
, text
, directory
, trace-dispatcher ^>= 2.11
, trace-dispatcher ^>= 2.12
, serialise
, bytestring
, time
Expand Down Expand Up @@ -127,7 +127,7 @@ executable cardano-recon
, text
, containers
, cardano-recon-framework
, trace-dispatcher ^>= 2.11
, trace-dispatcher ^>= 2.12
, aeson
, streaming
, async
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ import Streaming
utcToMicroseconds :: UTCTime -> Word64
utcToMicroseconds utcTime = round $ utcTimeToPOSIXSeconds utcTime * 1000000

deriving instance Eq TraceMessage
deriving instance Ord TraceMessage

-- | Temporal event represents multiple trace messages spanning some duration of time together with an index of the event.
data TemporalEvent = TemporalEvent {
-- | Microseconds since epoch when the event begins.
Expand Down
4 changes: 2 additions & 2 deletions bench/locli/locli.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ library
, fingertree == 0.1.5.0
, hashable
, optparse-applicative
, ouroboros-consensus
, ouroboros-network-api ^>= 0.16
, ouroboros-consensus:ouroboros-consensus
, ouroboros-network:api ^>= 1.1
, sop-core
, split
, sqlite-easy >= 1.1.0.1
Expand Down
8 changes: 4 additions & 4 deletions bench/plutus-scripts-bench/plutus-scripts-bench.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,10 @@ library
-- IOG dependencies
--------------------------
build-depends:
, cardano-api ^>=10.24.1
, plutus-ledger-api ^>=1.58
, plutus-tx ^>=1.58
, plutus-tx-plugin ^>=1.58
, cardano-api ^>=10.25
, plutus-ledger-api ^>=1.59
, plutus-tx ^>=1.59
, plutus-tx-plugin ^>=1.59

------------------------
-- Non-IOG dependencies
Expand Down
2 changes: 1 addition & 1 deletion bench/tx-generator/src/Cardano/Benchmarking/Command.hs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import Data.Foldable (for_)
import Data.Maybe (catMaybes)
import qualified Data.Text.IO as Text
import Options.Applicative as Opt
import Ouroboros.Network.NodeToClient (IOManager, withIOManager)
import Cardano.Network.NodeToClient (IOManager, withIOManager)

import System.Exit

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ import Ouroboros.Network.KeepAlive
import Ouroboros.Network.Magic
import Ouroboros.Network.Mux (MiniProtocolCb (..),
OuroborosApplication (..), OuroborosBundle, RunMiniProtocol (..))
import Ouroboros.Network.NodeToClient (chainSyncPeerNull)
import Ouroboros.Network.NodeToNode (NetworkConnectTracers (..))
import qualified Ouroboros.Network.NodeToNode as NtN
import Cardano.Network.NodeToClient (chainSyncPeerNull)
import Cardano.Network.NodeToNode (NetworkConnectTracers (..))
import qualified Cardano.Network.NodeToNode as NtN
import Ouroboros.Network.PeerSelection.PeerSharing (PeerSharing (..))
import Ouroboros.Network.PeerSelection.PeerSharing.Codec (decodeRemoteAddress,
encodeRemoteAddress)
Expand Down
2 changes: 1 addition & 1 deletion bench/tx-generator/src/Cardano/Benchmarking/LogTypes.hs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import Cardano.TxGenerator.Types (TPSRate)
import Ouroboros.Consensus.Ledger.SupportsMempool (GenTxId)
import Ouroboros.Network.Driver (TraceSendRecv (..))
import Ouroboros.Network.IOManager (IOManager)
import Ouroboros.Network.NodeToNode (NodeToNodeVersion, RemoteConnectionId)
import Cardano.Network.NodeToNode (NodeToNodeVersion, RemoteConnectionId)
import Ouroboros.Network.Protocol.Handshake.Type (Handshake)
import Ouroboros.Network.Protocol.TxSubmission2.Type (TxSubmission2)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module Cardano.Benchmarking.OuroborosImports

import Cardano.Api (BlockType (..), ConsensusModeParams (..), EpochSlots (..),
LocalNodeConnectInfo (..), NetworkId (..), PaymentKey, SigningKey, SocketPath,
TxInMode, TxValidationErrorInCardanoMode, protocolInfo, submitTxToNodeLocal)
TxInMode, TxSubmitResult (..), protocolInfo, submitTxToNodeLocal)

import Cardano.CLI.Type.Common (SigningKeyFile)
import Cardano.Ledger.Shelley.Genesis (ShelleyGenesis)
Expand All @@ -35,7 +35,6 @@ import Ouroboros.Consensus.Config (TopLevelConfig, configBlock, config
import Ouroboros.Consensus.Config.SupportsNode (ConfigSupportsNode (..), getNetworkMagic)
import Ouroboros.Consensus.Node (ProtocolInfo (..))
import Ouroboros.Consensus.Shelley.Eras (StandardCrypto)
import Ouroboros.Network.Protocol.LocalTxSubmission.Type (SubmitResult (..))

import Prelude

Expand All @@ -61,4 +60,4 @@ makeLocalConnectInfo :: NetworkId -> SocketPath -> LocalNodeConnectInfo
makeLocalConnectInfo networkId socketPath
= LocalNodeConnectInfo (CardanoModeParams (EpochSlots 21600)) networkId socketPath

type LocalSubmitTx = (TxInMode -> IO (SubmitResult TxValidationErrorInCardanoMode))
type LocalSubmitTx = (TxInMode -> IO TxSubmitResult)
10 changes: 7 additions & 3 deletions bench/tx-generator/src/Cardano/Benchmarking/Script/Core.hs
Original file line number Diff line number Diff line change
Expand Up @@ -207,16 +207,20 @@ waitForEra era = do
liftIO $ threadDelay 1_000_000
waitForEra era

localSubmitTx :: TxInMode -> ActionM (SubmitResult TxValidationErrorInCardanoMode)
localSubmitTx :: TxInMode -> ActionM TxSubmitResult
localSubmitTx tx = do
submit <- getLocalSubmitTx
ret <- liftIO $ submit tx
case ret of
SubmitSuccess -> return ret
SubmitFail e -> do
TxSubmitSuccess -> return ret
TxSubmitFail e -> do
let msg = concat [ "local submit failed: " , show e , " (" , show tx , ")" ]
traceDebug msg
return ret
TxSubmitError e -> do
let msg = concat [ "local submit error: " , show e , " (" , show tx , ")" ]
traceDebug msg
return ret
-- throwE $ ApiError msg

-- TODO:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ import Cardano.Node.Protocol.Types (SomeConsensusProtocol)
import Cardano.TxGenerator.PlutusContext (PlutusBudgetSummary)
import Cardano.TxGenerator.Setup.NixService as Nix (NixServiceOptions)
import Cardano.TxGenerator.Types (TxGenError (..))
import Ouroboros.Network.NodeToClient (IOManager)
import Cardano.Network.NodeToClient (IOManager)

import Prelude

Expand Down
28 changes: 9 additions & 19 deletions bench/tx-generator/src/Cardano/Benchmarking/Tracer.hs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ import qualified Cardano.Logging.Types as Net
import Cardano.Node.Startup
import Cardano.Node.Tracing.NodeInfo ()
import Ouroboros.Network.IOManager (IOManager)
import qualified Ouroboros.Network.Protocol.TxSubmission2.Type as TxSubmission
import Ouroboros.Network.Tracing ()

import Control.Exception (SomeException (..))
import Control.Monad (forM, guard)
Expand All @@ -49,6 +51,8 @@ import Data.Maybe (fromMaybe)
import qualified Data.Text as Text
import Data.Time.Clock
import GHC.Generics
import Network.Mux.Tracing ()
import qualified Network.TypedProtocol.Codec as TypedProtocol

import Trace.Forward.Forwarding (InitForwardingConfig (..), initForwardingDelayed)
import Trace.Forward.Utils.TraceObject
Expand Down Expand Up @@ -395,30 +399,16 @@ instance MetaTrace NodeToNodeSubmissionTrace where
, Namespace [] ["TxList"]
]

instance LogFormatting SendRecvConnect where
instance (Show txid, Show tx) => LogFormatting (TypedProtocol.AnyMessage (TxSubmission.TxSubmission2 txid tx)) where
forHuman = Text.pack . show
forMachine _ _ = KeyMap.fromList [ "kind" .= A.String "SendRecvConnect" ]
forMachine _ _ = KeyMap.fromList [ "kind" .= A.String "TxSubmission2" ]

instance MetaTrace SendRecvConnect where
namespaceFor _ = Namespace [] ["ReqIdsBlocking"]
instance MetaTrace (TypedProtocol.AnyMessage (TxSubmission.TxSubmission2 tx a)) where
namespaceFor _ = Namespace [] ["TxSubmission2"]
severityFor _ _ = Just Info

documentFor _ = Just ""

allNamespaces = [
Namespace [] ["SendRecvConnect"]
]

instance LogFormatting SendRecvTxSubmission2 where
forHuman = Text.pack . show
forMachine _ _ = KeyMap.fromList [ "kind" .= A.String "SendRecvTxSubmission2" ]

instance MetaTrace SendRecvTxSubmission2 where
namespaceFor _ = Namespace [] ["SendRecvTxSubmission2"]
severityFor _ _ = Just Info

documentFor _ = Just ""

allNamespaces = [
Namespace [] ["SendRecvTxSubmission2"]
Namespace [] ["TxSubmission2"]
]
25 changes: 13 additions & 12 deletions bench/tx-generator/src/Cardano/TxGenerator/ProtocolParameters.hs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ import qualified Cardano.Ledger.Babbage.Core as Ledger
import qualified Cardano.Ledger.BaseTypes as Ledger
import qualified Cardano.Ledger.Coin as L
import qualified Cardano.Ledger.Plutus.Language as Plutus
import qualified Cardano.Ledger.Compactible as L

import Data.Aeson ((.!=), (.:), (.:?), (.=))
import qualified Data.Aeson as Aeson
Expand Down Expand Up @@ -379,8 +380,8 @@ toShelleyCommonPParams
protVer <- mkProtVer protocolParamProtocolVersion
let ppCommon =
emptyPParams
& ppMinFeeAL .~ protocolParamTxFeePerByte
& ppMinFeeBL .~ protocolParamTxFeeFixed
& ppTxFeePerByteL .~ (CoinPerByte . L.compactCoinOrError $ protocolParamTxFeePerByte)
& ppTxFeeFixedL .~ protocolParamTxFeeFixed
& ppMaxBBSizeL .~ fromIntegral protocolParamMaxBlockBodySize
& ppMaxTxSizeL .~ fromIntegral protocolParamMaxTxSize
& ppMaxBHSizeL .~ fromIntegral protocolParamMaxBlockHeaderSize
Expand Down Expand Up @@ -457,9 +458,9 @@ toAlonzoCommonPParams
& ppPricesL .~ prices
& ppMaxTxExUnitsL .~ toAlonzoExUnits maxTxExUnits
& ppMaxBlockExUnitsL .~ toAlonzoExUnits maxBlockExUnits
& ppMaxValSizeL .~ maxValueSize
& ppCollateralPercentageL .~ collateralPercent
& ppMaxCollateralInputsL .~ maxCollateralInputs
& ppMaxValSizeL .~ fromIntegral maxValueSize
& ppCollateralPercentageL .~ fromIntegral collateralPercent
& ppMaxCollateralInputsL .~ fromIntegral maxCollateralInputs
pure ppAlonzoCommon

-- Was removed in "cardano-api" module "Cardano.Api.Internal.ProtocolParameters"
Expand Down Expand Up @@ -495,7 +496,7 @@ toBabbagePParams
requireParam "protocolParamUTxOCostPerByte" Right protocolParamUTxOCostPerByte
let ppBabbage =
ppAlonzoCommon
& ppCoinsPerUTxOByteL .~ CoinPerByte utxoCostPerByte
& ppCoinsPerUTxOByteL .~ CoinPerByte (L.compactCoinOrError utxoCostPerByte)
pure ppBabbage

-- Was removed in "cardano-api" module "Cardano.Api.Internal.ProtocolParameters"
Expand Down Expand Up @@ -531,8 +532,8 @@ fromShelleyCommonPParams pp =
, protocolParamMaxBlockHeaderSize = fromIntegral $ pp ^. ppMaxBHSizeL
, protocolParamMaxBlockBodySize = fromIntegral $ pp ^. ppMaxBBSizeL
, protocolParamMaxTxSize = fromIntegral $ pp ^. ppMaxTxSizeL
, protocolParamTxFeeFixed = pp ^. ppMinFeeBL
, protocolParamTxFeePerByte = pp ^. ppMinFeeAL
, protocolParamTxFeeFixed = pp ^. ppTxFeeFixedL
, protocolParamTxFeePerByte = L.fromCompact . L.unCoinPerByte $ pp ^. ppTxFeePerByteL
, protocolParamStakeAddressDeposit = pp ^. ppKeyDepositL
, protocolParamStakePoolDeposit = pp ^. ppPoolDepositL
, protocolParamMinPoolCost = pp ^. ppMinPoolCostL
Expand Down Expand Up @@ -579,9 +580,9 @@ fromAlonzoPParams pp =
, protocolParamPrices = Just . fromAlonzoPrices $ pp ^. ppPricesL
, protocolParamMaxTxExUnits = Just . fromAlonzoExUnits $ pp ^. ppMaxTxExUnitsL
, protocolParamMaxBlockExUnits = Just . fromAlonzoExUnits $ pp ^. ppMaxBlockExUnitsL
, protocolParamMaxValueSize = Just $ pp ^. ppMaxValSizeL
, protocolParamCollateralPercent = Just $ pp ^. ppCollateralPercentageL
, protocolParamMaxCollateralInputs = Just $ pp ^. ppMaxCollateralInputsL
, protocolParamMaxValueSize = Just $ fromIntegral (pp ^. ppMaxValSizeL)
, protocolParamCollateralPercent = Just $ fromIntegral (pp ^. ppCollateralPercentageL)
, protocolParamMaxCollateralInputs = Just $ fromIntegral (pp ^. ppMaxCollateralInputsL)
}

fromExactlyAlonzoPParams
Expand All @@ -599,7 +600,7 @@ fromBabbagePParams
-> ProtocolParameters
fromBabbagePParams pp =
(fromAlonzoPParams pp)
{ protocolParamUTxOCostPerByte = Just . unCoinPerByte $ pp ^. ppCoinsPerUTxOByteL
{ protocolParamUTxOCostPerByte = Just . L.fromCompact . unCoinPerByte $ pp ^. ppCoinsPerUTxOByteL
, protocolParamDecentralization = Nothing
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import Cardano.Node.Protocol.Cardano
import Cardano.Node.Protocol.Types (SomeConsensusProtocol (..))
import Cardano.Node.Types (ConfigYamlFilePath (..), GenesisFile,
NodeProtocolConfiguration (..), NodeShelleyProtocolConfiguration (..),
ProtocolFilepaths (..))
ProtocolFilepaths (..), KESSource(..))
import Cardano.TxGenerator.Types
import qualified Ouroboros.Consensus.Cardano.Node as Consensus

Expand Down Expand Up @@ -70,7 +70,7 @@ mkNodeConfig configFp_
ProtocolFilepaths
{ byronCertFile = Just ""
, byronKeyFile = Just ""
, shelleyKESFile = Just ""
, shelleyKESSource = Just (KESKeyFilePath "")
, shelleyVRFFile = Just ""
, shelleyCertFile = Just ""
, shelleyBulkCredsFile = Just ""
Expand Down
14 changes: 6 additions & 8 deletions bench/tx-generator/tx-generator.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -108,19 +108,21 @@ library
, attoparsec-aeson
, base16-bytestring
, bytestring
, cardano-api ^>= 10.24.1
, cardano-api ^>= 10.25
, cardano-binary
, cardano-cli ^>= 10.15.0.1
, cardano-crypto-class
, cardano-crypto-wrapper
, cardano-data
, cardano-diffusion ^>= 1.0
, cardano-git-rev ^>= 0.2.2
, cardano-ledger-alonzo
, cardano-ledger-api
, cardano-ledger-byron
, cardano-ledger-core
, cardano-node
, cardano-prelude
, cardano-strict-containers >=0.1
, contra-tracer
, cborg >= 0.2.2 && < 0.3
, containers
Expand All @@ -137,16 +139,12 @@ library
, network
, network-mux
, optparse-applicative
, ouroboros-consensus >= 0.6
, ouroboros-consensus-cardano >= 0.5
, ouroboros-consensus-diffusion >= 0.7.0
, ouroboros-network
, ouroboros-network-api
, ouroboros-network-framework
, ouroboros-network-protocols
, ouroboros-consensus:{ouroboros-consensus, cardano, diffusion} >= 1.0
, ouroboros-network:{api, framework, framework-tracing, ouroboros-network, protocols} >= 1.1
, plutus-ledger-api
, plutus-tx
, random
, typed-protocols ^>= 1.2
, serialise
, streaming
, cardano-ledger-shelley
Expand Down
Loading
Loading