-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* pact with aeson-2 * ... * update ethereum pin * [WIP] ea * update ethereum pin * update freeze file * More changes to setup Nix for the new aeson2 work (#1581) * use LegacyValue * pact-json * Revert "[WIP] ea" This reverts commit 50a42ad. * confirmed and updated empty-block-tests results * confirmed and updated new-block-0 results * ... empty-block-tests * ProofPactEvent * fix roundtrip tests for PactEvent * fix block time in spv tests * ... * HasTextRepresentation and consistent show instances in Payload * legacy encoding in mkPayloadWithTextOld * update ea and genesis headers * update pact pin * ghc 9.4 * update freeze file * update mac build * update pact pin * update pact and pact-json pins * update compiler versions * fix encoding of pact exceptions * [TEMPORARY] add some debug logging to test * [TEMPORARY] include tests in container image * [TEMPORARY] build image with ghc-9.4.4 * build with ghc-9.6 * build with ghc-9.6 in CI * create docker file for 9.6.1 * remove use of deprecated TypeInType * make ghci happy * update cabal to 3.10 * ... * temporarily disable build with 9.4 * ... * ... * sort db keys using legacy ordering * fix new-block-0 golden outputs * update pact pin * ... * update pact pin * update github actions * update pact pin * update pact pin * update pact pin * update pact pin * update pact pin * update pact pin * wip error forking * errors back in chainweb, future proof read init modules * update pact and massiv pin * update pact pin * bump limit for replay * update pact pin * forking tests, fix forking for pact47 * some more strictness * allow-newer ghc-prim * cleanup cabal.project * pact pin update * update pact pin * more strictness * fix nix build -- step 1 * fix nix build -- step 2 * fix nix build -- step 3 * fix nix build -- step 4 * fix nix build -- step 5 * fix nix build -- step 6 * fix nix build -- step 7 * fix nix build -- step 8 * Fix source-repository-package sha256s * update pact pin * nix fixes to "pact with aeson 2" (#1638) * update ethereum package * default-flake.nix fixups - upgrade compiler to 9.6.1 - pkgs: add config = {}; and overlays = [];, for purity - disable cabal.project.freeze (in nix only) when ghc != 8.10.7 - export more attributes that are useful for debugging * bump ethereum commit again * bump ethereum package * update ethereum pin * update pact pin * update pact pin * relax some redundant upper bounds * update pact and pact-json pins * replace aeson encode by pact-json encode in single chain tests * update pact pin * allow newer base-compat-batteries * remove redundant source-repository-package entry for massiv * Fix bench * update pin * remove support for GHC < 9.6 * freeze file for GHC 9.6 * fix JSON encoding for latest pact pin * enable fork * make tests compile * ok but fix tests for real this time * fix legacy behavior of block module cache * update genesis headers * update nix pins for pact and pact-json * update nix hashes of pact(-json) and nix compiler to ghc962 * update hackage.nix flake input * Fix fork heights * Apply suggestions from code review Co-authored-by: Edmund Noble <[email protected]> * remove unused module Chainweb.BlockHeader.Genesis * remove redundant import * use ghc-9.6.2 in Dockerfile * use ghc 9.6.2 in CI * update freeze file * Update the Pact repository pin --------- Co-authored-by: John Wiegley <[email protected]> Co-authored-by: Jose <[email protected]> Co-authored-by: Enis Bayramoğlu <[email protected]> Co-authored-by: chessai <[email protected]> Co-authored-by: Edmund Noble <[email protected]> Co-authored-by: chessai <[email protected]> Co-authored-by: Edmund Noble <[email protected]>
- Loading branch information
1 parent
c123bda
commit 760c171
Showing
117 changed files
with
1,721 additions
and
1,387 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
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
-- ------------------------------------------------------ -- | ||
-- Copyright © 2019 Kadena LLC <[email protected]> | ||
-- Copyright © 2019-2023 Kadena LLC <[email protected]> | ||
-- Copyright © 2019 Colin Woodbury <[email protected]> | ||
-- Copyright © 2015-2018 Lars Kuhtz <[email protected]> | ||
-- Copyright © 2014 AlephCloud Systems, Inc. | ||
|
@@ -113,14 +113,8 @@ import Distribution.Simple.Setup | |
import Distribution.Text | ||
import Distribution.Types.LocalBuildInfo | ||
import Distribution.Types.UnqualComponentName | ||
|
||
#if MIN_VERSION_Cabal(3,6,0) | ||
import Distribution.Utils.Path | ||
#endif | ||
|
||
#if MIN_VERSION_Cabal(3,2,0) | ||
import Distribution.Utils.ShortText | ||
#endif | ||
|
||
import System.Process | ||
|
||
|
@@ -170,13 +164,8 @@ mkPkgInfoModules hooks = hooks | |
prettyLicense :: I.InstalledPackageInfo -> String | ||
prettyLicense = either prettyShow prettyShow . I.license | ||
|
||
#if MIN_VERSION_Cabal(3,2,0) | ||
ft :: ShortText -> String | ||
ft = fromShortText | ||
#else | ||
ft :: String -> String | ||
ft = id | ||
#endif | ||
|
||
-- -------------------------------------------------------------------------- -- | ||
-- Cabal 2.0 | ||
|
@@ -242,11 +231,7 @@ trim = f . f | |
-- -------------------------------------------------------------------------- -- | ||
-- VCS | ||
|
||
#if defined (MIN_VERSION_Cabal) && MIN_VERSION_Cabal(3,4,0) | ||
getVCS :: IO (Maybe KnownRepoType) | ||
#else | ||
getVCS :: IO (Maybe RepoType) | ||
#endif | ||
getVCS = getCurrentDirectory >>= getVcsOfDir | ||
where | ||
getVcsOfDir d = do | ||
|
@@ -445,12 +430,7 @@ licenseFilesText pkgDesc = | |
B.intercalate "\n------------------------------------------------------------\n" <$> mapM fileTextStr | ||
(licenseFiles pkgDesc) | ||
where | ||
#if MIN_VERSION_Cabal(3,6,0) | ||
fileTextStr = fileText . getSymbolicPath | ||
#else | ||
fileTextStr = fileText | ||
#endif | ||
|
||
fileText file = doesFileExist file >>= \x -> if x | ||
then B.readFile file | ||
else return "" | ||
|
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
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
Oops, something went wrong.