File tree Expand file tree Collapse file tree 3 files changed +5
-8
lines changed
test/cardano-testnet-test/Cardano/Testnet/Test/Rpc Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -10,9 +10,9 @@ import Cardano.Api (AnyShelleyBasedEra (..))
1010import Cardano.Api (AnyShelleyBasedEra (.. ))
1111import Cardano.CLI.EraBased.Common.Option (bounded , command' )
1212import Cardano.Api (AnyShelleyBasedEra (.. ), EraInEon (.. ), prettyShow )
13+ import Cardano.Api.Era (AnyShelleyBasedEra (.. ))
14+ import Cardano.Api.Pretty
1315
14- import Cardano.CLI.Environment
15- import Cardano.CLI.EraBased.Common.Option (bounded , command' )
1616import Cardano.CLI.EraBased.Common.Option hiding (pNetworkId )
1717
1818import Prelude
@@ -84,10 +84,6 @@ pCardanoTestnetCliOptions = CardanoTestnetOptions
8484 <> OA. help " [EXPERIMENTAL] Enable gRPC endpoint on all of testnet nodes. The listening socket file will be the same directory as node's N2C socket."
8585 <> OA. showDefault
8686 )
87- where
88- pAnyShelleyBasedEra' :: Parser AnyShelleyBasedEra
89- pAnyShelleyBasedEra' =
90- pAnyShelleyBasedEra envCli <&> (\ (EraInEon x) -> AnyShelleyBasedEra x)
9187
9288pTestnetNodeOptions :: Parser [NodeOption ]
9389pTestnetNodeOptions =
Original file line number Diff line number Diff line change @@ -129,6 +129,7 @@ hprop_rpc_query_pparams = integrationRetryWorkspace 2 "rpc-query-pparams" $ \tem
129129 M. lookup L. PlutusV1 pparamsCostModels === chainParams ^. # costModels . # plutusV1 . # values . to Just
130130 M. lookup L. PlutusV2 pparamsCostModels === chainParams ^. # costModels . # plutusV2 . # values . to Just
131131 M. lookup L. PlutusV3 pparamsCostModels === chainParams ^. # costModels . # plutusV3 . # values . to Just
132+ M. lookup L. PlutusV4 pparamsCostModels === chainParams ^. # costModels . # plutusV4 . # values . to Just
132133 pparams ^. L. ppPricesL . to L. prSteps . to L. unboundRational === chainParams ^. # prices . # steps . to inject
133134 pparams ^. L. ppPricesL . to L. prMem . to L. unboundRational === chainParams ^. # prices . # memory . to inject
134135 pparams ^. L. ppMaxTxExUnitsL === chainParams ^. # maxExecutionUnitsPerTransaction . to inject
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