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
5 changes: 2 additions & 3 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions haskell-src/lib/ChainwebData/Env.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions haskell-src/lib/ChainwebData/Types.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading