Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update all dependencies #21

Merged
merged 25 commits into from
Mar 8, 2021
Merged

Update all dependencies #21

merged 25 commits into from
Mar 8, 2021

Commits on Mar 5, 2021

  1. Update all dependencies

    Updates:
    - GHC from 8.6.5 to 8.10.4
    - Haskell.nix to a new version supporting 8.10.4
    - The Hackage index state from 2020-05-15 to 2021-02-09 (determines most
      Haskell dependencies)
    - haskell-language-server to 1.0.0, which newly supports 8.10.4
    - All source-repository-package statements in cabal.project to the
      latest version
    - The hexstring library to a fork containing fixes for base16-bytestring's
      incompatible changes:
      https://github.com/input-output-hk/haskell-hexstring/tree/base16-bytestring-1.x
    
    Also simplifies the source-repository-package's to use multiple subdirs
    infinisil committed Mar 5, 2021
    Configuration menu
    Copy the full SHA
    5d68f56 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3c31ef8 View commit details
    Browse the repository at this point in the history
  3. NoThunk fixes

    Was moved from cardano-prelude to its own nothunk library, and was
    renamed from NoUnexpectedThunks to NoThunks
    infinisil committed Mar 5, 2021
    Configuration menu
    Copy the full SHA
    d955d05 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7620c83 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c0355b5 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1f844eb View commit details
    Browse the repository at this point in the history
  7. Make Ledger/Update.hs compile

    Comment out some things
    infinisil committed Mar 5, 2021
    Configuration menu
    Copy the full SHA
    63e8c20 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b26ed26 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    c436f7f View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    842c010 View commit details
    Browse the repository at this point in the history
  11. Remove Dummy Query, since morpho doesn't support node-to-client queries

    The only problem is that the roundtrip_all tries to test node-to-client
    queries. We can just run its individual test cases though, leaving out
    the node-to-client ones
    infinisil committed Mar 5, 2021
    Configuration menu
    Copy the full SHA
    2b8d58e View commit details
    Browse the repository at this point in the history
  12. Make Node/RunNode.hs compile

    Also fixes the version stuff, and implements the DummyGet query again
    infinisil committed Mar 5, 2021
    Configuration menu
    Copy the full SHA
    f3d80fc View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    8ea7d94 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    0ea6b0c View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    708e694 View commit details
    Browse the repository at this point in the history
  16. Make Morpho/Node/Run.hs fully compile

    With ouroboros-network-framework version that supports SRV records on
    top of master
    infinisil committed Mar 5, 2021
    Configuration menu
    Copy the full SHA
    f6cac7f View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    48c2e18 View commit details
    Browse the repository at this point in the history
  18. Cleanups

    infinisil committed Mar 5, 2021
    Configuration menu
    Copy the full SHA
    60ceb87 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    699eedf View commit details
    Browse the repository at this point in the history
  20. Fix compilation of unit test suite

    Notably this moves the inline encoding terms into binary files, without
    changing them, and without adding any missing encoding tests.
    
    This also adds types for the morpho node-to-node and node-to-client
    versions in order for the test suite to be able to distinguish between
    them. However node-to-client isn't necessary so will probably be removed
    later, along with all other node-to-client bits
    infinisil committed Mar 5, 2021
    Configuration menu
    Copy the full SHA
    38b9cd9 View commit details
    Browse the repository at this point in the history
  21. Fix golden encoding mismatches in tests due to ShortHash change

    With the update, ShortHash changed from being a 4-byte MD5 prefix to an
    8-byte prefix instead. ShortHash is not only used by morpho's encoding
    directly (in which case we could've used `MD5Prefix 4` instead), but
    also by MockDSIGN.
    
    Also, commit all the other generated golden encodings
    infinisil committed Mar 5, 2021
    Configuration menu
    Copy the full SHA
    6c35923 View commit details
    Browse the repository at this point in the history
  22. Fix unit tests, move morphoBlockSize out of morphoHeaderStd

    morphoBlockSize is used to give an (over-)estimate of the block size.
    But because it was inside morphoHeaderStd, this value had to be included
    in the leader signature (morphoHeaderStd is the part that is signed).
    This meant that there was no way to converge on a block size, since any
    change to it introduced randomness to the encoding, which influences its
    length since its a variable-size encoding. Moving it out of
    morphoHeaderStd fixes this problem.
    
    This only became a problem with the update because the new roundtrip_all
    function checks that estimateBlockSize gives an overestimate.
    infinisil committed Mar 5, 2021
    Configuration menu
    Copy the full SHA
    ffd40c4 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    ec819d3 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    ed5dc77 View commit details
    Browse the repository at this point in the history
  25. Format with ormolu

    infinisil committed Mar 5, 2021
    Configuration menu
    Copy the full SHA
    e23f3a1 View commit details
    Browse the repository at this point in the history