From 98b62e09d8e9bbc862f014cdea42cfb699231f5d Mon Sep 17 00:00:00 2001 From: KadenaFriend <241389759+kdafriend@users.noreply.github.com> Date: Fri, 13 Feb 2026 00:12:03 +0000 Subject: [PATCH 1/2] Add testnet06 --- haskell-src/lib/ChainwebData/Env.hs | 1 + haskell-src/lib/ChainwebData/Types.hs | 1 + 2 files changed, 2 insertions(+) diff --git a/haskell-src/lib/ChainwebData/Env.hs b/haskell-src/lib/ChainwebData/Env.hs index 34fc1df..a1029ca 100644 --- a/haskell-src/lib/ChainwebData/Env.hs +++ b/haskell-src/lib/ChainwebData/Env.hs @@ -307,6 +307,7 @@ versionReader = eitherReader $ \case txt | map toLower txt == "mainnet01" || map toLower txt == "mainnet" -> Right "mainnet01" txt | map toLower txt == "testnet04" || map toLower txt == "testnet" -> Right "testnet04" txt | map toLower txt == "testnet05" -> Right "testnet05" + txt | map toLower txt == "testnet06" -> Right "testnet06" txt -> Left $ printf "Can't read chainwebversion: got %" txt simpleVersionParser :: Parser ChainwebVersion diff --git a/haskell-src/lib/ChainwebData/Types.hs b/haskell-src/lib/ChainwebData/Types.hs index afe5085..c10d34e 100644 --- a/haskell-src/lib/ChainwebData/Types.hs +++ b/haskell-src/lib/ChainwebData/Types.hs @@ -122,6 +122,7 @@ withEventsMinHeight version errorMessage action = withVersion version onVersion onVersion = \case "mainnet01" -> Just 1_722_500 "testnet04" -> Just 1_261_000 + "testnet06" -> Just 80 "recap-development" -> Just 14 "development" -> Just 0 "testnet05" -> Just 0 From d3efe5620444928ae06ac5230f43187553faffcd Mon Sep 17 00:00:00 2001 From: KadenaFriend <241389759+kdafriend@users.noreply.github.com> Date: Fri, 13 Feb 2026 11:14:33 +0000 Subject: [PATCH 2/2] Use testnet06 aware chainweb-api --- cabal.project | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cabal.project b/cabal.project index 6f2a073..d154118 100644 --- a/cabal.project +++ b/cabal.project @@ -2,9 +2,8 @@ packages: haskell-src/chainweb-data.cabal source-repository-package type: git - location: https://github.com/kadena-io/chainweb-api.git - tag: 1b2de025cfdc09698bfb1ec3807cd85405d6a339 - --sha256: sha256-06jvD1kmkmthcRkyWhVLTbytwabghInxqXQD/Lm7kbA= + location: https://github.com/kda-community/chainweb-api.git + tag: fa7af644b6059a474e9f4ead181842af571c3b65 package vault documentation: false