Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create shelley-ma test package and move existing existing shelley-ma …
…tests
- Loading branch information
Showing
6 changed files
with
100 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
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 @@ | ||
-c "nix-shell ../../shell.nix --run \"cabal repl -f development cardano-ledger-shelley-ma-test\"" -o ghcid.txt |
98 changes: 98 additions & 0 deletions
98
shelley-ma/shelley-ma-test/cardano-ledger-shelley-ma-test.cabal
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,98 @@ | ||
cabal-version: 2.2 | ||
name: cardano-ledger-shelley-ma-test | ||
version: 0.1.0.0 | ||
synopsis: Shelley ledger with multiasset and time lock support. | ||
description: | ||
This package extends the Shelley ledger with support for | ||
native tokens and timelocks. | ||
bug-reports: https://github.com/input-output-hk/cardano-ledger-specs/issues | ||
license: Apache-2.0 | ||
author: IOHK Formal Methods Team | ||
maintainer: formal.methods@iohk.io | ||
copyright: 2020 Input Output (Hong Kong) Ltd. | ||
category: Network | ||
build-type: Simple | ||
|
||
source-repository head | ||
type: git | ||
location: https://github.com/input-output-hk/cardano-ledger-specs | ||
|
||
library | ||
exposed-modules: | ||
Test.Cardano.Ledger.ShelleyMA.TxBody | ||
Test.Cardano.Ledger.ShelleyMA.Timelocks | ||
|
||
-- other-extensions: | ||
build-depends: | ||
cardano-ledger-shelley-ma, | ||
base >=4.9 && <4.15, | ||
bytestring, | ||
cardano-binary, | ||
cardano-crypto-class, | ||
cardano-crypto-praos, | ||
cardano-prelude, | ||
cardano-slotting, | ||
cborg, | ||
containers, | ||
deepseq, | ||
groups, | ||
nothunks, | ||
partial-order, | ||
shelley-spec-ledger, | ||
small-steps, | ||
tasty-hedgehog, | ||
tasty-hunit, | ||
tasty-quickcheck, | ||
tasty, | ||
hs-source-dirs: src | ||
ghc-options: | ||
-Wall | ||
-Wcompat | ||
-Wincomplete-record-updates | ||
-Wincomplete-uni-patterns | ||
-Wredundant-constraints | ||
-Wpartial-fields | ||
default-language: Haskell2010 | ||
|
||
|
||
test-suite cardano-ledger-shelley-ma-test | ||
type: exitcode-stdio-1.0 | ||
main-is: Tests.hs | ||
hs-source-dirs: test | ||
default-language: Haskell2010 | ||
ghc-options: | ||
-threaded | ||
-rtsopts | ||
-with-rtsopts=-N | ||
-Wall | ||
-Wcompat | ||
-Wincomplete-record-updates | ||
-Wincomplete-uni-patterns | ||
-Wredundant-constraints | ||
-- We set a bound here so that we're alerted of potential space | ||
-- leaks in our generators (or test) code. | ||
-- | ||
-- The 4 megabytes stack bound and 200 megabytes heap bound were | ||
-- determined ad-hoc. | ||
"-with-rtsopts=-K4m -M250m" | ||
build-depends: | ||
cardano-ledger-shelley-ma-test, | ||
base >=4.9 && <4.15, | ||
bytestring, | ||
cardano-binary, | ||
cardano-crypto-class, | ||
cardano-crypto-praos, | ||
cardano-prelude, | ||
cardano-slotting, | ||
cborg, | ||
containers, | ||
deepseq, | ||
groups, | ||
nothunks, | ||
partial-order, | ||
shelley-spec-ledger, | ||
small-steps, | ||
tasty-hedgehog, | ||
tasty-hunit, | ||
tasty-quickcheck, | ||
tasty, |
File renamed without changes.
File renamed without changes.
File renamed without changes.