Skip to content

Commit 61b0ecb

Browse files
authored
Merge branch 'master' into lc/benchmarks
2 parents 9862fce + dd9e4af commit 61b0ecb

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

docs/docs/known-issues.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Note that, as with any adjustments of this kind, it is good practice to make a b
5757

5858
### Training wheels
5959

60-
There is a hard-coded limit on the **mainnet** where only up to 100 ada can be committed into the Hydra head. This is a safety precaution and will be increased as more experience is gained in running Hydra heads on the mainnet.
60+
There is a hard-coded limit in hydra-node when used on **mainnet**: only up to 100 ada can be committed into the Hydra head. This is a safety precaution and will be increased as more experience is gained in running Hydra heads on the mainnet.
6161

6262
### Deposit periods
6363

hydra-cluster/src/Hydra/Cluster/Scenarios.hs

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import Cardano.Ledger.Credential (Credential (ScriptHashObj))
1919
import Cardano.Ledger.Plutus.Language (Language (PlutusV3))
2020
import CardanoClient (
2121
QueryPoint (QueryTip),
22+
SubmitTransactionException,
2223
waitForUTxO,
2324
)
2425
import CardanoNode (NodeLog)
@@ -2018,8 +2019,14 @@ threeNodesWithMirrorParty tracer workDir backend hydraScriptsTxId = do
20182019
-- XXX: one will fail but the head will still open
20192020
aliceUTxO <- seedFromFaucet backend aliceCardanoVk 1_000_000 (contramap FromFaucet tracer)
20202021
raceLabelled_
2021-
("request-commit-tx-n1", requestCommitTx n1 aliceUTxO >>= Backend.submitTransaction backend)
2022-
("request-commit-tx-n3", requestCommitTx n3 aliceUTxO >>= Backend.submitTransaction backend)
2022+
( "request-commit-tx-n1"
2023+
, (requestCommitTx n1 aliceUTxO >>= Backend.submitTransaction backend)
2024+
`catch` \(_ :: SubmitTransactionException) -> pure ()
2025+
)
2026+
( "request-commit-tx-n3"
2027+
, (requestCommitTx n3 aliceUTxO >>= Backend.submitTransaction backend)
2028+
`catch` \(_ :: SubmitTransactionException) -> pure ()
2029+
)
20232030

20242031
-- N2 commits something
20252032
bobUTxO <- seedFromFaucet backend bobCardanoVk 1_000_000 (contramap FromFaucet tracer)

0 commit comments

Comments
 (0)