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 @@ -172,11 +172,6 @@ defaultConwayGenesis = do
172172 , cgInitialDReps = mempty
173173 }
174174
175- -- TODO REMOVE
176- nCounter :: IORef Int
177- nCounter = unsafePerformIO $ newIORef 0
178- {-# NOINLINE nCounter #-}
179-
180175-- | The only era supported by cardano-testnet for the moment.
181176-- It's important to keep the era parameterization everywhere, for ease of development
182177-- when new eras roll out.
@@ -304,13 +299,12 @@ defaultYamlHardforkViaConfig sbe =
304299 ]
305300
306301 traceOptions = do
307- let n = unsafePerformIO . atomicModifyIORef nCounter $ \ n' -> (n'+ 1 , n')
308302 Aeson. object
309303 [ " " .= Aeson. object
310304 [ " backends" .= Aeson. Array
311305 [ " EKGBackend"
312306 , " Forwarder"
313- , fromString $ " PrometheusSimple suffix 0.0.0.0 " <> show ( 12798 + n - 1 )
307+ , fromString $ " PrometheusSimple suffix 0.0.0.0 12798"
314308 , " Stdout HumanFormatColoured"
315309 ]
316310 ]
You can’t perform that action at this time.
0 commit comments