Skip to content

Commit

Permalink
Remove unused Hash module (#1701)
Browse files Browse the repository at this point in the history
We are migrating to aiken and so I don't think it makes sense to keep
this around.
  • Loading branch information
noonio authored Oct 22, 2024
2 parents b718600 + be61167 commit f0d2fa0
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 74 deletions.
4 changes: 0 additions & 4 deletions hydra-plutus/exe/inspect-script/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import Data.ByteString.Lazy qualified as BL
import Data.Text (pack)
import Hydra.Cardano.Api.Prelude (unsafeHashFromBytes)
import Hydra.Contract (scriptInfo)
import Hydra.Contract.Hash qualified as Hash
import Hydra.Contract.Head as Head
import Hydra.Contract.HeadState as Head
import Hydra.Contract.HeadTokens qualified as HeadTokens
Expand Down Expand Up @@ -84,15 +83,12 @@ main = do
scripts =
[ (headScript, "headScript")
, (initialScript, "initialScript")
, (hashPlutusScript, "hashScript")
]

headScript = Head.validatorScript

initialScript = Initial.validatorScript

hashPlutusScript = Hash.validatorScript

compiledScripts =
[ (Compiled Head.compiledValidator, "headScript")
, (Compiled Initial.compiledValidator, "initialScript")
Expand Down
1 change: 0 additions & 1 deletion hydra-plutus/hydra-plutus.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ library
Hydra.Contract.Deposit
Hydra.Contract.DepositError
Hydra.Contract.Error
Hydra.Contract.Hash
Hydra.Contract.Head
Hydra.Contract.HeadError
Hydra.Contract.HeadState
Expand Down
69 changes: 0 additions & 69 deletions hydra-plutus/src/Hydra/Contract/Hash.hs

This file was deleted.

0 comments on commit f0d2fa0

Please sign in to comment.