Skip to content

Commit 62433f4

Browse files
committed
Fix
1 parent 7758b4a commit 62433f4

File tree

5 files changed

+22
-23
lines changed

5 files changed

+22
-23
lines changed

hydra-node/src/Hydra/Ledger/Simple.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ instance IsTx SimpleTx where
8686
type TxOutType SimpleTx = SimpleTxOut
8787
type UTxOType SimpleTx = Set SimpleTxOut
8888
type ValueType SimpleTx = Int
89-
type UTxOPairType SimpleTx = (SimpleTxOut, SimpleTxOut)
9089

9190
txId (SimpleTx tid _ _) = tid
9291
balance = Set.size

hydra-node/test/Hydra/Model/Payment.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ instance IsTx Payment where
7878
type TxOutType Payment = (CardanoSigningKey, Value)
7979
type UTxOType Payment = [(CardanoSigningKey, Value)]
8080
type ValueType Payment = Value
81-
type UTxOPairType Payment = (CardanoSigningKey, Value)
8281

8382
txId = error "undefined"
8483
balance = foldMap snd

hydra-tx/src/Hydra/Tx/IsTx.hs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,6 @@ class
7676
-- | Type representing a value on the ledger.
7777
type ValueType tx
7878

79-
-- | Type for (input, output) pairs used in accumulator operations.
80-
type UTxOPairType tx = pair | pair -> tx
81-
8279
-- XXX(SN): this name easily conflicts
8380
txId :: tx -> TxIdType tx
8481

@@ -163,7 +160,6 @@ instance IsTx Tx where
163160
type TxOutType Tx = TxOut CtxUTxO
164161
type UTxOType Tx = UTxO
165162
type ValueType Tx = Value
166-
type UTxOPairType Tx = (TxIn, TxOut CtxUTxO)
167163

168164
txId = getTxId . getTxBody
169165
balance = UTxO.totalValue

hydra-tx/src/Hydra/Tx/Snapshot.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,13 @@ deriving stock instance IsTx tx => Eq (Snapshot tx)
6969
deriving stock instance IsTx tx => Show (Snapshot tx)
7070

7171
-- | Binary representation of snapshot signatures. That is, concatenated CBOR for
72-
-- 'headId', 'version', 'number', 'utxoToCommitHash', 'utxoToDecommitHash',
72+
-- 'headId', 'version', 'number', 'utxoHash', 'utxoToCommitHash', 'utxoToDecommitHash',
7373
-- and 'accumulator' according to CDDL schemata:
7474
--
7575
-- headId = bytes .size 16
7676
-- version = uint
7777
-- number = uint
78+
-- utxoHash = bytes
7879
-- utxoToCommitHash = bytes
7980
-- utxoToDecommitHash = bytes
8081
-- accumulator = bytes ; serialized HydraAccumulator

sample-node-config/aws/docker/docker-compose.yaml

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ services:
2727
]
2828

2929
hydra-node:
30-
image: ghcr.io/cardano-scaling/hydra-node:1.1.0
30+
image: ghcr.io/cardano-scaling/hydra-node:0.22.4
3131
restart: always
3232
container_name: hydra-node
3333
logging:
@@ -51,8 +51,8 @@ services:
5151
command:
5252
[ "--node-id", "${KEY_NAME}"
5353
, "--api-host", "0.0.0.0"
54-
, "--listen", "0.0.0.0:5001"
55-
, "--advertise", "63.177.91.204:5001"
54+
, "--listen", "0.0.0.0:6000"
55+
# , "--advertise", ""
5656
, "--monitoring-port", "6000"
5757
, "--hydra-scripts-tx-id", "${HYDRA_SCRIPTS_TX_ID}"
5858
, "--hydra-signing-key", "/credentials/hydra-key.sk"
@@ -63,6 +63,18 @@ services:
6363
, "--node-socket", "/network/node.socket"
6464
, "--persistence-dir", "/data"
6565
# hardcoded peers
66+
## Arnaud
67+
# , "--peer", "35.233.17.169:5001"
68+
# , "--hydra-verification-key", "/members/arnaud.hydra.vk"
69+
# , "--cardano-verification-key", "/members/arnaud.cardano.vk"
70+
# Sebastian
71+
, "--peer", "fk.ncoding.at:5101"
72+
, "--hydra-verification-key", "/members/sebastian.hydra.vk"
73+
, "--cardano-verification-key", "/members/sebastian.cardano.vk"
74+
## Pascal
75+
# , "--peer", "13.37.15.211:5001"
76+
# , "--hydra-verification-key", "/members/pascal.hydra.vk"
77+
# , "--cardano-verification-key", "/members/pascal.cardano.vk"
6678
# Sasha
6779
, "--peer", "13.37.150.125:5001"
6880
, "--hydra-verification-key", "/members/sasha.hydra.vk"
@@ -71,18 +83,10 @@ services:
7183
, "--peer", "hydra.horizon-haskell.net:5005"
7284
, "--hydra-verification-key", "/members/dan.hydra.vk"
7385
, "--cardano-verification-key", "/members/dan.cardano.vk"
74-
# Franco
75-
, "--peer", "13.39.44.251:5001"
76-
, "--hydra-verification-key", "/members/franco.hydra.vk"
77-
, "--cardano-verification-key", "/members/franco.cardano.vk"
78-
# Noon
79-
, "--peer", "35.214.9.104:5005"
80-
, "--hydra-verification-key", "/members/noon.hydra.vk"
81-
, "--cardano-verification-key", "/members/noon.cardano.vk"
82-
# Sharan
83-
, "--peer", "35.181.137.127:5001"
84-
, "--hydra-verification-key", "/members/sharan.hydra.vk"
85-
, "--cardano-verification-key", "/members/sharan.cardano.vk"
86+
# Veronika
87+
, "--peer", "63.177.91.204:5001"
88+
, "--hydra-verification-key", "/members/veronika.hydra.vk"
89+
, "--cardano-verification-key", "/members/veronika.cardano.vk"
8690
]
8791

8892
hydra-tui:
@@ -95,7 +99,7 @@ services:
9599
"--connect", "hydra-node:4001"
96100
, "--node-socket", "/network/node.socket"
97101
, "--testnet-magic", "${NETWORK_MAGIC}"
98-
, "--cardano-signing-key", "/credentials/cardano-key.sk"
102+
, "--cardano-signing-key", "/credentials/external.sk"
99103
]
100104
volumes:
101105
- ~/credentials:/credentials:ro

0 commit comments

Comments
 (0)