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 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