File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
test/cardano-testnet-test/Cardano/Testnet/Test/Rpc Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ module Parsers.Cardano
66 ) where
77
88import Cardano.Api (AnyShelleyBasedEra (AnyShelleyBasedEra ), EraInEon (.. ), prettyShow )
9+ import Cardano.Api.Era (ShelleyBasedEra (.. ))
910
1011import Cardano.CLI.Environment
1112import Cardano.CLI.EraBased.Common.Option hiding (pNetworkId )
@@ -83,7 +84,7 @@ pCardanoTestnetCliOptions envCli = CardanoTestnetOptions
8384 where
8485 pAnyShelleyBasedEra' :: Parser AnyShelleyBasedEra
8586 pAnyShelleyBasedEra' =
86- pAnyShelleyBasedEra envCli <&> ( \ ( EraInEon x) -> AnyShelleyBasedEra x)
87+ pure $ AnyShelleyBasedEra ShelleyBasedEraConway -- TODO remove this hardcode
8788
8889pTestnetNodeOptions :: Parser [NodeOption ]
8990pTestnetNodeOptions =
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ hprop_rpc_transaction = integrationRetryWorkspace 2 "rpc-tx" $ \tempAbsBasePath'
8282 Rpc. nonStreaming conn (Rpc. rpc @ (Rpc. Protobuf UtxoRpc. QueryService " readParams" )) req
8383
8484 utxos' <- do
85- let req = def & # addresses . # items .~ [T. encodeUtf8 addrTxt0]
85+ let req = def & # cardanoAddresses . # items .~ [T. encodeUtf8 addrTxt0]
8686 Rpc. nonStreaming conn (Rpc. rpc @ (Rpc. Protobuf UtxoRpc. QueryService " readUtxos" )) req
8787 pure (pparams', utxos')
8888
@@ -128,7 +128,7 @@ hprop_rpc_transaction = integrationRetryWorkspace 2 "rpc-tx" $ \tempAbsBasePath'
128128
129129 utxos <-
130130 Rpc. nonStreaming conn (Rpc. rpc @ (Rpc. Protobuf UtxoRpc. QueryService " readUtxos" )) $
131- def & # addresses . # items .~ [T. encodeUtf8 addrTxt1]
131+ def & # cardanoAddresses . # items .~ [T. encodeUtf8 addrTxt1]
132132 pure (utxos, submitResponse)
133133
134134 submittedTxIds <- forM (submitResponse ^. # results) $ \ res -> do
You can’t perform that action at this time.
0 commit comments