Skip to content
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
6 changes: 2 additions & 4 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ source-repository-package
source-repository-package
type: git
location: https://github.com/kda-community/wai-middleware-validation.git
tag: e0437bf82e9b4d3fec5ad42ef6e860f4bd04e1b4
--sha256: 1az7jcggcj275djnfsvhdg3n7hjrj6vp8rj137fxrg4hazh0hyzv
tag: 65ea176c9ba5717dd8c208219e40095a3bf27466
Comment thread
CryptoPascal31 marked this conversation as resolved.
--sha256: 04dqqkgqj4ydxn6xwxf852r1snzdwrz19iz5by6vpkyr2v691qvs

-- Required for backward compatibility:

Expand Down Expand Up @@ -194,8 +194,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:*
Expand Down
113 changes: 54 additions & 59 deletions cabal.project.freeze
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand Down Expand Up @@ -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,
Expand All @@ -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,
Expand Down Expand Up @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand Down Expand Up @@ -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,
Expand All @@ -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,
Expand Down Expand Up @@ -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,
Expand All @@ -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,
Expand All @@ -465,27 +462,27 @@ 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,
unicode-transforms -bench-show -dev -has-icu -has-llvm -use-gauge,
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,
Expand All @@ -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,
Expand All @@ -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
3 changes: 3 additions & 0 deletions src/Chainweb/ChainId.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading