Skip to content

Commit

Permalink
Move all era specific projects into ./eras/
Browse files Browse the repository at this point in the history
  • Loading branch information
lehins committed Sep 23, 2021
1 parent f76102b commit 9537ad1
Show file tree
Hide file tree
Showing 753 changed files with 31 additions and 33 deletions.
2 changes: 0 additions & 2 deletions byron/ledger/formal-spec/.dir-locals.el

This file was deleted.

24 changes: 12 additions & 12 deletions cabal.project
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
index-state: 2021-02-15T00:00:00Z

packages:
alonzo/impl
alonzo/test-suite
byron/chain/executable-spec
byron/ledger/executable-spec
byron/ledger/impl
byron/ledger/impl/test
byron/crypto
byron/crypto/test
eras/alonzo/impl
eras/alonzo/test-suite
eras/byron/chain/executable-spec
eras/byron/ledger/executable-spec
eras/byron/ledger/impl
eras/byron/ledger/impl/test
eras/byron/crypto
eras/byron/crypto/test
eras/shelley/impl
eras/shelley/test-suite
eras/shelley-ma/impl
eras/shelley-ma/test-suite
libraries/cardano-ledger-core
libraries/cardano-ledger-example-shelley
libraries/cardano-ledger-test
Expand All @@ -17,10 +21,6 @@ packages:
libraries/shelley-spec-non-integral
libraries/small-steps
libraries/small-steps-test
shelley/impl
shelley/test-suite
shelley-ma/impl
shelley-ma/test-suite

-- Always write GHC env files, because they are needed by the doctests.
write-ghc-environment-files: always
Expand Down
14 changes: 7 additions & 7 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -56,16 +56,16 @@ let
# nix-build -A specs -o spec
#
specs = recurseIntoAttrs {
byron-ledger = pkgs.callPackage ./byron/ledger/formal-spec/default.nix {};
byron-chain = pkgs.callPackage ./byron/chain/formal-spec/default.nix {};
shelley-ledger = pkgs.callPackage ./shelley/formal-spec/default.nix {};
shelley-ma = pkgs.callPackage ./shelley-ma/formal-spec/default.nix {};
alonzo-ledger = pkgs.callPackage ./alonzo/formal-spec/default.nix {};
delegation-design = pkgs.callPackage ./shelley/design-spec/default.nix {};
byron-ledger = pkgs.callPackage ./eras/byron/ledger/formal-spec/default.nix {};
byron-chain = pkgs.callPackage ./eras/byron/chain/formal-spec/default.nix {};
shelley-ledger = pkgs.callPackage ./eras/shelley/formal-spec/default.nix {};
shelley-ma = pkgs.callPackage ./eras/shelley-ma/formal-spec/default.nix {};
alonzo-ledger = pkgs.callPackage ./eras/alonzo/formal-spec/default.nix {};
delegation-design = pkgs.callPackage ./eras/shelley/design-spec/default.nix {};
small-step-semantics = pkgs.callPackage ./docs/small-step-semantics/default.nix {};
pool-ranking = pkgs.callPackage ./docs/pool-ranking/default.nix {};
non-integer-calculations = pkgs.callPackage ./docs/non-integer-calculations/default.nix {};
blocks-cddl = pkgs.callPackage ./byron/cddl-spec/default.nix {};
blocks-cddl = pkgs.callPackage ./eras/byron/cddl-spec/default.nix {};
};

doc = {
Expand Down
2 changes: 1 addition & 1 deletion docs/non-integer-calculations/references.bib
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ @misc{shelley_spec
author = {{IOHK Formal Methods Team}},
title = {{A Formal Specification of the Cardano Ledger, IOHK Deliverable SL-D5}},
year = {2019},
url = {https://github.com/input-output-hk/cardano-ledger-specs/tree/master/shelley/chain-and-ledger/formal-spec/ledger-spec.tex}
url = {https://github.com/input-output-hk/cardano-ledger-specs/tree/master/eras/shelley/formal-spec/ledger-spec.tex}
}

@misc{shelley_multisig,
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,15 @@ @misc{shelley_spec
author = {{Formal Methods Team, IOHK}},
title = {{A Formal Specification of the Cardano Ledger}},
year = {2019},
url = {https://github.com/input-output-hk/cardano-ledger-specs/tree/master/shelley/chain-and-ledger/formal-spec/ledger-spec.tex}
url = {https://github.com/input-output-hk/cardano-ledger-specs/tree/master/eras/shelley/formal-spec/ledger-spec.tex}
}

@misc{shelley_ma_spec,
label = {CdoLedger},
author = {{Formal Methods Team, IOHK}},
title = {{A Formal Specification of the Cardano Ledger with a Native Multi-Asset Implementation}},
year = {2019},
url = {https://github.com/input-output-hk/cardano-ledger-specs/tree/master/shelley-ma/formal-spec/shelley-ma.tex}
url = {https://github.com/input-output-hk/cardano-ledger-specs/tree/master/eras/shelley-ma/formal-spec/shelley-ma.tex}
}

@misc{ouroboros,
Expand All @@ -86,15 +86,15 @@ @misc{formal_multicur
author = {{Plutus Team, Ledger Team, IOHK}},
title = {{A Formal Specification of a UTxO Ledger with Scripts and Multi-Currency}},
year = {2019},
url = {https://github.com/input-output-hk/cardano-ledger-specs/blob/master/shelley/chain-and-ledger/formal-spec/scripts-multicurrency.tex}
url = {https://github.com/input-output-hk/cardano-ledger-specs/blob/master/eras/shelley/formal-spec/scripts-multicurrency.tex}
}

@misc{multi_sig,
label = {CdoMSIG},
author = {{Formal Methods Team, IOHK}},
title = {{A Formal Specification of a Multi-Signature Scheme using Scripts}},
year = {2019},
url = {https://github.com/input-output-hk/cardano-ledger-specs/blob/master/shelley/chain-and-ledger/formal-spec/multi-sig.tex}
url = {https://github.com/input-output-hk/cardano-ledger-specs/blob/master/eras/shelley/formal-spec/multi-sig.tex}
}

@misc{non_int,
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

-- | This module exports implementations of many of the functions outlined in the Alonzo specification.
-- The link to source of the specification
-- https://github.com/input-output-hk/cardano-ledger-specs/tree/master/alonzo/formal-spec
-- https://github.com/input-output-hk/cardano-ledger-specs/tree/master/eras/alonzo/formal-spec
-- The most recent version of the document can be found here:
-- https://hydra.iohk.io/job/Cardano/cardano-ledger-specs/specs.alonzo-ledger/latest/download-by-type/doc-pdf/alonzo-changes
-- The functions can be found in Figures in that document, and sections of this code refer to those figures.
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 9537ad1

Please sign in to comment.