From 52ac0da7e0cb1234fdcbf823f3814202a7e4b80f Mon Sep 17 00:00:00 2001 From: Neil Mayhew Date: Tue, 26 May 2026 17:21:18 -0600 Subject: [PATCH] Revise ouroboros-consensus-cardano 0.26.0.3 for validation <1.2 --- .../0.26.0.3/meta.toml | 4 + .../0.26.0.3/revisions/3.cabal | 761 ++++++++++++++++++ 2 files changed, 765 insertions(+) create mode 100644 _sources/ouroboros-consensus-cardano/0.26.0.3/revisions/3.cabal diff --git a/_sources/ouroboros-consensus-cardano/0.26.0.3/meta.toml b/_sources/ouroboros-consensus-cardano/0.26.0.3/meta.toml index 5816240c4..4e4fae609 100644 --- a/_sources/ouroboros-consensus-cardano/0.26.0.3/meta.toml +++ b/_sources/ouroboros-consensus-cardano/0.26.0.3/meta.toml @@ -9,3 +9,7 @@ timestamp = 2026-01-29T19:27:06Z [[revisions]] number = 2 timestamp = 2026-02-09T12:34:49Z + +[[revisions]] +number = 3 +timestamp = 2026-06-25T15:14:41Z diff --git a/_sources/ouroboros-consensus-cardano/0.26.0.3/revisions/3.cabal b/_sources/ouroboros-consensus-cardano/0.26.0.3/revisions/3.cabal new file mode 100644 index 000000000..fde995a83 --- /dev/null +++ b/_sources/ouroboros-consensus-cardano/0.26.0.3/revisions/3.cabal @@ -0,0 +1,761 @@ +cabal-version: 3.0 +name: ouroboros-consensus-cardano +version: 0.26.0.3 +synopsis: + The instantation of the Ouroboros consensus layer used by Cardano + +description: + The instantation of the Ouroboros consensus layer used by Cardano. + +license: Apache-2.0 +license-files: + LICENSE + NOTICE + +copyright: + 2019-2023 Input Output Global Inc (IOG), INTERSECT 2023-2024. + +author: IOG Engineering Team +maintainer: operations@iohk.io +category: Network +build-type: Simple +extra-doc-files: + CHANGELOG.md + README.md + +data-files: + cddl/**/*.cddl + cddl/base.cddl + +source-repository head + type: git + location: https://github.com/IntersectMBO/ouroboros-consensus + +flag asserts + description: Enable assertions + manual: False + default: False + +common common-lib + default-language: Haskell2010 + ghc-options: + -Wall + -Wcompat + -Wincomplete-uni-patterns + -Wincomplete-record-updates + -Wpartial-fields + -Widentities + -Wredundant-constraints + -Wmissing-export-lists + -Wunused-packages + -Wno-unticked-promoted-constructors + + if flag(asserts) + ghc-options: -fno-ignore-asserts + +common common-test + import: common-lib + ghc-options: + -threaded + -rtsopts + +common common-exe + import: common-lib + ghc-options: + -threaded + -rtsopts + "-with-rtsopts=-N -I0 -A16m" + +library + import: common-lib + hs-source-dirs: + src/ouroboros-consensus-cardano + src/byron + src/shelley + + exposed-modules: + Ouroboros.Consensus.Byron.ByronHFC + Ouroboros.Consensus.Byron.Crypto.DSIGN + Ouroboros.Consensus.Byron.EBBs + Ouroboros.Consensus.Byron.Ledger + Ouroboros.Consensus.Byron.Ledger.Block + Ouroboros.Consensus.Byron.Ledger.Config + Ouroboros.Consensus.Byron.Ledger.Conversions + Ouroboros.Consensus.Byron.Ledger.Forge + Ouroboros.Consensus.Byron.Ledger.HeaderValidation + Ouroboros.Consensus.Byron.Ledger.Inspect + Ouroboros.Consensus.Byron.Ledger.Integrity + Ouroboros.Consensus.Byron.Ledger.Ledger + Ouroboros.Consensus.Byron.Ledger.Mempool + Ouroboros.Consensus.Byron.Ledger.NetworkProtocolVersion + Ouroboros.Consensus.Byron.Ledger.Orphans + Ouroboros.Consensus.Byron.Ledger.PBFT + Ouroboros.Consensus.Byron.Ledger.Serialisation + Ouroboros.Consensus.Byron.Node + Ouroboros.Consensus.Byron.Node.Serialisation + Ouroboros.Consensus.Byron.Protocol + Ouroboros.Consensus.Cardano + Ouroboros.Consensus.Cardano.Block + Ouroboros.Consensus.Cardano.CanHardFork + Ouroboros.Consensus.Cardano.Condense + Ouroboros.Consensus.Cardano.Ledger + Ouroboros.Consensus.Cardano.Node + Ouroboros.Consensus.Cardano.QueryHF + Ouroboros.Consensus.Cardano.StreamingLedgerTables + Ouroboros.Consensus.Shelley.Crypto + Ouroboros.Consensus.Shelley.Eras + Ouroboros.Consensus.Shelley.HFEras + Ouroboros.Consensus.Shelley.Ledger + Ouroboros.Consensus.Shelley.Ledger.Block + Ouroboros.Consensus.Shelley.Ledger.Config + Ouroboros.Consensus.Shelley.Ledger.Forge + Ouroboros.Consensus.Shelley.Ledger.Inspect + Ouroboros.Consensus.Shelley.Ledger.Integrity + Ouroboros.Consensus.Shelley.Ledger.Ledger + Ouroboros.Consensus.Shelley.Ledger.Mempool + Ouroboros.Consensus.Shelley.Ledger.NetworkProtocolVersion + Ouroboros.Consensus.Shelley.Ledger.PeerSelection + Ouroboros.Consensus.Shelley.Ledger.Protocol + Ouroboros.Consensus.Shelley.Ledger.Query + Ouroboros.Consensus.Shelley.Ledger.Query.LegacyPParams + Ouroboros.Consensus.Shelley.Ledger.Query.LegacyShelleyGenesis + Ouroboros.Consensus.Shelley.Ledger.Query.Types + Ouroboros.Consensus.Shelley.Ledger.SupportsProtocol + Ouroboros.Consensus.Shelley.Node + Ouroboros.Consensus.Shelley.Node.Common + Ouroboros.Consensus.Shelley.Node.DiffusionPipelining + Ouroboros.Consensus.Shelley.Node.Praos + Ouroboros.Consensus.Shelley.Node.Serialisation + Ouroboros.Consensus.Shelley.Node.TPraos + Ouroboros.Consensus.Shelley.Protocol.Abstract + Ouroboros.Consensus.Shelley.Protocol.Praos + Ouroboros.Consensus.Shelley.Protocol.TPraos + Ouroboros.Consensus.Shelley.ShelleyHFC + + build-depends: + base >=4.14 && <4.22, + base-deriving-via, + bytestring >=0.10 && <0.13, + cardano-binary, + cardano-crypto, + cardano-crypto-class ^>=2.2, + cardano-crypto-wrapper, + cardano-ledger-allegra ^>=1.8, + cardano-ledger-alonzo ^>=1.14, + cardano-ledger-api ^>=1.12, + cardano-ledger-babbage ^>=1.12, + cardano-ledger-binary ^>=1.7, + cardano-ledger-byron ^>=1.2, + cardano-ledger-conway ^>=1.20, + cardano-ledger-core ^>=1.18, + cardano-ledger-dijkstra ^>=0.1, + cardano-ledger-mary ^>=1.9, + cardano-ledger-shelley ^>=1.17, + cardano-prelude, + cardano-protocol-tpraos ^>=1.4.1, + cardano-slotting, + cardano-strict-containers, + cborg ^>=0.2.2, + containers >=0.5 && <0.8, + contra-tracer, + crypton, + deepseq, + directory, + filepath, + formatting >=6.3 && <7.3, + fs-api, + measures, + mempack, + microlens, + mtl, + nothunks, + ouroboros-consensus >=0.29 && <0.31, + ouroboros-consensus-protocol ^>=0.13, + ouroboros-network-api ^>=0.16, + resource-registry, + serialise ^>=0.2, + singletons ^>=3.0, + small-steps, + sop-core ^>=0.5, + sop-extras ^>=0.4, + strict-sop-core ^>=0.1, + temporary, + text, + these ^>=1.2, + validation <1.2, + vector-map, + +library unstable-byronspec + import: common-lib + visibility: public + hs-source-dirs: src/unstable-byronspec + exposed-modules: + Ouroboros.Consensus.ByronSpec.Ledger + Ouroboros.Consensus.ByronSpec.Ledger.Accessors + Ouroboros.Consensus.ByronSpec.Ledger.Block + Ouroboros.Consensus.ByronSpec.Ledger.Conversions + Ouroboros.Consensus.ByronSpec.Ledger.Forge + Ouroboros.Consensus.ByronSpec.Ledger.GenTx + Ouroboros.Consensus.ByronSpec.Ledger.Genesis + Ouroboros.Consensus.ByronSpec.Ledger.Ledger + Ouroboros.Consensus.ByronSpec.Ledger.Mempool + Ouroboros.Consensus.ByronSpec.Ledger.Orphans + Ouroboros.Consensus.ByronSpec.Ledger.Rules + + build-depends: + base >=4.14 && <4.22, + bimap >=0.4 && <0.6, + byron-spec-chain, + byron-spec-ledger, + cardano-binary, + cardano-ledger-binary, + cardano-ledger-byron:testlib, + cborg >=0.2.2 && <0.3, + containers >=0.5 && <0.8, + mtl, + nothunks, + ouroboros-consensus >=0.29 && <0.31, + serialise ^>=0.2, + small-steps, + transformers, + +library unstable-byron-testlib + import: common-lib + visibility: public + hs-source-dirs: src/unstable-byron-testlib + exposed-modules: + Ouroboros.Consensus.ByronDual.Ledger + Ouroboros.Consensus.ByronDual.Node + Ouroboros.Consensus.ByronDual.Node.Serialisation + Test.Consensus.Byron.Examples + Test.Consensus.Byron.Generators + Test.ThreadNet.Infra.Byron + Test.ThreadNet.Infra.Byron.Genesis + Test.ThreadNet.Infra.Byron.ProtocolInfo + Test.ThreadNet.Infra.Byron.TrackUpdates + Test.ThreadNet.TxGen.Byron + + build-depends: + QuickCheck, + base, + base64-bytestring, + byron-spec-ledger, + bytestring, + cardano-binary, + cardano-crypto, + cardano-crypto-class, + cardano-crypto-test, + cardano-crypto-wrapper, + cardano-ledger-binary:{cardano-ledger-binary, testlib}, + cardano-ledger-byron:{cardano-ledger-byron, testlib}, + cardano-ledger-core, + containers, + hedgehog-quickcheck, + mtl, + ouroboros-consensus:{ouroboros-consensus, unstable-consensus-testlib}, + ouroboros-consensus-cardano, + ouroboros-consensus-diffusion:unstable-diffusion-testlib, + ouroboros-network-api, + serialise, + text, + unstable-byronspec, + +test-suite byron-test + import: common-test + type: exitcode-stdio-1.0 + hs-source-dirs: test/byron-test + main-is: Main.hs + other-modules: + Test.Consensus.Byron.Golden + Test.Consensus.Byron.LedgerTables + Test.Consensus.Byron.Serialisation + Test.ThreadNet.Byron + Test.ThreadNet.DualByron + + build-depends: + QuickCheck, + base, + binary-search, + byron-spec-chain, + byron-spec-ledger, + bytestring, + cardano-crypto-class, + cardano-crypto-wrapper, + cardano-ledger-binary, + cardano-ledger-byron:{cardano-ledger-byron, testlib}, + cardano-ledger-core, + cardano-slotting:testlib, + cborg, + constraints, + containers, + filepath, + hedgehog-quickcheck, + mtl, + ouroboros-consensus:{ouroboros-consensus, unstable-consensus-testlib}, + ouroboros-consensus-cardano, + ouroboros-consensus-diffusion:unstable-diffusion-testlib, + ouroboros-network-mock, + small-steps:{small-steps, testlib}, + tasty, + tasty-quickcheck, + unstable-byron-testlib, + unstable-byronspec, + +library unstable-shelley-testlib + import: common-lib + visibility: public + hs-source-dirs: src/unstable-shelley-testlib + exposed-modules: + Test.Consensus.Shelley.Examples + Test.Consensus.Shelley.Generators + Test.Consensus.Shelley.MockCrypto + Test.ThreadNet.Infra.Shelley + Test.ThreadNet.TxGen.Shelley + + build-depends: + QuickCheck, + base, + bytestring, + cardano-crypto-class, + cardano-data, + cardano-ledger-allegra:cardano-ledger-allegra, + cardano-ledger-alonzo-test, + cardano-ledger-babbage:testlib, + cardano-ledger-conway:testlib, + cardano-ledger-core:{cardano-ledger-core, testlib}, + cardano-ledger-dijkstra:testlib, + cardano-ledger-mary:{cardano-ledger-mary}, + cardano-ledger-shelley:{cardano-ledger-shelley, testlib}, + cardano-ledger-shelley-ma-test, + cardano-ledger-shelley-test, + cardano-protocol-tpraos:{cardano-protocol-tpraos, testlib}, + cardano-slotting, + cardano-strict-containers, + containers, + contra-tracer, + kes-agent <1, + kes-agent-crypto <1, + microlens, + mtl, + ouroboros-consensus:{ouroboros-consensus, unstable-consensus-testlib}, + ouroboros-consensus-cardano, + ouroboros-consensus-diffusion:unstable-diffusion-testlib, + ouroboros-consensus-protocol:{ouroboros-consensus-protocol, unstable-protocol-testlib}, + ouroboros-network-api, + quiet ^>=0.2, + small-steps, + +test-suite shelley-test + import: common-test + type: exitcode-stdio-1.0 + hs-source-dirs: test/shelley-test + main-is: Main.hs + other-modules: + Test.Consensus.Shelley.Coherence + Test.Consensus.Shelley.Golden + Test.Consensus.Shelley.LedgerTables + Test.Consensus.Shelley.Serialisation + Test.Consensus.Shelley.SupportedNetworkProtocolVersion + Test.ThreadNet.Shelley + + build-depends: + QuickCheck, + base, + bytestring, + cardano-ledger-alonzo:{cardano-ledger-alonzo, testlib}, + cardano-ledger-api, + cardano-ledger-babbage:testlib, + cardano-ledger-conway:testlib, + cardano-ledger-core, + cardano-ledger-dijkstra:testlib, + cardano-ledger-shelley, + cardano-protocol-tpraos, + cardano-slotting, + cborg, + constraints, + containers, + contra-tracer, + filepath, + measures, + microlens, + ouroboros-consensus:{ouroboros-consensus, unstable-consensus-testlib}, + ouroboros-consensus-cardano, + ouroboros-consensus-diffusion:unstable-diffusion-testlib, + ouroboros-consensus-protocol, + sop-core, + strict-sop-core, + tasty, + tasty-hunit, + tasty-quickcheck, + unstable-cardano-testlib, + unstable-shelley-testlib, + +library unstable-cardano-testlib + import: common-lib + visibility: public + hs-source-dirs: src/unstable-cardano-testlib + exposed-modules: + Test.Consensus.Cardano.Examples + Test.Consensus.Cardano.Generators + Test.Consensus.Cardano.MockCrypto + Test.Consensus.Cardano.ProtocolInfo + Test.ThreadNet.Infra.ShelleyBasedHardFork + Test.ThreadNet.Infra.TwoEras + Test.ThreadNet.TxGen.Allegra + Test.ThreadNet.TxGen.Alonzo + Test.ThreadNet.TxGen.Babbage + Test.ThreadNet.TxGen.Cardano + Test.ThreadNet.TxGen.Mary + + build-depends: + QuickCheck, + base, + cardano-crypto-class, + cardano-crypto-wrapper, + cardano-ledger-alonzo:testlib, + cardano-ledger-api:{cardano-ledger-api}, + cardano-ledger-binary, + cardano-ledger-byron, + cardano-ledger-conway:{cardano-ledger-conway, testlib}, + cardano-ledger-core:{cardano-ledger-core, testlib}, + cardano-ledger-dijkstra:testlib, + cardano-ledger-shelley, + cardano-ledger-shelley:testlib, + cardano-protocol-tpraos, + cardano-slotting, + cardano-strict-containers, + cborg, + containers, + contra-tracer, + mempack, + microlens, + mtl, + nothunks, + ouroboros-consensus:{ouroboros-consensus, unstable-consensus-testlib}, + ouroboros-consensus-cardano, + ouroboros-consensus-diffusion:{ouroboros-consensus-diffusion, unstable-diffusion-testlib}, + ouroboros-consensus-protocol:{ouroboros-consensus-protocol, unstable-protocol-testlib}, + ouroboros-network-api, + sop-core, + sop-extras, + strict-sop-core, + text, + unstable-byron-testlib, + unstable-shelley-testlib, + +test-suite cardano-test + import: common-test + type: exitcode-stdio-1.0 + hs-source-dirs: test/cardano-test + main-is: Main.hs + other-modules: + Test.Consensus.Cardano.DiffusionPipelining + Test.Consensus.Cardano.GenCDDLs + Test.Consensus.Cardano.Golden + Test.Consensus.Cardano.MiniProtocol.LocalTxSubmission.ByteStringTxParser + Test.Consensus.Cardano.MiniProtocol.LocalTxSubmission.Server + Test.Consensus.Cardano.Serialisation + Test.Consensus.Cardano.Show + Test.Consensus.Cardano.SupportedNetworkProtocolVersion + Test.Consensus.Cardano.SupportsSanityCheck + Test.Consensus.Cardano.Translation + Test.ThreadNet.AllegraMary + Test.ThreadNet.Cardano + Test.ThreadNet.MaryAlonzo + Test.ThreadNet.ShelleyAllegra + + other-modules: Paths_ouroboros_consensus_cardano + build-depends: + QuickCheck, + base, + base16-bytestring, + bytestring, + cardano-ledger-allegra:testlib, + cardano-ledger-alonzo:{cardano-ledger-alonzo, testlib}, + cardano-ledger-api, + cardano-ledger-babbage:testlib, + cardano-ledger-binary:testlib, + cardano-ledger-byron:{cardano-ledger-byron, testlib}, + cardano-ledger-conway:testlib, + cardano-ledger-core:{cardano-ledger-core, testlib}, + cardano-ledger-dijkstra:testlib, + cardano-ledger-mary:testlib, + cardano-ledger-shelley:{cardano-ledger-shelley, testlib}, + cardano-protocol-tpraos, + cardano-slotting, + cborg, + constraints, + containers, + contra-tracer, + directory, + filepath, + microlens, + ouroboros-consensus:{ouroboros-consensus, unstable-consensus-testlib, unstable-mempool-test-utils}, + ouroboros-consensus-cardano:{ouroboros-consensus-cardano, unstable-cardano-testlib}, + ouroboros-consensus-diffusion:unstable-diffusion-testlib, + ouroboros-consensus-protocol, + ouroboros-network-api, + ouroboros-network-protocols:{ouroboros-network-protocols, testlib}, + pretty-simple, + process-extras, + sop-core, + sop-extras, + strict-sop-core, + tasty, + tasty-hunit, + tasty-quickcheck, + temporary, + typed-protocols ^>=1.0, + unstable-byron-testlib, + unstable-cardano-testlib, + unstable-shelley-testlib, + +library unstable-cardano-tools + import: common-lib + visibility: public + hs-source-dirs: src/unstable-cardano-tools + exposed-modules: + Cardano.Api.Any + Cardano.Node.Types + Cardano.Tools.DBAnalyser.Analysis + Cardano.Tools.DBAnalyser.Analysis.BenchmarkLedgerOps.FileWriting + Cardano.Tools.DBAnalyser.Analysis.BenchmarkLedgerOps.Metadata + Cardano.Tools.DBAnalyser.Analysis.BenchmarkLedgerOps.SlotDataPoint + Cardano.Tools.DBAnalyser.Block.Byron + Cardano.Tools.DBAnalyser.Block.Cardano + Cardano.Tools.DBAnalyser.Block.Shelley + Cardano.Tools.DBAnalyser.CSV + Cardano.Tools.DBAnalyser.HasAnalysis + Cardano.Tools.DBAnalyser.Run + Cardano.Tools.DBAnalyser.Types + Cardano.Tools.DBImmutaliser.Run + Cardano.Tools.DBSynthesizer.Forging + Cardano.Tools.DBSynthesizer.Orphans + Cardano.Tools.DBSynthesizer.Run + Cardano.Tools.DBSynthesizer.Types + Cardano.Tools.DBTruncater.Run + Cardano.Tools.DBTruncater.Types + Cardano.Tools.GitRev + Cardano.Tools.Headers + Cardano.Tools.ImmDBServer.Diffusion + Cardano.Tools.ImmDBServer.MiniProtocols + + other-modules: + Cardano.Api.Key + Cardano.Api.KeysByron + Cardano.Api.KeysPraos + Cardano.Api.KeysShelley + Cardano.Api.OperationalCertificate + Cardano.Api.SerialiseTextEnvelope + Cardano.Api.SerialiseUsing + Cardano.Node.Protocol.Alonzo + Cardano.Node.Protocol.Byron + Cardano.Node.Protocol.Cardano + Cardano.Node.Protocol.Conway + Cardano.Node.Protocol.Shelley + + build-depends: + aeson, + base >=4.14 && <4.22, + base16-bytestring >=1.0, + bytestring >=0.10 && <0.13, + cardano-crypto, + cardano-crypto-class, + cardano-crypto-wrapper, + cardano-git-rev ^>=0.2.1, + cardano-ledger-allegra, + cardano-ledger-alonzo, + cardano-ledger-api, + cardano-ledger-babbage, + cardano-ledger-binary, + cardano-ledger-byron, + cardano-ledger-conway, + cardano-ledger-core, + cardano-ledger-dijkstra, + cardano-ledger-mary, + cardano-ledger-shelley, + cardano-prelude, + cardano-protocol-tpraos ^>=1.4.1, + cardano-slotting, + cardano-strict-containers, + cborg ^>=0.2.2, + compact, + containers >=0.5 && <0.8, + contra-tracer, + directory, + dot, + filepath, + fs-api ^>=0.4, + githash, + microlens, + mtl, + network, + network-mux, + nothunks, + ouroboros-consensus >=0.29 && <0.31, + ouroboros-consensus-cardano, + ouroboros-consensus-diffusion ^>=0.25 || ^>=0.26, + ouroboros-consensus-protocol:{ouroboros-consensus-protocol, unstable-protocol-testlib} ^>=0.13, + ouroboros-network, + ouroboros-network-api, + ouroboros-network-framework ^>=0.19, + ouroboros-network-protocols, + resource-registry, + singletons, + sop-core, + sop-extras, + strict-sop-core, + text, + text-builder >=1, + transformers, + transformers-except, + +executable db-analyser + import: common-lib + hs-source-dirs: app + main-is: db-analyser.hs + build-depends: + base, + cardano-crypto-class, + optparse-applicative, + ouroboros-consensus, + ouroboros-consensus-cardano:{ouroboros-consensus-cardano, unstable-cardano-tools}, + text, + with-utf8, + + -- NOTE: these options should match the ones in the cardano-node. + -- + -- 'db-analyser' is often used as a benchmarking tool. Thus, by using + -- the same GHC flags as the node, we are more likely to get + -- performance observations that correspond to those we get from a + -- running node. + ghc-options: + -threaded + -rtsopts + + if arch(arm) + ghc-options: + "-with-rtsopts=-T -I0 -A16m -N1 --disable-delayed-os-memory-return" + else + ghc-options: + "-with-rtsopts=-T -I0 -A16m -N2 --disable-delayed-os-memory-return" + + other-modules: DBAnalyser.Parsers + +executable db-immutaliser + import: common-exe + hs-source-dirs: app + main-is: db-immutaliser.hs + build-depends: + base, + cardano-crypto-class, + optparse-applicative, + ouroboros-consensus-cardano:unstable-cardano-tools, + with-utf8, + +executable db-synthesizer + import: common-exe + hs-source-dirs: app + main-is: db-synthesizer.hs + build-depends: + base, + cardano-crypto-class, + optparse-applicative, + ouroboros-consensus, + unstable-cardano-tools, + with-utf8, + + other-modules: DBSynthesizer.Parsers + +executable db-truncater + import: common-exe + hs-source-dirs: app + main-is: db-truncater.hs + build-depends: + base, + cardano-crypto-class, + optparse-applicative, + ouroboros-consensus, + ouroboros-consensus-cardano:{ouroboros-consensus-cardano, unstable-cardano-tools}, + with-utf8, + + other-modules: + DBAnalyser.Parsers + DBTruncater.Parsers + +executable immdb-server + import: common-exe + hs-source-dirs: app + main-is: immdb-server.hs + build-depends: + base, + cardano-crypto-class, + network, + optparse-applicative, + ouroboros-consensus, + ouroboros-consensus-cardano:unstable-cardano-tools, + with-utf8, + +executable snapshot-converter + import: common-exe + hs-source-dirs: app + main-is: snapshot-converter.hs + build-depends: + ansi-terminal, + base, + cardano-crypto-class, + directory, + filepath, + fs-api, + mtl, + optparse-applicative, + ouroboros-consensus, + ouroboros-consensus-cardano, + ouroboros-consensus-cardano:unstable-cardano-tools, + resource-registry, + serialise, + terminal-progress-bar, + text, + with-utf8, + + other-modules: + DBAnalyser.Parsers + +test-suite tools-test + import: common-test + type: exitcode-stdio-1.0 + hs-source-dirs: test/tools-test + main-is: Main.hs + build-depends: + QuickCheck, + aeson, + base, + ouroboros-consensus:{ouroboros-consensus, unstable-consensus-testlib}, + ouroboros-consensus-cardano:{ouroboros-consensus-cardano, unstable-cardano-tools}, + ouroboros-consensus-protocol:unstable-protocol-testlib, + tasty, + tasty-hunit, + tasty-quickcheck, + text, + unstable-cardano-tools, + + other-modules: + Test.Cardano.Tools.Headers + +executable gen-header + import: common-exe + hs-source-dirs: app + main-is: gen-header.hs + build-depends: + base, + cardano-crypto-class, + optparse-applicative, + ouroboros-consensus-cardano:unstable-cardano-tools, + with-utf8, + + other-modules: + GenHeader.Parsers + Paths_ouroboros_consensus_cardano + + autogen-modules: + Paths_ouroboros_consensus_cardano