-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added cardano-ledger-allegra-1.2.1.1 From https://github.com/input-output-hk/cardano-ledger at bbdfc3fdb6487653f23385c3df1c9c575bf567cf * Added cardano-ledger-alonzo-1.4.0.0 From https://github.com/input-output-hk/cardano-ledger at bbdfc3fdb6487653f23385c3df1c9c575bf567cf * Added cardano-ledger-babbage-1.4.3.0 From https://github.com/input-output-hk/cardano-ledger at bbdfc3fdb6487653f23385c3df1c9c575bf567cf * Added cardano-ledger-babbage-test-1.1.1.4 From https://github.com/input-output-hk/cardano-ledger at bbdfc3fdb6487653f23385c3df1c9c575bf567cf * Added cardano-ledger-conway-1.7.0.0 From https://github.com/input-output-hk/cardano-ledger at bbdfc3fdb6487653f23385c3df1c9c575bf567cf * Added cardano-ledger-conway-test-1.2.0.4 From https://github.com/input-output-hk/cardano-ledger at bbdfc3fdb6487653f23385c3df1c9c575bf567cf * Added cardano-ledger-mary-1.3.2.0 From https://github.com/input-output-hk/cardano-ledger at bbdfc3fdb6487653f23385c3df1c9c575bf567cf * Added cardano-ledger-shelley-1.5.0.0 From https://github.com/input-output-hk/cardano-ledger at bbdfc3fdb6487653f23385c3df1c9c575bf567cf * Added cardano-ledger-api-1.4.0.0 From https://github.com/input-output-hk/cardano-ledger at bbdfc3fdb6487653f23385c3df1c9c575bf567cf * Added cardano-ledger-core-1.5.0.0 From https://github.com/input-output-hk/cardano-ledger at bbdfc3fdb6487653f23385c3df1c9c575bf567cf * Added cardano-ledger-binary-1.1.2.0 From https://github.com/input-output-hk/cardano-ledger at bbdfc3fdb6487653f23385c3df1c9c575bf567cf * Added cardano-ledger-pretty-1.3.0.0 From https://github.com/input-output-hk/cardano-ledger at bbdfc3fdb6487653f23385c3df1c9c575bf567cf * Added cardano-protocol-tpraos-1.0.3.4 From https://github.com/input-output-hk/cardano-ledger at 862b03c08b221d94908f8e99e8fc2c3979d24e04 * Added cardano-ledger-alonzo-test-1.1.2.3 From https://github.com/input-output-hk/cardano-ledger at i772528ff2a2fc0549a87d3bb4a3a2c6fd57edb5f * Added cardano-ledger-shelley-test-1.2.0.3 From https://github.com/input-output-hk/cardano-ledger at 7d8d498b4f3578ef1aa8311fb07ebfed78312ed4 * Add a revision for `cardano-api` with an upper bounds for: * `cardano-ledger-core` * `cardano-ledger-alonzo` * Added cardano-ledger-shelley-ma-test-1.2.1.2 From https://github.com/input-output-hk/cardano-ledger at bcadb63100e61e51909b5dba5fdff24b8e55f566
- Loading branch information
Showing
18 changed files
with
399 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
timestamp = 2023-08-15T15:38:21Z | ||
github = { repo = "input-output-hk/cardano-api", rev = "c5fe6d51cdd6ebaca3d012e9a96d747dc7052f4d" } | ||
subdir = 'cardano-api' | ||
|
||
[[revisions]] | ||
number = 1 | ||
timestamp = 2023-08-17T18:13:21Z |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,347 @@ | ||
cabal-version: 3.4 | ||
|
||
name: cardano-api | ||
version: 8.14.0.0 | ||
synopsis: The cardano api | ||
description: The cardano api. | ||
category: Cardano, | ||
API, | ||
copyright: 2020-2023 Input Output Global Inc (IOG). | ||
author: IOHK | ||
maintainer: operations@iohk.io | ||
license: Apache-2.0 | ||
license-files: LICENSE | ||
NOTICE | ||
build-type: Simple | ||
extra-doc-files: README.md, CHANGELOG.md | ||
|
||
common project-config | ||
default-language: Haskell2010 | ||
default-extensions: OverloadedStrings | ||
build-depends: base >= 4.14 && < 4.19 | ||
|
||
ghc-options: -Wall | ||
-Wcompat | ||
-Wincomplete-record-updates | ||
-Wincomplete-uni-patterns | ||
-Wno-unticked-promoted-constructors | ||
-Wpartial-fields | ||
-Wredundant-constraints | ||
-Wunused-packages | ||
|
||
common maybe-unix | ||
if !os(windows) | ||
build-depends: unix | ||
|
||
common maybe-Win32 | ||
if os(windows) | ||
build-depends: Win32 | ||
|
||
library internal | ||
import: project-config, maybe-unix, maybe-Win32 | ||
|
||
visibility: public | ||
|
||
hs-source-dirs: internal | ||
|
||
-- Do not expose any additional modules. The correct way | ||
-- to expose new functionality is via Cardano.Api or | ||
-- Cardano.Api.Shelley | ||
exposed-modules: Cardano.Api.Address | ||
Cardano.Api.Block | ||
Cardano.Api.Certificate | ||
Cardano.Api.Convenience.Constraints | ||
Cardano.Api.Convenience.Construction | ||
Cardano.Api.Convenience.Query | ||
Cardano.Api.DeserialiseAnyOf | ||
Cardano.Api.DRepMetadata | ||
Cardano.Api.EraCast | ||
Cardano.Api.Eras | ||
Cardano.Api.Eras.Constraints | ||
Cardano.Api.Eras.Core | ||
Cardano.Api.Error | ||
Cardano.Api.Feature | ||
Cardano.Api.Feature.ConwayEraOnwards | ||
Cardano.Api.Feature.ShelleyToBabbageEra | ||
Cardano.Api.Fees | ||
Cardano.Api.Genesis | ||
Cardano.Api.GenesisParameters | ||
Cardano.Api.Governance.Actions.ProposalProcedure | ||
Cardano.Api.Governance.Actions.VotingProcedure | ||
Cardano.Api.Governance.Poll | ||
Cardano.Api.Hash | ||
Cardano.Api.HasTypeProxy | ||
Cardano.Api.InMode | ||
Cardano.Api.IO | ||
Cardano.Api.IO.Base | ||
Cardano.Api.IO.Compat | ||
Cardano.Api.IO.Compat.Posix | ||
Cardano.Api.IO.Compat.Win32 | ||
Cardano.Api.IPC | ||
Cardano.Api.IPC.Monad | ||
Cardano.Api.IPC.Version | ||
Cardano.Api.Json | ||
Cardano.Api.Keys.Byron | ||
Cardano.Api.Keys.Class | ||
Cardano.Api.Keys.Praos | ||
Cardano.Api.Keys.Read | ||
Cardano.Api.Keys.Shelley | ||
Cardano.Api.LedgerEvent | ||
Cardano.Api.LedgerState | ||
Cardano.Api.Modes | ||
Cardano.Api.NetworkId | ||
Cardano.Api.OperationalCertificate | ||
Cardano.Api.Protocol | ||
Cardano.Api.ProtocolParameters | ||
Cardano.Api.Query | ||
Cardano.Api.Query.Expr | ||
Cardano.Api.Query.Types | ||
Cardano.Api.ReexposeLedger | ||
Cardano.Api.Script | ||
Cardano.Api.ScriptData | ||
Cardano.Api.SerialiseBech32 | ||
Cardano.Api.SerialiseCBOR | ||
Cardano.Api.SerialiseJSON | ||
Cardano.Api.SerialiseLedgerCddl | ||
Cardano.Api.SerialiseRaw | ||
Cardano.Api.SerialiseTextEnvelope | ||
Cardano.Api.SerialiseUsing | ||
Cardano.Api.SpecialByron | ||
Cardano.Api.StakePoolMetadata | ||
Cardano.Api.Tx | ||
Cardano.Api.TxBody | ||
Cardano.Api.TxIn | ||
Cardano.Api.TxMetadata | ||
Cardano.Api.Utils | ||
Cardano.Api.Value | ||
Cardano.Api.ValueParser | ||
-- TODO: Eliminate in the future when | ||
-- we create wrapper types for the ledger types | ||
-- in this module | ||
Cardano.Api.Orphans | ||
|
||
build-depends: aeson >= 1.5.6.0 | ||
, aeson-pretty >= 0.8.5 | ||
, attoparsec | ||
, base16-bytestring >= 1.0 | ||
, base58-bytestring | ||
, bech32 >= 1.1.0 | ||
, bytestring | ||
, cardano-binary | ||
, cardano-crypto | ||
, cardano-crypto-class >= 2.1.1 | ||
, cardano-crypto-wrapper ^>= 1.5 | ||
, cardano-data >= 1.0 | ||
, cardano-ledger-alonzo >= 1.3.1.1 && < 1.4 | ||
, cardano-ledger-allegra >= 1.2.0.2 | ||
, cardano-ledger-api >= 1.3 | ||
, cardano-ledger-babbage >= 1.4.0.1 | ||
, cardano-ledger-binary | ||
, cardano-ledger-byron >= 1.0.0.2 | ||
, cardano-ledger-conway >= 1.5 | ||
, cardano-ledger-core ^>= 1.4 | ||
, cardano-ledger-mary >= 1.3.0.2 | ||
, cardano-ledger-shelley >= 1.4.1.0 | ||
, cardano-protocol-tpraos >= 1.0.3.3 | ||
, cardano-slotting >= 0.1 | ||
, cardano-strict-containers >= 0.1 | ||
, cborg | ||
, containers | ||
, contra-tracer | ||
, deepseq | ||
, directory | ||
, either | ||
, filepath | ||
, formatting | ||
, iproute | ||
, memory | ||
, microlens | ||
, mtl | ||
, network | ||
, optparse-applicative-fork | ||
, ouroboros-consensus >= 0.9 | ||
, ouroboros-consensus-cardano >= 0.7 | ||
, ouroboros-consensus-diffusion >= 0.7 | ||
, ouroboros-consensus-protocol >= 0.5.0.4 | ||
, ouroboros-network | ||
, ouroboros-network-api | ||
, ouroboros-network-framework | ||
, ouroboros-network-protocols | ||
, parsec | ||
, plutus-ledger-api:{plutus-ledger-api, plutus-ledger-api-testlib} ^>= 1.7 | ||
, prettyprinter | ||
, prettyprinter-configurable ^>= 1.7 | ||
, random | ||
, scientific | ||
, serialise | ||
, small-steps ^>= 1.0 | ||
, stm | ||
, text >= 2.0 | ||
, time | ||
, transformers | ||
, transformers-except ^>= 0.1.3 | ||
, typed-protocols ^>= 0.1 | ||
, unordered-containers >= 0.2.11 | ||
, vector | ||
, yaml | ||
|
||
library | ||
import: project-config | ||
|
||
hs-source-dirs: src | ||
|
||
-- Do not expose any additional modules. The correct way | ||
-- to expose new functionality is via Cardano.Api or | ||
-- Cardano.Api.Shelley | ||
exposed-modules: Cardano.Api | ||
Cardano.Api.Byron | ||
Cardano.Api.ChainSync.Client | ||
Cardano.Api.ChainSync.ClientPipelined | ||
Cardano.Api.Crypto.Ed25519Bip32 | ||
Cardano.Api.Shelley | ||
-- TODO: Eliminate Cardano.Api.Ledger when | ||
-- cardano-api only depends on modules | ||
-- exposed by cardano-api-ledger | ||
Cardano.Api.Ledger | ||
|
||
|
||
build-depends: bytestring | ||
, cardano-api:internal | ||
, cardano-binary | ||
, cardano-crypto | ||
, cardano-crypto-class >= 2.1.1 | ||
, cryptonite | ||
, deepseq | ||
, memory | ||
, nothunks | ||
, ouroboros-network-protocols | ||
, typed-protocols ^>= 0.1 | ||
|
||
library gen | ||
import: project-config | ||
|
||
visibility: public | ||
|
||
hs-source-dirs: gen | ||
|
||
exposed-modules: Test.Gen.Cardano.Api | ||
Test.Gen.Cardano.Api.Metadata | ||
Test.Gen.Cardano.Api.Typed | ||
Test.Gen.Cardano.Crypto.Seed | ||
Test.Hedgehog.Golden.ErrorMessage | ||
Test.Hedgehog.Roundtrip.Bech32 | ||
Test.Hedgehog.Roundtrip.CBOR | ||
|
||
build-depends: aeson >= 1.5.6.0 | ||
, base16-bytestring | ||
, bytestring | ||
, cardano-api | ||
, cardano-api:internal | ||
, cardano-binary >= 1.6 && < 1.8 | ||
, cardano-crypto-class ^>= 2.1 | ||
, cardano-crypto-test ^>= 1.5 | ||
, cardano-ledger-alonzo >= 1.3.1.1 && < 1.4 | ||
, cardano-ledger-alonzo-test | ||
, cardano-ledger-byron-test >= 1.5 | ||
, cardano-ledger-core:{cardano-ledger-core, testlib} ^>= 1.4 | ||
, cardano-ledger-shelley ^>= 1.4.1.0 | ||
, cardano-ledger-conway:testlib >= 1.5 | ||
, containers | ||
, filepath | ||
, hedgehog >= 1.1 | ||
, hedgehog-extras | ||
, hedgehog-quickcheck | ||
, tasty | ||
, tasty-hedgehog | ||
, text | ||
|
||
test-suite cardano-api-test | ||
import: project-config | ||
hs-source-dirs: test/cardano-api-test | ||
main-is: cardano-api-test.hs | ||
type: exitcode-stdio-1.0 | ||
|
||
build-depends: aeson >= 1.5.6.0 | ||
, bytestring | ||
, cardano-api | ||
, cardano-api:gen | ||
, cardano-api:internal | ||
, cardano-crypto | ||
, cardano-crypto-class ^>= 2.1 | ||
, cardano-crypto-test ^>= 1.5 | ||
, cardano-crypto-tests ^>= 2.1 | ||
, cardano-ledger-api >= 1.3 | ||
, cardano-ledger-core:{cardano-ledger-core, testlib} >= 1.4 | ||
, containers | ||
, directory | ||
, hedgehog >= 1.1 | ||
, hedgehog-extras | ||
, hedgehog-quickcheck | ||
, mtl | ||
, QuickCheck | ||
, tasty | ||
, tasty-hedgehog | ||
, tasty-quickcheck | ||
|
||
other-modules: Test.Cardano.Api.Crypto | ||
Test.Cardano.Api.Eras | ||
Test.Cardano.Api.IO | ||
Test.Cardano.Api.Json | ||
Test.Cardano.Api.KeysByron | ||
Test.Cardano.Api.Ledger | ||
Test.Cardano.Api.Metadata | ||
Test.Cardano.Api.Typed.Address | ||
Test.Cardano.Api.Typed.Bech32 | ||
Test.Cardano.Api.Typed.CBOR | ||
Test.Cardano.Api.Typed.Envelope | ||
Test.Cardano.Api.Typed.JSON | ||
Test.Cardano.Api.Typed.Ord | ||
Test.Cardano.Api.Typed.Orphans | ||
Test.Cardano.Api.Typed.RawBytes | ||
Test.Cardano.Api.Typed.TxBody | ||
Test.Cardano.Api.Typed.Value | ||
|
||
ghc-options: -threaded -rtsopts -with-rtsopts=-N -with-rtsopts=-T | ||
|
||
test-suite cardano-api-golden | ||
import: project-config | ||
|
||
hs-source-dirs: test/cardano-api-golden | ||
main-is: cardano-api-golden.hs | ||
type: exitcode-stdio-1.0 | ||
|
||
build-depends: aeson | ||
, bech32 >= 1.1.0 | ||
, bytestring | ||
, cardano-api | ||
, cardano-api:gen | ||
, cardano-binary | ||
, cardano-crypto-class | ||
, cardano-data >= 1.0 | ||
, cardano-ledger-alonzo >= 1.3.1.1 && < 1.4 | ||
, cardano-ledger-api >= 1.3 | ||
, cardano-ledger-core:{cardano-ledger-core, testlib} ^>= 1.4 | ||
, cardano-ledger-shelley | ||
, cardano-ledger-shelley-test >= 1.2.0.1 | ||
, cardano-slotting ^>= 0.1 | ||
, containers | ||
, errors | ||
, filepath | ||
, hedgehog >= 1.1 | ||
, hedgehog-extras ^>= 0.4.7.0 | ||
, microlens | ||
, plutus-core ^>= 1.7 | ||
, plutus-ledger-api ^>= 1.7 | ||
, tasty | ||
, tasty-hedgehog | ||
, time | ||
, text | ||
|
||
ghc-options: -threaded -rtsopts -with-rtsopts=-N -with-rtsopts=-T | ||
|
||
build-tool-depends: tasty-discover:tasty-discover | ||
|
||
other-modules: Test.Golden.Cardano.Api.Genesis | ||
, Test.Golden.Cardano.Api.Ledger | ||
, Test.Golden.Cardano.Api.Typed.Script | ||
, Test.Golden.ErrorsSpec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
timestamp = 2023-08-17T16:07:17Z | ||
github = { repo = "input-output-hk/cardano-ledger", rev = "bbdfc3fdb6487653f23385c3df1c9c575bf567cf" } | ||
subdir = 'eras/allegra/impl' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
timestamp = 2023-08-17T18:03:31Z | ||
github = { repo = "input-output-hk/cardano-ledger", rev = "772528ff2a2fc0549a87d3bb4a3a2c6fd57edb5f" } | ||
subdir = 'eras/alonzo/test-suite' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
timestamp = 2023-08-17T16:07:17Z | ||
github = { repo = "input-output-hk/cardano-ledger", rev = "bbdfc3fdb6487653f23385c3df1c9c575bf567cf" } | ||
subdir = 'eras/alonzo/impl' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
timestamp = 2023-08-17T16:07:17Z | ||
github = { repo = "input-output-hk/cardano-ledger", rev = "bbdfc3fdb6487653f23385c3df1c9c575bf567cf" } | ||
subdir = 'libs/cardano-ledger-api' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
timestamp = 2023-08-17T16:07:17Z | ||
github = { repo = "input-output-hk/cardano-ledger", rev = "bbdfc3fdb6487653f23385c3df1c9c575bf567cf" } | ||
subdir = 'eras/babbage/test-suite' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
timestamp = 2023-08-17T16:07:17Z | ||
github = { repo = "input-output-hk/cardano-ledger", rev = "bbdfc3fdb6487653f23385c3df1c9c575bf567cf" } | ||
subdir = 'eras/babbage/impl' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
timestamp = 2023-08-17T16:07:17Z | ||
github = { repo = "input-output-hk/cardano-ledger", rev = "bbdfc3fdb6487653f23385c3df1c9c575bf567cf" } | ||
subdir = 'libs/cardano-ledger-binary' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
timestamp = 2023-08-17T16:07:17Z | ||
github = { repo = "input-output-hk/cardano-ledger", rev = "bbdfc3fdb6487653f23385c3df1c9c575bf567cf" } | ||
subdir = 'eras/conway/test-suite' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
timestamp = 2023-08-17T16:07:17Z | ||
github = { repo = "input-output-hk/cardano-ledger", rev = "bbdfc3fdb6487653f23385c3df1c9c575bf567cf" } | ||
subdir = 'eras/conway/impl' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
timestamp = 2023-08-17T16:07:17Z | ||
github = { repo = "input-output-hk/cardano-ledger", rev = "bbdfc3fdb6487653f23385c3df1c9c575bf567cf" } | ||
subdir = 'libs/cardano-ledger-core' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
timestamp = 2023-08-17T16:07:17Z | ||
github = { repo = "input-output-hk/cardano-ledger", rev = "bbdfc3fdb6487653f23385c3df1c9c575bf567cf" } | ||
subdir = 'eras/mary/impl' |
Oops, something went wrong.