File tree 2 files changed +0
-13
lines changed
hydra-node/test/Hydra/API
2 files changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -34,13 +34,6 @@ spec = parallel $ do
34
34
Success {} -> property True
35
35
Error e -> counterexample (toString $ toText e) $ property False
36
36
37
- prop " accepts raw CBOR-base16-encoded transactions" $ do
38
- forAll (arbitrary @ Tx ) $ \ tx ->
39
- let cborHex = decodeUtf8 $ Base16. encode $ serialize' $ toLedgerTx tx
40
- in case fromJSON @ Tx (String cborHex) of
41
- Success {} -> True
42
- Error e -> error (toText e)
43
-
44
37
settings :: Settings
45
38
settings =
46
39
defaultSettings
Original file line number Diff line number Diff line change @@ -56,12 +56,6 @@ spec = do
56
56
57
57
apiServerSpec
58
58
describe " SubmitTxRequest accepted tx formats" $ do
59
- prop " accepts Base16 cbor encoded bytestring" $
60
- forAll (arbitrary @ Tx ) $ \ tx ->
61
- let json = String $ decodeUtf8 $ Base16. encode $ serialize' (toLedgerTx tx)
62
- in case fromJSON @ (SubmitTxRequest Tx ) json of
63
- Success {} -> property True
64
- Error e -> counterexample (toString $ toText e) $ property False
65
59
prop " accepts json encoded transaction" $
66
60
forAll (arbitrary @ Tx ) $ \ tx ->
67
61
let json = toJSON tx
You can’t perform that action at this time.
0 commit comments