File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -265,6 +265,7 @@ handleDraftCommitUtxo env pparams directChain getCommitInfo body = do
265
265
CommittedTooMuchADAForMainnet _ _ -> badRequest e
266
266
UnsupportedLegacyOutput _ -> badRequest e
267
267
CannotFindOwnInitial _ -> badRequest e
268
+ DepositTooLow _ _ -> badRequest e
268
269
_ -> responseLBS status500 [] (Aeson. encode $ toJSON e)
269
270
Right commitTx ->
270
271
okJSON $ DraftCommitTxResponse commitTx
Original file line number Diff line number Diff line change @@ -444,6 +444,7 @@ apiServerSpec = do
444
444
pure $ Right tx
445
445
}
446
446
let initialHeadState = Initial (generateWith arbitrary 42 )
447
+ let openHeadState = Open (generateWith arbitrary 42 )
447
448
prop " responds on valid requests" $ \ (request :: DraftCommitTxRequest Tx ) ->
448
449
withApplication
449
450
( httpApp
@@ -492,7 +493,7 @@ apiServerSpec = do
492
493
(failingChainHandle postTxError)
493
494
testEnvironment
494
495
defaultPParams
495
- (pure initialHeadState )
496
+ (pure openHeadState )
496
497
getHeadId
497
498
getPendingDeposits
498
499
putClientInput
You can’t perform that action at this time.
0 commit comments