Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert use of
decodeErrorInfo
for WALLETS_SIGNATURES_03
.
This particular test happens to use `rawRequest` instead of `request`. Whereas the `request` function attempts to decode the response into a JSON `Value`, the `rawRequest` function does not perform any decoding. This causes the subsequent `decodeErrorInfo` to fail with: ``` uncaught exception: ErrorCall decodeErrorInfo: Expected a 'ClientError', but encountered something else: Left (RawClientError "{\"code\":\"no_such_wallet\",\"info\":{\"wallet_id\":\"acab1951ad1ef5808eb9756b02d1ff85caf0e702\"},\"message\":\"I couldn't find a wallet with the given id: acab1951ad1ef5808eb9756b02d1ff85caf0e702\"}") CallStack (from HasCallStack): error, called at framework/Test/Integration/Framework/DSL.hs:742:13 in cardano-wallet-integration-2024.5.5-KhWmuWPIqBp7pTemTBE3I2-framework:Test.Integration.Framework.DSL decodeErrorInfo, called at scenarios/Test/Integration/Scenario/API/Shelley/Wallets.hs:1495:9 in cardano-wallet-integration-2024.5.5-AcHGWrd1jBGKoKhY01VJRG-scenarios:Test.Integration.Scenario.API.Shelley.Wallets ```
- Loading branch information