Skip to content

Commit

Permalink
Remove unused helper functions in EndToEnd benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
locallycompact committed Dec 8, 2024
1 parent 250ac50 commit 9e552fd
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions hydra-cluster/bench/Bench/EndToEnd.hs
Original file line number Diff line number Diff line change
Expand Up @@ -368,24 +368,6 @@ progressReport nodeId clientId queueSize queue = do
threadDelay 5
progressReport nodeId clientId queueSize queue

--
-- Helpers
--

assignUTxO :: (UTxO, Int) -> Map.Map Int (HydraClient, UTxO) -> Map.Map Int (HydraClient, UTxO)
assignUTxO (utxo, clientId) = Map.adjust appendUTxO clientId
where
appendUTxO (client, utxo') = (client, utxo <> utxo')

noUTxOs :: UTxO
noUTxOs = mempty

double :: Real a => a -> Double
double = realToFrac

int :: Int -> Int
int = id

type TransactionId = Integer
type TransactionInput = Int
type TransactionOutput = Int
Expand Down

0 comments on commit 9e552fd

Please sign in to comment.