Skip to content

Commit

Permalink
Update index state
Browse files Browse the repository at this point in the history
  • Loading branch information
newhoggy committed May 29, 2024
1 parent aae82df commit d2ca428
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
8 changes: 6 additions & 2 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ repository cardano-haskell-packages
-- See CONTRIBUTING for information about these, including some Nix commands
-- you need to run if you change them
index-state:
, hackage.haskell.org 2024-03-26T06:28:59Z
, cardano-haskell-packages 2024-05-14T16:00:00Z
, hackage.haskell.org 2024-05-25T09:09:57Z
, cardano-haskell-packages 2024-05-15T19:28:23Z

packages:
cardano-node
Expand Down Expand Up @@ -54,6 +54,10 @@ package bitvec
package plutus-scripts-bench
haddock-options: "--optghc=-fplugin-opt PlutusTx.Plugin:defer-errors"

constraints:
io-classes-mtl < 0.1.2.0,
wai-extra < 3.1.15,

-- IMPORTANT
-- Do NOT add more source-repository-package stanzas here unless they are strictly
-- temporary! Please read the section in CONTRIBUTING about updating dependencies.
Expand Down
4 changes: 3 additions & 1 deletion cardano-testnet/src/Testnet/Runtime.hs
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,9 @@ getAllTransitions trans =
tupleSingleTransition = toTuple singleTransition
in case singleTransition of
[a] -> [(a,"")]
_ -> tupleSingleTransition ++ getAllTransitions (snd (head tupleSingleTransition) : rest)
_ -> tupleSingleTransition ++ case tupleSingleTransition of
b:_ -> getAllTransitions (snd b : rest)
[] -> []
where
toTuple [a,b] = [(a,b)]
toTuple [] = []
Expand Down
12 changes: 6 additions & 6 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d2ca428

Please sign in to comment.