From 4d6ff191200a56e71d0357bbfc5b0d42ccb8c73c Mon Sep 17 00:00:00 2001 From: KadenaFriend <241389759+kdafriend@users.noreply.github.com> Date: Fri, 3 Jul 2026 03:04:19 +0000 Subject: [PATCH 1/4] Bound validation package to 1.1 --- cabal.project | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cabal.project b/cabal.project index 78877e2236..64d6d1a388 100644 --- a/cabal.project +++ b/cabal.project @@ -128,8 +128,7 @@ source-repository-package source-repository-package type: git location: https://github.com/kda-community/wai-middleware-validation.git - tag: e0437bf82e9b4d3fec5ad42ef6e860f4bd04e1b4 - --sha256: 1az7jcggcj275djnfsvhdg3n7hjrj6vp8rj137fxrg4hazh0hyzv + tag: 65ea176c9ba5717dd8c208219e40095a3bf27466 -- Required for backward compatibility: @@ -194,8 +193,6 @@ allow-newer: trifecta:* -- wai-middleware-validation dependencies -allow-newer: wai-middleware-validation:* -allow-newer: validation:* allow-newer: these:* allow-newer: regex-base:* allow-newer: regex-tdfa:* From 37c28c7dc27ebddfc37931747f2a6b35fc9a3abd Mon Sep 17 00:00:00 2001 From: KadenaFriend <241389759+kdafriend@users.noreply.github.com> Date: Fri, 3 Jul 2026 03:18:03 +0000 Subject: [PATCH 2/4] Make ChainMap instance of Unzip (requirements of SemiAlign 1.4) --- src/Chainweb/ChainId.hs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Chainweb/ChainId.hs b/src/Chainweb/ChainId.hs index ba41648a5e..c95f165ba0 100644 --- a/src/Chainweb/ChainId.hs +++ b/src/Chainweb/ChainId.hs @@ -282,6 +282,9 @@ data ChainMap a = AllChains a | OnChains (HashMap ChainId a) deriving stock (Eq, Functor, Foldable, Traversable, Generic, Ord, Show) deriving anyclass (Hashable, NFData) +instance Unzip ChainMap where + unzip = unzipDefault + -- TODO: fix this. This is not a legal instance, because `align` can change the -- shape from `AllChains` to `OnChains`. This breaks the "alignedness" law. instance Semialign ChainMap where From 7ec6888a06d43080636196083a0dc8fd3e7062d8 Mon Sep 17 00:00:00 2001 From: KadenaFriend <241389759+kdafriend@users.noreply.github.com> Date: Fri, 3 Jul 2026 03:50:17 +0000 Subject: [PATCH 3/4] Update freeze file --- cabal.project.freeze | 113 +++++++++++++++++++++---------------------- 1 file changed, 54 insertions(+), 59 deletions(-) diff --git a/cabal.project.freeze b/cabal.project.freeze index b430ef11f2..f4e2b0626a 100644 --- a/cabal.project.freeze +++ b/cabal.project.freeze @@ -7,17 +7,16 @@ constraints: any.Cabal ==3.12.1.0 || ==3.14.2.0, any.HUnit ==1.6.2.0, any.JuicyPixels ==3.3.9, JuicyPixels -mmap, - any.OneTuple ==0.4.2.1, + any.OneTuple ==0.4.3, + OneTuple +base-ge-4-15 +base-ge-4-16, any.Only ==0.1, - any.QuickCheck ==2.16.0.0, + any.QuickCheck ==2.18.0.0, QuickCheck -old-random +templatehaskell, - any.SHA ==1.6.4.4, - SHA -exe, any.StateVar ==1.2.2, any.adjunctions ==4.4.4, - any.aeson ==2.2.3.0, + any.aeson ==2.2.5.0, aeson +ordered-keymap, - any.aeson-pretty ==0.8.10, + any.aeson-pretty ==0.8.11, aeson-pretty -lib-only, any.alex ==3.5.4.2, any.ansi-terminal ==1.1.5, @@ -27,7 +26,7 @@ constraints: any.Cabal ==3.12.1.0 || ==3.14.2.0, ap-normalize -test-with-clang, any.appar ==0.1.8, any.array ==0.5.8.0, - any.asciidoc ==0.1.0.2, + any.asciidoc ==0.1.0.3, any.asn1-encoding ==0.9.6, any.asn1-types ==0.3.4, any.assoc ==1.1.1, @@ -56,13 +55,14 @@ constraints: any.Cabal ==3.12.1.0 || ==3.14.2.0, any.bifunctors ==5.6.3, bifunctors +tagged, any.binary ==0.8.9.3, - any.binary-orphans ==1.0.5, + any.binary-orphans ==1.0.6, + binary-orphans +base-ge-4-16 +base-ge-4-17, any.bitvec ==1.1.6.0, bitvec +simd, any.blaze-builder ==0.4.4.1, any.blaze-html ==0.9.2.0, any.blaze-markup ==0.8.3.0, - any.boring ==0.2.2, + any.boring ==0.2.2.1, boring +tagged, any.bound ==2.0.7, bound +template-haskell, @@ -91,18 +91,18 @@ constraints: any.Cabal ==3.12.1.0 || ==3.14.2.0, any.character-ps ==0.1, any.charset ==0.3.12, any.chronos ==1.1.7.0, - any.citeproc ==0.13, + any.citeproc ==0.13.0.1, citeproc -executable -icu, any.clock ==0.8.4, clock -llvm, any.cmdargs ==0.10.22, cmdargs +quotation -testprog, - any.co-log-core ==0.3.2.6, + any.co-log-core ==0.3.2.7, any.code-page ==0.2.1, any.colour ==2.3.7, - any.commonmark ==0.2.6.1, - any.commonmark-extensions ==0.2.6, - any.commonmark-pandoc ==0.2.3, + any.commonmark ==0.3, + any.commonmark-extensions ==0.2.7, + any.commonmark-pandoc ==0.3, any.comonad ==5.0.10, comonad +containers +distributive +indexed-traversable, any.concurrent-output ==1.10.21, @@ -118,12 +118,12 @@ constraints: any.Cabal ==3.12.1.0 || ==3.14.2.0, any.cookie ==0.5.1, any.criterion ==1.6.5.0, criterion -embed-data-files -fast, - any.criterion-measurement ==0.2.4.0, + any.criterion-measurement ==0.2.5.0, criterion-measurement -fast, any.crypto-token ==0.2.0, any.cryptohash-md5 ==0.11.101.0, any.cryptohash-sha1 ==0.11.101.0, - any.crypton ==1.1.2, + any.crypton ==1.1.4, crypton -check_alignment +integer-gmp -old_toolchain_inliner +support_aesni +support_deepseq +support_pclmuldq +support_rdrand -support_sse +use_target_attributes, any.crypton-asn1-encoding ==0.10.0, any.crypton-asn1-parse ==0.10.0, @@ -132,12 +132,10 @@ constraints: any.Cabal ==3.12.1.0 || ==3.14.2.0, any.crypton-pem ==0.3.0, any.crypton-socks ==0.6.2, crypton-socks -example +network-3-0-0-0, - any.crypton-x509 ==1.9.0, + any.crypton-x509 ==1.9.1, any.crypton-x509-store ==1.9.0, any.crypton-x509-system ==1.9.0, - any.crypton-x509-validation ==1.9.0, - any.cryptonite ==0.30, - cryptonite -check_alignment +integer-gmp -old_toolchain_inliner +support_aesni +support_deepseq -support_pclmuldq +support_rdrand -support_sse +use_target_attributes, + any.crypton-x509-validation ==1.9.1, any.cuckoo ==0.3.1, cuckoo -mwc-random -pcg-random, cwtools -debug -ed25519 -ghc-flags -remote-db, @@ -162,12 +160,12 @@ constraints: any.Cabal ==3.12.1.0 || ==3.14.2.0, any.djot ==0.1.4, any.dlist ==1.0, dlist -werror, - any.doclayout ==0.5.0.1, + any.doclayout ==0.5.0.3, any.doctemplates ==0.11.0.1, any.easy-file ==0.2.5, any.ech-config ==0.0.1, ech-config -devel, - any.emojis ==0.1.4.1, + any.emojis ==0.1.5, any.enclosed-exceptions ==1.0.3, any.entropy ==0.4.1.11, entropy -donotgetentropy, @@ -176,19 +174,16 @@ constraints: any.Cabal ==3.12.1.0 || ==3.14.2.0, any.ethereum ==0.1.1, ethereum -ethhash -openssl-use-pkg-config, any.exceptions ==0.10.9, - any.extra ==1.8.1, any.fast-logger ==3.2.6, any.file-embed ==0.0.16.0, any.filepath ==1.5.4.0, any.fingertree ==0.1.6.3, any.finite-typelits ==0.2.1.0, any.free ==5.2, - any.generic-arbitrary ==1.0.1.2, any.generic-data ==1.1.0.2, generic-data -enable-inspect, any.generic-lens ==2.3.0.0, any.generic-lens-core ==2.3.0.0, - any.generically ==0.1.1, any.generics-sop ==0.5.1.4, any.ghc-bignum ==1.3, any.ghc-boot-th ==9.10.2, @@ -225,13 +220,14 @@ constraints: any.Cabal ==3.12.1.0 || ==3.14.2.0, any.http-date ==0.0.11, any.http-media ==0.8.1.1, any.http-semantics ==0.4.0, - any.http-types ==0.12.4, + any.http-types ==0.12.5, any.http2 ==5.4.0, http2 -devel -h2spec, any.indexed-list-literals ==0.2.1.3, any.indexed-profunctors ==0.1.1.1, - any.indexed-traversable ==0.1.4, - any.indexed-traversable-instances ==0.1.2, + any.indexed-traversable ==0.1.5, + indexed-traversable +base-ge-4-18, + any.indexed-traversable-instances ==0.1.2.1, any.integer-conversion ==0.1.1, any.integer-gmp ==1.1, any.integer-logarithms ==1.0.5, @@ -253,27 +249,27 @@ constraints: any.Cabal ==3.12.1.0 || ==3.14.2.0, any.lifted-base ==0.2.3.12, any.loglevel ==0.1.0.0, any.lrucaching ==0.3.5, - any.lsp ==2.8.0.0, + any.lsp ==2.3.0.0, lsp -demo, - any.lsp-types ==2.4.0.0, + any.lsp-types ==2.1.0.0, lsp-types -force-ospath, any.managed ==1.0.11, any.massiv ==1.0.5.0, massiv -unsafe-checks, any.math-functions ==0.3.4.4, math-functions +system-erf +system-expm1, - any.megaparsec ==9.7.0, + any.megaparsec ==9.8.1, megaparsec -dev, any.memory ==0.18.0, memory +support_bytestring +support_deepseq, any.merkle-log ==0.2.1, any.microlens ==0.5.0.0, - any.microstache ==1.0.3, + any.microstache ==1.0.3.1, any.mime-types ==0.1.2.2, - any.mlkem ==0.2.0.0, + any.mlkem ==0.2.2.0, mlkem +use_crypton, any.mmorph ==1.2.2, - any.mod ==0.2.1.0, + any.mod ==0.2.2.0, mod +semirings +vector, any.monad-control ==1.0.3.1, any.mono-traversable ==1.0.21.0, @@ -306,9 +302,9 @@ constraints: any.Cabal ==3.12.1.0 || ==3.14.2.0, pact-time -with-time, any.pact-tng ==5.4, pact-tng +with-crypto +with-funcall-tracing +with-native-tracing, - any.pandoc ==3.9.0.2, - pandoc -embed_data_files -http, - any.pandoc-types ==1.23.1.1, + any.pandoc ==3.10, + pandoc -embed_data_files +http, + any.pandoc-types ==1.23.1.2, any.parallel ==3.3.0.0, any.parsec ==3.1.18.0, any.parser-combinators ==1.3.1, @@ -323,9 +319,10 @@ constraints: any.Cabal ==3.12.1.0 || ==3.14.2.0, any.pretty-show ==1.10, any.pretty-simple ==4.1.4.0, pretty-simple -buildexample +buildexe, - any.prettyprinter ==1.7.1, + any.prettyprinter ==1.7.2, prettyprinter -buildreadme +text, - any.prettyprinter-ansi-terminal ==1.1.3, + any.prettyprinter-ansi-terminal ==1.1.4, + prettyprinter-ansi-terminal +text, any.primitive ==0.9.1.0, any.primitive-addr ==0.1.0.3, any.primitive-offset ==0.2.0.1, @@ -335,7 +332,7 @@ constraints: any.Cabal ==3.12.1.0 || ==3.14.2.0, any.property-matchers ==0.7.0.0, any.psqueues ==0.2.8.3, any.pvar ==1.0.0.0, - any.quickcheck-instances ==0.3.33, + any.quickcheck-instances ==0.4, any.ralist ==0.4.1.0, any.ram ==0.22.0, any.random ==1.3.1, @@ -365,7 +362,7 @@ constraints: any.Cabal ==3.12.1.0 || ==3.14.2.0, any.scientific ==0.3.8.1, scientific -integer-simple, any.selective ==0.7.0.1, - any.semialign ==1.3.1, + any.semialign ==1.4, semialign +semigroupoids, any.semigroupoids ==6.0.2, semigroupoids +comonad +containers +contravariant +tagged +unordered-containers, @@ -392,10 +389,10 @@ constraints: any.Cabal ==3.12.1.0 || ==3.14.2.0, any.skylighting-format-context ==0.1.0.2, any.skylighting-format-latex ==0.1, any.skylighting-format-typst ==0.1, - any.some ==1.0.6, + any.some ==1.1, some +newtype-unsafe, any.sop-core ==0.5.0.2, - any.sorted-list ==0.3.1.0, + any.sorted-list ==0.2.3.1, any.split ==0.2.5, any.splitmix ==0.1.3.2, splitmix -optimised-mixer, @@ -427,11 +424,11 @@ constraints: any.Cabal ==3.12.1.0 || ==3.14.2.0, any.terminal-progress-bar ==0.4.2, any.terminal-size ==0.3.4, any.terminfo ==0.4.1.7, - any.texmath ==0.13.1.1, + any.texmath ==0.13.1.2, texmath -executable -server, any.text ==2.1.2, any.text-conversions ==0.3.1.1, - any.text-iso8601 ==0.1.1, + any.text-iso8601 ==0.1.1.1, any.text-rope ==0.3, text-rope -debug, any.text-short ==0.1.6.1, @@ -449,8 +446,8 @@ constraints: any.Cabal ==3.12.1.0 || ==3.14.2.0, any.time-hourglass ==0.3.0, any.time-locale-compat ==0.1.1.5, time-locale-compat +old-locale, - any.time-manager ==0.3.1.1, - any.tls ==2.4.0, + any.time-manager ==0.3.2, + any.tls ==2.4.3, tls -devel, any.tls-session-manager ==0.1.0, any.token-bucket ==0.1.0.1, @@ -465,11 +462,11 @@ constraints: any.Cabal ==3.12.1.0 || ==3.14.2.0, any.trifecta ==2.1.4, any.tuples ==0.1.0.0, any.typed-process ==0.2.13.0, - any.typst ==0.9.0.1, + any.typst ==0.10, typst -executable, - any.typst-symbols ==0.1.9.1, - any.unicode-collation ==0.1.3.6, - unicode-collation -doctests -executable, + any.typst-symbols ==0.2, + any.unicode-collation ==0.1.3.7, + unicode-collation -doctests -executable -icu-benchmark, any.unicode-data ==0.8.0, unicode-data -dev-has-icu, any.unicode-transforms ==0.4.0.1, @@ -477,15 +474,15 @@ constraints: any.Cabal ==3.12.1.0 || ==3.14.2.0, any.uniplate ==1.6.13, any.unix ==2.8.6.0, any.unix-compat ==0.7.4.1, - any.unix-time ==0.4.17, + any.unix-time ==0.5.0, any.unlifted ==0.2.3.0, any.unliftio ==0.2.25.1, any.unliftio-core ==0.2.1.0, any.unordered-containers ==0.2.21, unordered-containers -debug, any.utf8-string ==1.0.2, - any.uuid ==1.3.16, - any.uuid-types ==1.0.6, + any.uuid ==1.3.16.1, + any.uuid-types ==1.0.6.1, any.validation ==1.1.5, any.vault ==0.3.1.6, vault +useghc, @@ -508,11 +505,9 @@ constraints: any.Cabal ==3.12.1.0 || ==3.14.2.0, any.wai-logger ==2.5.0, any.wai-middleware-throttle ==0.3.0.1, any.wai-middleware-validation ==0.1.0.2, - any.warp ==3.4.12, + any.warp ==3.4.13.1, warp +allow-sendfilefd +include-warp-version -network-bytestring -warp-debug +x509, - any.warp-tls ==3.4.13, - any.websockets ==0.13.0.0, - websockets -example, + any.warp-tls ==3.4.14, any.wherefrom-compat ==0.2.0.0, any.wide-word ==0.1.9.0, any.witherable ==0.5, @@ -530,4 +525,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-04-05T10:57:32Z +index-state: hackage.haskell.org 2026-07-02T11:30:46Z From 808fa5944766b1333f7b25fdce0b4a39b4212079 Mon Sep 17 00:00:00 2001 From: KadenaFriend <241389759+kdafriend@users.noreply.github.com> Date: Wed, 8 Jul 2026 16:48:28 +0000 Subject: [PATCH 4/4] Add NIx sha256 --- cabal.project | 1 + 1 file changed, 1 insertion(+) diff --git a/cabal.project b/cabal.project index 64d6d1a388..88f6c3d66f 100644 --- a/cabal.project +++ b/cabal.project @@ -129,6 +129,7 @@ source-repository-package type: git location: https://github.com/kda-community/wai-middleware-validation.git tag: 65ea176c9ba5717dd8c208219e40095a3bf27466 + --sha256: 04dqqkgqj4ydxn6xwxf852r1snzdwrz19iz5by6vpkyr2v691qvs -- Required for backward compatibility: