Skip to content

Commit a6704f8

Browse files
committed
Fix failing tests
Signed-off-by: Sasha Bogicevic <[email protected]>
1 parent 100f85f commit a6704f8

File tree

2 files changed

+21
-2
lines changed

2 files changed

+21
-2
lines changed

hydra-node/json-schemas/api.yaml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ channels:
118118
- $ref: "api.yaml#/components/messages/Contest"
119119
- $ref: "api.yaml#/components/messages/Fanout"
120120
- $ref: "api.yaml#/components/messages/SideLoadSnapshot"
121-
121+
122122
/head:
123123
servers:
124124
- localhost-http
@@ -2605,6 +2605,25 @@ components:
26052605
tag:
26062606
type: string
26072607
enum: ["FailedToConstructFanoutTx"]
2608+
- title: DepositTooLow
2609+
description: |
2610+
Raised if the user requests a deposit using too small UTxO.
2611+
type: object
2612+
additionalProperties: false
2613+
required:
2614+
- tag
2615+
- minimumValue
2616+
- providedValue
2617+
properties:
2618+
tag:
2619+
type: string
2620+
enum: ["DepositTooLow"]
2621+
minimumValue:
2622+
type: integer
2623+
minimum: 0
2624+
providedValue:
2625+
type: integer
2626+
minimum: 0
26082627

26092628
Signature:
26102629
type: string

hydra-tx/testlib/Test/Hydra/Tx/Gen.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ genKeyPair = do
187187
pure (getVerificationKey sk, sk)
188188

189189
genValue :: Gen Value
190-
genValue = fmap ((lovelaceToValue $ Coin 10_000_000) <>) (scale (`div` 10) $ fromLedgerValue <$> arbitrary)
190+
genValue = fmap ((lovelaceToValue $ Coin 20_000_000) <>) (scale (`div` 10) $ fromLedgerValue <$> arbitrary)
191191

192192
genVerificationKey :: Gen (VerificationKey PaymentKey)
193193
genVerificationKey = getVerificationKey <$> genSigningKey

0 commit comments

Comments
 (0)