Skip to content

Commit

Permalink
Remove external key pair
Browse files Browse the repository at this point in the history
  • Loading branch information
v0d1ch authored and ffakenz committed Jun 5, 2023
1 parent b5fefcc commit e3613e0
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 15 deletions.
5 changes: 0 additions & 5 deletions hydra-cluster/config/credentials/external.sk

This file was deleted.

5 changes: 0 additions & 5 deletions hydra-cluster/config/credentials/external.vk

This file was deleted.

2 changes: 0 additions & 2 deletions hydra-cluster/hydra-cluster.cabal
Expand Up @@ -34,8 +34,6 @@ data-files:
config/credentials/bob.vk
config/credentials/carol.sk
config/credentials/carol.vk
config/credentials/external.sk
config/credentials/external.vk
config/credentials/faucet.sk
config/credentials/faucet.vk
config/devnet/byron-delegate.key
Expand Down
2 changes: 0 additions & 2 deletions hydra-cluster/src/Hydra/Cluster/Fixture.hs
Expand Up @@ -48,7 +48,6 @@ data Actor
| Bob
| Carol
| Faucet
| External
deriving (Eq, Show)

actorName :: Actor -> String
Expand All @@ -57,7 +56,6 @@ actorName = \case
Bob -> "bob"
Carol -> "carol"
Faucet -> "faucet"
External -> "external"

-- | A network known to the hydra-cluster. That means we have configuration
-- files to connect to at least these networks.
Expand Down
3 changes: 2 additions & 1 deletion hydra-cluster/src/Hydra/Cluster/Scenarios.hs
Expand Up @@ -34,6 +34,7 @@ import Hydra.Party (Party)
import HydraNode (EndToEndLog (..), input, output, send, waitFor, waitForAllMatch, waitMatch, withHydraNode)
import Network.HTTP.Req
import Test.Hspec.Expectations (shouldBe)
import Test.QuickCheck (generate)

restartedNodeCanObserveCommitTx :: Tracer IO EndToEndLog -> FilePath -> RunningNode -> TxId -> IO ()
restartedNodeCanObserveCommitTx tracer workDir cardanoNode hydraScriptsTxId = do
Expand Down Expand Up @@ -154,7 +155,7 @@ singlePartyCommitsFromExternal tracer workDir node@RunningNode{networkId} hydraS
refuelIfNeeded tracer node Alice 25_000_000

-- these keys should mimic external wallet keys needed to sign the commit tx
(externalVk, externalSk) <- keysFor External
(externalVk, externalSk) <- generate genKeyPair
-- Start hydra-node on chain tip
tip <- queryTip networkId nodeSocket
let contestationPeriod = UnsafeContestationPeriod 100
Expand Down

0 comments on commit e3613e0

Please sign in to comment.