Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions .github/workflows/applications.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,14 +135,14 @@ jobs:
MATRIX="$(jq -c '.' <<EOF
{

"ghc": ["9.6.7", "9.8.2", "9.10.1"],
"ghc": ["9.8.2", "9.10.2"],
"cabal": ["latest"],
"os": ["ubuntu-22.04"],
"use-freeze-file": ["false"],
"include" : [
{
# These are the build values that will be used for release scripts
"ghc": "9.8.2",
"ghc": "9.10.2",
"cabal": "latest",
"os": "ubuntu-22.04",
"use-freeze-file": "true"
Expand All @@ -154,14 +154,14 @@ jobs:
else
MATRIX="$(jq -c '.' <<EOF
{
"ghc": ["9.6.7", "9.8.2", "9.10.1"],
"ghc": ["9.8.2", "9.10.2"],
"cabal": ["latest"],
"os": ["ubuntu-22.04"],
"use-freeze-file": ["false"],
"include" : [
{
"ghc": "9.8.2",
"cabal": "3.12",
"ghc": "9.10.2",
"cabal": "3.14",
"os": "ubuntu-22.04",
"use-freeze-file": "true"
}
Expand Down Expand Up @@ -589,6 +589,7 @@ jobs:
# Validate Devnet Database and Replay Pact History

validate-devnet-database:
if: false # disabled because development db artifact is missing
name: Validate Devnet Database Snapshot and Replay Pact History
needs: [config, sync-chain-db, build]
strategy:
Expand Down Expand Up @@ -763,10 +764,10 @@ jobs:
# when adding more than one build, use a different package name or
# different tags
include:
- ghc: "9.8.2"
- ghc: "9.10.2"
os: "ubuntu-22.04"
use-freeze-file: "true"
- ghc: "9.10.1"
- ghc: "9.10.2"
os: "ubuntu-22.04"
use-freeze-file: "false"
env:
Expand Down
8 changes: 4 additions & 4 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,14 @@ package yet-another-logger
source-repository-package
type: git
location: https://github.com/kadena-io/pact.git
tag: d4f03045df6ba5178a76e534d619b6233ad1c659
--sha256: 1q4b3i606davn6iyk6az2q7cw5f7llxjhkbqyzw4bsxhrkah7fch
tag: 4208012e3f2fdf1721c24cdcb97de5f64fd5f58a
--sha256: 1al11csqr291avfwbb7hcrfxapz9sx0iclv3j5ipnli287h52cvs

source-repository-package
type: git
location: https://github.com/kadena-io/pact-5.git
tag: 6c81f4cf0631a4087f8350230bd9b7c3714f9751
--sha256: sha256-7SttW6Aexh+sQLdT1JZ4sZIhRXJ5G4q23aBvRh0sEK0=
tag: bfc5310c462aaefabe7c512407ac6dab87fc8c42
--sha256: 05xp1vwxkvjxrn8pij9z4g1hadbkb8hrgziwzs408yxxxmkcv6kq

source-repository-package
type: git
Expand Down
73 changes: 37 additions & 36 deletions cabal.project.freeze
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
active-repositories: hackage.haskell.org:merge
constraints: any.Cabal ==3.10.2.0,
any.Cabal-syntax ==3.10.2.0,
constraints: any.Cabal ==3.12.1.0 || ==3.14.2.0,
any.Cabal-syntax ==3.12.1.0 || ==3.14.2.0,
any.Decimal ==0.5.2,
any.Diff ==1.0.2,
any.Glob ==0.10.2,
Expand All @@ -27,7 +27,7 @@ constraints: any.Cabal ==3.10.2.0,
any.ap-normalize ==0.1.0.1,
ap-normalize -test-with-clang,
any.appar ==0.1.8,
any.array ==0.5.6.0,
any.array ==0.5.8.0,
any.asn1-encoding ==0.9.6,
any.asn1-parse ==0.9.5,
any.asn1-types ==0.3.4,
Expand All @@ -43,7 +43,7 @@ constraints: any.Cabal ==3.10.2.0,
any.authenticate-oauth ==1.7,
any.auto-update ==0.2.6,
any.barbies ==2.1.1.0,
any.base ==4.19.1.0,
any.base ==4.20.1.0,
any.base-compat ==0.14.1,
any.base-compat-batteries ==0.14.1,
any.base-orphans ==0.9.3,
Expand All @@ -55,7 +55,7 @@ constraints: any.Cabal ==3.10.2.0,
any.basement ==0.0.16,
any.bifunctors ==5.6.2,
bifunctors +tagged,
any.binary ==0.8.9.1,
any.binary ==0.8.9.3,
any.binary-orphans ==1.0.5,
any.bitvec ==1.1.5.0,
bitvec +simd,
Expand All @@ -67,17 +67,17 @@ constraints: any.Cabal ==3.10.2.0,
any.bound ==2.0.7,
bound +template-haskell,
any.bsb-http-chunked ==0.0.0.4,
any.bytebuild ==0.3.16.3,
any.bytebuild ==0.3.17.0,
bytebuild -checked,
any.byteorder ==1.0.4,
any.bytes ==0.17.4,
any.byteslice ==0.2.15.0,
byteslice +avoid-rawmemchr,
any.bytesmith ==0.3.13.0,
any.bytestring ==0.12.1.0,
any.bytesmith ==0.3.14.0,
any.bytestring ==0.12.2.0,
any.bytestring-builder ==0.10.8.2.0,
bytestring-builder +bytestring_has_builder,
any.cabal-doctest ==1.0.11,
any.cabal-doctest ==1.0.12,
any.cache ==0.1.3.0,
any.call-stack ==0.4.0,
any.case-insensitive ==1.2.1.0,
Expand All @@ -90,8 +90,8 @@ constraints: any.Cabal ==3.10.2.0,
chainweb-node -debug -ed25519 -ghc-flags,
any.character-ps ==0.1,
any.charset ==0.3.12,
any.chronos ==1.1.6.2,
any.citeproc ==0.10,
any.chronos ==1.1.7.0,
any.citeproc ==0.11,
citeproc -executable -icu,
any.clock ==0.8.4,
clock -llvm,
Expand All @@ -111,7 +111,7 @@ constraints: any.Cabal ==3.10.2.0,
any.configuration-tools ==0.7.1,
configuration-tools -remote-configs,
any.constraints ==0.14.2,
any.containers ==0.6.8,
any.containers ==0.7,
any.contiguous ==0.6.4.2,
any.contravariant ==1.5.5,
contravariant +semigroups +statevar +tagged,
Expand All @@ -132,7 +132,7 @@ constraints: any.Cabal ==3.10.2.0,
any.crypton-socks ==0.6.2,
crypton-socks -example +network-3-0-0-0,
any.crypton-x509 ==1.7.7,
any.crypton-x509-store ==1.6.11,
any.crypton-x509-store ==1.6.12,
any.crypton-x509-system ==1.6.7,
any.crypton-x509-validation ==1.6.14,
any.cryptonite ==0.30,
Expand All @@ -155,7 +155,7 @@ constraints: any.Cabal ==3.10.2.0,
any.digraph ==0.3.2,
any.direct-sqlite ==2.3.29,
direct-sqlite +dbstat +fulltextsearch +haveusleep +json1 -mathfunctions -systemlib +urifilenames,
any.directory ==1.3.8.1,
any.directory ==1.3.8.5,
any.distributive ==0.6.2.1,
distributive +semigroups +tagged,
any.djot ==0.1.2.3,
Expand All @@ -174,11 +174,11 @@ constraints: any.Cabal ==3.10.2.0,
any.errors ==2.3.0,
any.ethereum ==0.1.1,
ethereum -ethhash -openssl-use-pkg-config,
any.exceptions ==0.10.7,
any.exceptions ==0.10.9,
any.extra ==1.8,
any.fast-logger ==3.2.6,
any.file-embed ==0.0.16.0,
any.filepath ==1.4.200.1,
any.filepath ==1.5.4.0,
any.fingertree ==0.1.6.2,
any.finite-typelits ==0.2.1.0,
any.free ==5.2,
Expand All @@ -190,10 +190,11 @@ constraints: any.Cabal ==3.10.2.0,
any.generically ==0.1.1,
any.generics-sop ==0.5.1.4,
any.ghc-bignum ==1.3,
any.ghc-boot-th ==9.8.2,
any.ghc-boot-th ==9.10.2,
any.ghc-compact ==0.1.0.0,
any.ghc-heap ==9.8.2,
any.ghc-prim ==0.11.0,
any.ghc-heap ==9.10.2,
any.ghc-internal ==9.1002.0,
any.ghc-prim ==0.12.0,
any.gridtables ==0.1.1.0,
any.groups ==0.5.3,
any.growable-vector ==0.1,
Expand Down Expand Up @@ -255,7 +256,7 @@ constraints: any.Cabal ==3.10.2.0,
lsp -demo,
any.lsp-types ==2.3.0.1,
lsp-types -force-ospath,
any.managed ==1.0.10,
any.managed ==1.0.11,
any.massiv ==1.0.5.0,
massiv -unsafe-checks,
any.math-functions ==0.3.4.4,
Expand Down Expand Up @@ -294,19 +295,19 @@ constraints: any.Cabal ==3.10.2.0,
any.optparse-applicative ==0.19.0.0,
optparse-applicative +process,
any.ordered-containers ==0.2.4,
any.os-string ==2.0.8,
any.os-string ==2.0.4,
any.pact ==4.13.2,
pact -build-tool +cryptonite-ed25519 -tests-in-lib,
any.pact-json ==0.1.0.0,
any.pact-time ==0.3.0.1,
pact-time -with-time,
any.pact-tng ==5.4,
pact-tng +with-crypto +with-funcall-tracing +with-native-tracing,
any.pandoc ==3.8.2,
any.pandoc ==3.8.2.1,
pandoc -embed_data_files,
any.pandoc-types ==1.23.1,
any.parallel ==3.2.2.0,
any.parsec ==3.1.17.0,
any.parallel ==3.3.0.0,
any.parsec ==3.1.18.0,
any.parser-combinators ==1.3.0,
parser-combinators -dev,
any.parsers ==0.12.12,
Expand All @@ -326,7 +327,7 @@ constraints: any.Cabal ==3.10.2.0,
any.primitive-addr ==0.1.0.3,
any.primitive-offset ==0.2.0.1,
any.primitive-unlifted ==2.1.0.0,
any.process ==1.6.18.0,
any.process ==1.6.25.0,
any.profunctors ==5.6.3,
any.property-matchers ==0.7.0.0,
any.psqueues ==0.2.8.2,
Expand Down Expand Up @@ -394,14 +395,14 @@ constraints: any.Cabal ==3.10.2.0,
any.split ==0.2.5,
any.splitmix ==0.1.3.1,
splitmix -optimised-mixer,
any.statistics ==0.16.3.0,
any.statistics ==0.16.4.0,
statistics -benchpapi,
any.stm ==2.5.2.1,
any.stm ==2.5.3.1,
any.stm-chans ==3.0.0.9,
any.stopwatch ==0.1.0.7,
stopwatch -test_delay_upper_bound -test_threaded,
any.streaming ==0.2.4.0,
any.streaming-commons ==0.2.3.0,
any.streaming-commons ==0.2.3.1,
streaming-commons -use-bytestring-builder,
any.strict ==0.5.1,
any.strict-concurrency ==0.2.4.3,
Expand All @@ -417,14 +418,14 @@ constraints: any.Cabal ==3.10.2.0,
any.tasty-hunit ==0.10.2,
any.tasty-json ==0.1.0.0,
any.tasty-quickcheck ==0.11.1,
any.template-haskell ==2.21.0.0,
any.template-haskell ==2.22.0.0,
any.temporary ==1.3,
any.terminal-progress-bar ==0.4.2,
any.terminal-size ==0.3.4,
any.terminfo ==0.4.1.6,
any.terminfo ==0.4.1.7,
any.texmath ==0.13.0.1,
texmath -executable -server,
any.text ==2.1.1,
any.text ==2.1.2,
any.text-conversions ==0.3.1.1,
any.text-iso8601 ==0.1.1,
any.text-rope ==0.3,
Expand All @@ -444,14 +445,14 @@ constraints: any.Cabal ==3.10.2.0,
any.time-locale-compat ==0.1.1.5,
time-locale-compat +old-locale,
any.time-manager ==0.2.3,
any.tls ==2.1.11,
any.tls ==2.1.13,
tls -devel,
any.tls-session-manager ==0.0.8,
any.token-bucket ==0.1.0.1,
token-bucket +use-cbits,
any.toml-parser ==2.0.1.2,
any.torsor ==0.1.0.1,
any.transformers ==0.6.1.0,
any.transformers ==0.6.1.1,
any.transformers-base ==0.4.6,
transformers-base +orphaninstances,
any.transformers-compat ==0.7.2,
Expand All @@ -464,12 +465,12 @@ constraints: any.Cabal ==3.10.2.0,
any.typst-symbols ==0.1.8.1,
any.unicode-collation ==0.1.3.6,
unicode-collation -doctests -executable,
any.unicode-data ==0.6.0,
any.unicode-data ==0.8.0,
unicode-data -dev-has-icu,
any.unicode-transforms ==0.4.0.1,
unicode-transforms -bench-show -dev -has-icu -has-llvm -use-gauge,
any.uniplate ==1.6.13,
any.unix ==2.8.4.0,
any.unix ==2.8.6.0,
any.unix-compat ==0.7.4.1,
any.unix-time ==0.4.17,
any.unlifted ==0.2.3.0,
Expand Down Expand Up @@ -524,4 +525,4 @@ constraints: any.Cabal ==3.10.2.0,
zip-archive -executable,
any.zlib ==0.7.1.1,
zlib -bundled-c-zlib +non-blocking-ffi +pkg-config
index-state: hackage.haskell.org 2025-10-14T15:51:50Z
index-state: hackage.haskell.org 2025-11-19T16:40:09Z
4 changes: 2 additions & 2 deletions cwtools/ea/Ea/Genesis.hs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ module Ea.Genesis
import Control.Lens
import Control.Monad

import Data.Text
import qualified Data.Text as T
import Data.Word

import Chainweb.Graph
Expand Down Expand Up @@ -108,7 +108,7 @@ chainIdRangeTag (ChainIdRange l u)
data Genesis = Genesis
{ _version :: ChainwebVersion
-- ^ chainweb version (e.g. Testnet04)
, _tag :: Text
, _tag :: T.Text
-- ^ Module name tag
, _txChainIds :: ChainIdRange
-- ^ chain id
Expand Down
13 changes: 7 additions & 6 deletions node/Setup.hs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
{-# LANGUAGE CPP #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE MultiWayIf #-}
{-# LANGUAGE ViewPatterns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE ScopedTypeVariables #-}

Expand Down Expand Up @@ -133,7 +134,7 @@ import System.Directory
doesFileExist, getCurrentDirectory)
import System.Environment (lookupEnv)
import System.Exit (ExitCode(ExitSuccess))
import System.FilePath (isDrive, takeDirectory, (</>))
import System.FilePath (isDrive, takeDirectory)

-- | Include this function when your setup doesn't contain any
-- extra functionality.
Expand Down Expand Up @@ -183,7 +184,7 @@ mkPkgInfoModulesPostConf hook args flags pkgDesc bInfo = do

updatePkgInfoModule :: PackageDescription -> LocalBuildInfo -> ComponentLocalBuildInfo -> IO ()
updatePkgInfoModule pkgDesc bInfo clbInfo = do
createDirectoryIfMissing True dirName
createDirectoryIfMissing True $ interpretSymbolicPathCWD dirName
moduleBytes <- pkgInfoModule moduleName cName pkgDesc bInfo
updateFile fileName moduleBytes

Expand All @@ -196,19 +197,19 @@ updatePkgInfoModule pkgDesc bInfo clbInfo = do
cName = unUnqualComponentName <$> componentNameString (componentLocalName clbInfo)

moduleName = pkgInfoModuleName
fileName = dirName ++ "/" ++ moduleName ++ ".hs"
fileName = dirName </> unsafeMakeSymbolicPath moduleName <.> ".hs"

legacyModuleName = legacyPkgInfoModuleName cName
legacyFileName = dirName ++ "/" ++ legacyModuleName ++ ".hs"
legacyFileName = dirName </> unsafeMakeSymbolicPath legacyModuleName <.> ".hs"

-- -------------------------------------------------------------------------- --
-- Generate PkgInfo Module

pkgInfoModuleName :: String
pkgInfoModuleName = "PkgInfo"

updateFile :: FilePath -> B.ByteString -> IO ()
updateFile fileName content = do
updateFile :: SymbolicPath from to -> B.ByteString -> IO ()
updateFile (interpretSymbolicPathCWD -> fileName) content = do
x <- doesFileExist fileName
if | not x -> update
| otherwise -> do
Expand Down
Loading
Loading