File tree Expand file tree Collapse file tree 2 files changed +21
-2
lines changed
hydra-tx/testlib/Test/Hydra/Tx Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ channels:
118
118
- $ref : " api.yaml#/components/messages/Contest"
119
119
- $ref : " api.yaml#/components/messages/Fanout"
120
120
- $ref : " api.yaml#/components/messages/SideLoadSnapshot"
121
-
121
+
122
122
/head :
123
123
servers :
124
124
- localhost-http
@@ -2605,6 +2605,25 @@ components:
2605
2605
tag :
2606
2606
type : string
2607
2607
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
2608
2627
2609
2628
Signature :
2610
2629
type : string
Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ genKeyPair = do
187
187
pure (getVerificationKey sk, sk)
188
188
189
189
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)
191
191
192
192
genVerificationKey :: Gen (VerificationKey PaymentKey )
193
193
genVerificationKey = getVerificationKey <$> genSigningKey
You can’t perform that action at this time.
0 commit comments