File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
cardano-testnet/src/Testnet Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -177,11 +177,6 @@ defaultConwayGenesis = do
177177 , cgInitialDReps = mempty
178178 }
179179
180- -- TODO REMOVE
181- nCounter :: IORef Int
182- nCounter = unsafePerformIO $ newIORef 0
183- {-# NOINLINE nCounter #-}
184-
185180-- | The only era supported by cardano-testnet for the moment.
186181-- It's important to keep the era parameterization everywhere, for ease of development
187182-- when new eras roll out.
@@ -309,13 +304,12 @@ defaultYamlHardforkViaConfig sbe =
309304 ]
310305
311306 traceOptions = do
312- let n = unsafePerformIO . atomicModifyIORef nCounter $ \ n' -> (n'+ 1 , n')
313307 Aeson. object
314308 [ " " .= Aeson. object
315309 [ " backends" .= Aeson. Array
316310 [ " EKGBackend"
317311 , " Forwarder"
318- , fromString $ " PrometheusSimple suffix 0.0.0.0 " <> show ( 12798 + n - 1 )
312+ , fromString $ " PrometheusSimple suffix 0.0.0.0 12798"
319313 , " Stdout HumanFormatColoured"
320314 ]
321315 ]
You can’t perform that action at this time.
0 commit comments