Skip to content

Commit ba43ac4

Browse files
ServerOutput: remove redundant imports
1 parent bbbe559 commit ba43ac4

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

hydra-node/src/Hydra/API/ServerOutput.hs

-2
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,10 @@
33

44
module Hydra.API.ServerOutput where
55

6-
import Cardano.Binary (serialize')
76
import Control.Lens ((.~))
87
import Data.Aeson (Value (..), defaultOptions, encode, genericParseJSON, genericToJSON, omitNothingFields, withObject, (.:))
98
import Data.Aeson.KeyMap qualified as KeyMap
109
import Data.Aeson.Lens (atKey, key)
11-
import Data.ByteString.Base16 qualified as Base16
1210
import Data.ByteString.Lazy qualified as LBS
1311
import Hydra.API.ClientInput (ClientInput (..))
1412
import Hydra.Chain (ChainStateType, IsChainState, PostChainTx (..), PostTxError)

hydra-node/test/Hydra/Ledger/CardanoSpec.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ spec =
6262
prop "Same PParams before/after JSON encoding" (expectFailure roundtripPParams)
6363

6464
describe "Tx" $ do
65-
roundtripAndGoldenSpecs (Proxy @Tx)
65+
roundtripAndGoldenSpecs (Proxy @(ReasonablySized Tx))
6666

6767
prop "Same TxId before/after JSON encoding" roundtripTxId
6868

0 commit comments

Comments
 (0)