From 6b3ba4c421c9fcf279e796689ec936eb22ba51a6 Mon Sep 17 00:00:00 2001 From: chessai Date: Thu, 12 Dec 2024 21:26:57 -0600 Subject: [PATCH] set testnet spv proof expiration window to 23_040 Change-Id: I65b8c82d9c26b327a9052b5091a9a8930abd2538 --- src/Chainweb/Version/Testnet.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Chainweb/Version/Testnet.hs b/src/Chainweb/Version/Testnet.hs index c299a1d81..5297b2e29 100644 --- a/src/Chainweb/Version/Testnet.hs +++ b/src/Chainweb/Version/Testnet.hs @@ -143,8 +143,8 @@ testnet = ChainwebVersion (succ $ testnet ^?! versionForks . at Chainweb216Pact . _Just . onChain (unsafeChainId 0) . _ForkAtBlockHeight, Just 180_000) `Above` Bottom (minBound, Nothing) , _versionSpvProofExpirationWindow = - -- FIXME: pin down what this should be - --(succ $ testnet ^?! versionForks . at Chainweb227Pact . _Just . onChain (unsafeChainId 0) . _ForkAtBlockHeight, Nothing) `Above` + -- 23_040 is 4x current max TTL + (succ $ testnet ^?! versionForks . at Chainweb227Pact . _Just . onChain (unsafeChainId 0) . _ForkAtBlockHeight, 23_040) `Above` Bottom (minBound, Nothing) , _versionBootstraps = domainAddr2PeerInfo testnetBootstrapHosts , _versionGenesis = VersionGenesis