File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change
1
+ module Main where
2
+
3
+ import Hydra.Cardano.Api
4
+ import Hydra.Prelude
5
+
6
+ import Hydra.Logging.Messages (HydraLog )
7
+ import Hydra.Utils (readJsonFileThrow )
8
+
9
+ main :: IO ()
10
+ main = do
11
+ results <- readJsonFileThrow parseJSON " devnet/alice-logs.txt" :: IO (Either String (HydraLog Tx ))
12
+ pure ()
Original file line number Diff line number Diff line change @@ -247,6 +247,19 @@ executable hydra-node
247
247
248
248
ghc-options : -threaded -rtsopts -with-rtsopts=-N4
249
249
250
+ executable visualize-logs
251
+ import : project-config
252
+ hs-source-dirs : exe/visualize-logs
253
+ main-is : Main.hs
254
+ build-depends :
255
+ , base
256
+ , bytestring
257
+ , hydra-cardano-api
258
+ , hydra-node
259
+ , hydra-prelude
260
+ , unix
261
+
262
+ ghc-options : -threaded -rtsopts -with-rtsopts=-N4
250
263
benchmark tx-cost
251
264
import : project-config
252
265
hs-source-dirs : bench/tx-cost
You can’t perform that action at this time.
0 commit comments