Skip to content
Open
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
10 changes: 5 additions & 5 deletions .github/workflows/applications.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,14 +141,14 @@ jobs:
MATRIX="$(jq -c '.' <<EOF
{

"ghc": ["9.10.2"],
"ghc": ["9.14.1"],
"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.10.2",
"ghc": "9.14.1",
"cabal": "latest",
"os": "ubuntu-22.04",
"use-freeze-file": "true"
Expand All @@ -160,14 +160,14 @@ jobs:
else
MATRIX="$(jq -c '.' <<EOF
{
"ghc": ["9.10.2"],
"ghc": ["9.14.1"],
"cabal": ["latest"],
"os": ["ubuntu-22.04"],
"use-freeze-file": ["false"],
"include" : [
{
"ghc": "9.10.2",
"cabal": "3.14",
"ghc": "9.14.1",
"cabal": "3.16",
"os": "ubuntu-22.04",
"use-freeze-file": "true"
}
Expand Down
5 changes: 3 additions & 2 deletions bench/Bench.hs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{-# LANGUAGE ImportQualifiedPost #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE ExplicitNamespaces #-}
{-# LANGUAGE PatternSynonyms #-}

-- |
Expand All @@ -16,8 +17,8 @@ import Chainweb.Pact.Backend.ForkingBench qualified as ForkingBench
import Chainweb.MempoolBench qualified as MempoolBench
import Chainweb.Pact.Backend.PactService qualified as PactService
import Chainweb.Storage.Table.RocksDB (withTempRocksDb)
import Chainweb.Version.Development (pattern Development)
import Chainweb.Version.RecapDevelopment (pattern RecapDevelopment)
import Chainweb.Version.Development (data Development)
import Chainweb.Version.RecapDevelopment (data RecapDevelopment)
import Chainweb.Version.Registry (registerVersion)
import Criterion.Main (defaultMain)
import JSONEncoding qualified
Expand Down
5 changes: 2 additions & 3 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ source-repository-package
source-repository-package
type: git
location: https://github.com/kda-community/pact-5.git
tag: 7feeab02fe28bb9bfb0f1792f3ca9adffbcd2576
tag: 9f075658514f615d3e9ab0ea4e3ee086f1c2b627

source-repository-package
type: git
Expand All @@ -122,8 +122,7 @@ source-repository-package
source-repository-package
type: git
location: https://github.com/kda-community/kadena-ethereum-bridge.git
tag: 96bff6b35b2a2b6bf63f9d19b536f0c61102be36
--sha256: 0czl48hhlk8fl63jprg719x3ngrinhj6xs5rqm9cfzpcygp4wz4q
tag: ad90038d19d1d92efa11aff2f99c0ff9b34ff28e

source-repository-package
type: git
Expand Down
55 changes: 28 additions & 27 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.12.1.0 || ==3.14.2.0,
any.Cabal-syntax ==3.12.1.0 || ==3.14.2.0,
constraints: any.Cabal ==3.16.0.0,
any.Cabal-syntax ==3.16.0.0,
any.Decimal ==0.5.2,
any.Diff ==1.0.2,
any.Glob ==0.10.2,
Expand Down Expand Up @@ -40,7 +40,7 @@ constraints: any.Cabal ==3.12.1.0 || ==3.14.2.0,
any.attoparsec-aeson ==2.2.2.0,
any.auto-update ==0.2.6,
any.barbies ==2.1.1.0,
any.base ==4.20.1.0,
any.base ==4.22.0.0,
any.base-compat ==0.15.0,
any.base-compat-batteries ==0.15.0,
any.base-orphans ==0.9.4,
Expand Down Expand Up @@ -111,7 +111,7 @@ constraints: any.Cabal ==3.12.1.0 || ==3.14.2.0,
any.configuration-tools ==0.7.1,
configuration-tools -remote-configs,
any.constraints ==0.14.4,
any.containers ==0.7,
any.containers ==0.8,
any.contiguous ==0.6.4.2,
any.contravariant ==1.5.6,
contravariant +statevar,
Expand Down Expand Up @@ -146,15 +146,15 @@ constraints: any.Cabal ==3.12.1.0 || ==3.14.2.0,
any.data-fix ==0.3.4,
any.data-ordlist ==0.4.7.0,
any.dec ==0.0.6,
any.deepseq ==1.5.0.0,
any.deepseq ==1.5.1.0,
any.dense-linear-algebra ==0.1.0.0,
any.deriving-compat ==0.6.8,
any.digest ==0.0.2.1,
digest -have_arm64_crc32c -have_builtin_prefetch -have_mm_prefetch -have_sse42 -have_strong_getauxval -have_weak_getauxval +pkg-config,
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.5,
any.directory ==1.3.10.0,
any.distributive ==0.6.3,
distributive +tagged,
any.djot ==0.1.4,
Expand All @@ -173,9 +173,10 @@ constraints: any.Cabal ==3.12.1.0 || ==3.14.2.0,
any.errors ==2.3.0,
any.ethereum ==0.1.1,
ethereum -ethhash -openssl-use-pkg-config,
any.exceptions ==0.10.9,
any.exceptions ==0.10.11,
any.fast-logger ==3.2.6,
any.file-embed ==0.0.16.0,
any.file-io ==0.1.5,
any.filepath ==1.5.4.0,
any.fingertree ==0.1.6.3,
any.finite-typelits ==0.2.1.0,
Expand All @@ -185,12 +186,12 @@ constraints: any.Cabal ==3.12.1.0 || ==3.14.2.0,
any.generic-lens ==2.3.0.0,
any.generic-lens-core ==2.3.0.0,
any.generics-sop ==0.5.1.4,
any.ghc-bignum ==1.3,
any.ghc-boot-th ==9.10.2,
any.ghc-bignum ==1.4,
any.ghc-boot-th ==9.14.1,
any.ghc-compact ==0.1.0.0,
any.ghc-heap ==9.10.2,
any.ghc-internal ==9.1002.0,
any.ghc-prim ==0.12.0,
any.ghc-heap ==9.14.1,
any.ghc-internal ==9.1401.0,
any.ghc-prim ==0.13.1,
any.gridtables ==0.1.1.0,
any.groups ==0.5.3,
any.growable-vector ==0.1,
Expand All @@ -202,10 +203,10 @@ constraints: any.Cabal ==3.12.1.0 || ==3.14.2.0,
hashable -arch-native -random-initial-seed,
any.hashes ==0.3.0.1,
hashes -benchmark-cryptonite -openssl-use-pkg-config -test-cryptonite +with-openssl,
any.haskeline ==0.8.2.1,
any.haskeline ==0.8.3.0,
any.haskell-lexer ==1.2.1,
any.haskell-src-exts ==1.23.1,
any.haskell-src-meta ==0.8.15,
any.haskell-src-exts ==1.24.0,
any.haskell-src-meta ==0.8.16,
any.heaps ==0.4.1,
any.hedgehog ==1.7,
any.hourglass ==0.2.12,
Expand All @@ -221,7 +222,7 @@ constraints: any.Cabal ==3.12.1.0 || ==3.14.2.0,
any.http-media ==0.8.1.1,
any.http-semantics ==0.4.0,
any.http-types ==0.12.5,
any.http2 ==5.4.0,
any.http2 ==5.4.1,
http2 -devel -h2spec,
any.indexed-list-literals ==0.2.1.3,
any.indexed-profunctors ==0.1.1.1,
Expand Down Expand Up @@ -294,7 +295,7 @@ constraints: any.Cabal ==3.12.1.0 || ==3.14.2.0,
any.optparse-applicative ==0.19.0.0,
optparse-applicative +process,
any.ordered-containers ==0.2.4,
any.os-string ==2.0.4,
any.os-string ==2.0.8,
any.pact ==4.13.2,
pact -build-tool +cryptonite-ed25519 -tests-in-lib,
any.pact-json ==0.1.0.0,
Expand Down Expand Up @@ -327,7 +328,7 @@ constraints: any.Cabal ==3.12.1.0 || ==3.14.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.25.0,
any.process ==1.6.26.1,
any.profunctors ==5.6.3,
any.property-matchers ==0.7.0.0,
any.psqueues ==0.2.8.3,
Expand All @@ -346,14 +347,14 @@ constraints: any.Cabal ==3.12.1.0 || ==3.14.2.0,
any.regex-pcre-builtin ==0.95.2.3.8.44,
any.regex-tdfa ==1.3.2.5,
regex-tdfa +doctest -force-o2,
any.resource-pool ==0.5.0.0,
any.resource-pool ==0.5.0.1,
any.resourcet ==1.3.0,
any.retry ==0.9.3.1,
retry -lib-werror,
any.rocksdb-haskell-kadena ==1.1.0,
rocksdb-haskell-kadena -with-tbb,
any.row-types ==1.0.1.2,
any.rts ==1.0.2,
any.rts ==1.0.3,
any.run-st ==0.1.3.3,
any.safe ==0.3.21,
any.safe-exceptions ==0.1.7.4,
Expand Down Expand Up @@ -419,14 +420,14 @@ constraints: any.Cabal ==3.12.1.0 || ==3.14.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.22.0.0,
any.template-haskell ==2.24.0.0,
any.temporary ==1.3,
any.terminal-progress-bar ==0.4.2,
any.terminal-size ==0.3.4,
any.terminfo ==0.4.1.7,
any.texmath ==0.13.1.2,
texmath -executable -server,
any.text ==2.1.2,
any.text ==2.1.3,
any.text-conversions ==0.3.1.1,
any.text-iso8601 ==0.1.1.1,
any.text-rope ==0.3,
Expand All @@ -441,7 +442,7 @@ constraints: any.Cabal ==3.12.1.0 || ==3.14.2.0,
any.th-orphans ==0.13.17,
any.th-reify-many ==0.1.10,
any.these ==1.2.1,
any.time ==1.12.2,
any.time ==1.15,
any.time-compat ==1.9.9,
any.time-hourglass ==0.3.0,
any.time-locale-compat ==0.1.1.5,
Expand All @@ -454,7 +455,7 @@ constraints: any.Cabal ==3.12.1.0 || ==3.14.2.0,
token-bucket +use-cbits,
any.toml-parser ==2.0.2.0,
any.torsor ==0.1.0.1,
any.transformers ==0.6.1.1,
any.transformers ==0.6.1.2,
any.transformers-base ==0.4.6.1,
transformers-base +orphaninstances,
any.transformers-compat ==0.7.2,
Expand All @@ -472,7 +473,7 @@ constraints: any.Cabal ==3.12.1.0 || ==3.14.2.0,
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.6.0,
any.unix ==2.8.8.0,
any.unix-compat ==0.7.4.1,
any.unix-time ==0.5.0,
any.unlifted ==0.2.3.0,
Expand All @@ -484,7 +485,7 @@ constraints: any.Cabal ==3.12.1.0 || ==3.14.2.0,
any.uuid ==1.3.16.1,
any.uuid-types ==1.0.6.1,
any.validation ==1.1.5,
any.vault ==0.3.1.6,
any.vault ==0.3.2.0,
vault +useghc,
any.vector ==0.13.2.0,
vector +boundschecks -internalchecks -unsafechecks -wall,
Expand Down Expand Up @@ -525,4 +526,4 @@ constraints: any.Cabal ==3.12.1.0 || ==3.14.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 2026-07-02T11:30:46Z
index-state: hackage.haskell.org 2026-07-10T18:26:37Z
19 changes: 9 additions & 10 deletions chainweb.cabal
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cabal-version: 3.8
cabal-version: 3.16

name: chainweb
version: 3.1
Expand All @@ -15,8 +15,7 @@ category: Blockchain, Currency, Bitcoin, Kadena
build-type: Simple

tested-with:
GHC == 9.10
GHC == 9.8
GHC == 9.14

extra-source-files:
CHANGELOG.md
Expand Down Expand Up @@ -374,7 +373,7 @@ library
, aeson >= 2.2
, async >= 2.2
, attoparsec >= 0.13
, base >= 4.12 && < 5
, base >= 4.22 && < 5
, base16-bytestring >= 0.1
, base64-bytestring-kadena == 0.1
, binary >= 0.8
Expand Down Expand Up @@ -533,7 +532,7 @@ library chainweb-test-utils
, QuickCheck >= 2.14
, aeson >= 2.2
, async >= 2.2
, base >= 4.12 && < 5
, base >= 4.22 && < 5
, base16-bytestring >= 0.1
, bytestring >= 0.10.12
, case-insensitive >= 1.2
Expand Down Expand Up @@ -691,7 +690,7 @@ test-suite chainweb-tests
, QuickCheck >= 2.14
, aeson >= 2.2
, async >= 2.2
, base >= 4.12 && < 5
, base >= 4.22 && < 5
, base16-bytestring >= 0.1
, base64-bytestring-kadena == 0.1
, byteslice >= 0.2.12
Expand Down Expand Up @@ -781,7 +780,7 @@ test-suite compaction-tests
, chainweb:chainweb-test-utils

-- external
, base >= 4.12 && < 5
, base >= 4.22 && < 5
, chainweb-storage >= 0.1
, loglevel >= 0.1
, tasty >= 1.0
Expand All @@ -808,7 +807,7 @@ test-suite multi-node-network-tests
, chainweb:chainweb-test-utils

-- external
, base >= 4.12 && < 5
, base >= 4.22 && < 5
, chainweb-storage >= 0.1
, loglevel >= 0.1
, tasty >= 1.0
Expand Down Expand Up @@ -838,7 +837,7 @@ test-suite remote-tests

-- external
, async >= 2.2
, base >= 4.12 && < 5
, base >= 4.22 && < 5
, bytestring >= 0.10.12
, http-client >= 0.5
, http-types >= 0.12
Expand Down Expand Up @@ -885,7 +884,7 @@ benchmark bench
, QuickCheck >= 2.14
, aeson >= 2.2
, async >= 2.2
, base >= 4.12 && < 5
, base >= 4.22 && < 5
, bytestring >= 0.10.12
, chainweb-storage >= 0.1
, containers >= 0.5
Expand Down
4 changes: 2 additions & 2 deletions cwtools/ea/Ea.hs
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ import Chainweb.Storage.Table.RocksDB
import Chainweb.Time
import Chainweb.Utils
import Chainweb.Version
import Chainweb.Version.Development (pattern Development)
import Chainweb.Version.RecapDevelopment (pattern RecapDevelopment)
import Chainweb.Version.Development (data Development)
import Chainweb.Version.RecapDevelopment (data RecapDevelopment)
import Chainweb.Version.Registry (registerVersion)
import Control.Concurrent.Async
import Control.Exception
Expand Down
3 changes: 2 additions & 1 deletion cwtools/ea/Ea/Genesis.hs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{-# LANGUAGE ImportQualifiedPost #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE ExplicitNamespaces #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE TemplateHaskell #-}
Expand All @@ -8,7 +9,7 @@ module Ea.Genesis
( -- * Genesis tx data
Genesis(..)
, ChainIdRange
, pattern ChainIdRange
, data ChainIdRange
, mkChainIdRange
, onlyChainId
, chainIdRangeTag
Expand Down
3 changes: 1 addition & 2 deletions src/Chainweb/BlockHash.hs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ module Chainweb.BlockHash

-- * Blockheight Ranked BlockHash
, type RankedBlockHash
, pattern RankedBlockHash
, data RankedBlockHash
, _rankedBlockHashHash
, _rankedBlockHashHeight
, encodeRankedBlockHash
Expand Down Expand Up @@ -279,4 +279,3 @@ encodeRankedBlockHash = encodeRanked encodeBlockHash

decodeRankedBlockHash :: Get RankedBlockHash
decodeRankedBlockHash = decodeRanked decodeBlockHash

3 changes: 1 addition & 2 deletions src/Chainweb/BlockPayloadHash.hs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Chainweb.BlockPayloadHash

-- * Ranked Block Payload Hash
, type RankedBlockPayloadHash
, pattern RankedBlockPayloadHash
, data RankedBlockPayloadHash
, _rankedBlockPayloadHashHash
, _rankedBlockPayloadHashHeight
, encodeRankedBlockPayloadHash
Expand Down Expand Up @@ -134,4 +134,3 @@ encodeRankedBlockPayloadHash = encodeRanked encodeBlockPayloadHash

decodeRankedBlockPayloadHash :: Get RankedBlockPayloadHash
decodeRankedBlockPayloadHash = decodeRanked decodeBlockPayloadHash

Loading
Loading