Skip to content

Commit 6b3ba4c

Browse files
committed
set testnet spv proof expiration window to 23_040
Change-Id: I65b8c82d9c26b327a9052b5091a9a8930abd2538
1 parent 6746f22 commit 6b3ba4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Chainweb/Version/Testnet.hs

+2-2
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@ testnet = ChainwebVersion
143143
(succ $ testnet ^?! versionForks . at Chainweb216Pact . _Just . onChain (unsafeChainId 0) . _ForkAtBlockHeight, Just 180_000) `Above`
144144
Bottom (minBound, Nothing)
145145
, _versionSpvProofExpirationWindow =
146-
-- FIXME: pin down what this should be
147-
--(succ $ testnet ^?! versionForks . at Chainweb227Pact . _Just . onChain (unsafeChainId 0) . _ForkAtBlockHeight, Nothing) `Above`
146+
-- 23_040 is 4x current max TTL
147+
(succ $ testnet ^?! versionForks . at Chainweb227Pact . _Just . onChain (unsafeChainId 0) . _ForkAtBlockHeight, 23_040) `Above`
148148
Bottom (minBound, Nothing)
149149
, _versionBootstraps = domainAddr2PeerInfo testnetBootstrapHosts
150150
, _versionGenesis = VersionGenesis

0 commit comments

Comments
 (0)