ogmios icon indicating copy to clipboard operation
ogmios copied to clipboard

Better errors?

Open waalge opened this issue 11 months ago • 1 comments

I get this error

'{ Complete: Error: Could not evaluate the transaction: {"type":"jsonwsp/fault","version":"1.0","servicename":"ogmios","fault":{"code":"client","string":"Invalid request: failed to decode payload from base64 or base16."},"reflection":{"id":"858a0360-04db-4605-8d9f-9e2b7bf9a86e"}}. Transaction: 84a600d90102828258200e3db76ffe07517ff9cf298ea11d7337edd47c24113238e93bb467785acf014000825820f0ec9323c71ca19569ef5f24a1a6a3940b5cd1f6445acb5d2c850dcdf8e96ae300018282581d6005d951f8a722e214bd5baa45a087566a854192564cbc500759ed4eee821a000f961ea1581cf35cdc97e2ec784d1d1b5da7e80e80896375676192543bcd9bd629e8a14561646d696e0182581d6005d951f8a722e214bd5baa45a087566a854192564cbc500759ed4eee1a1dc9508b021a00063e0c04d901028183028201581cf35cdc97e2ec784d1d1b5da7e80e80896375676192543bcd9bd629e8581c24d3394028c590692542c932784632147319b6c50e1c17805de044c60b5820000000000000000000000000000000000000000000000000000000000000000012d90102818258204d5b36a414292b7fe729d76dea44bd9d0eb49e222be2d8ec9eea363fb33d530500a200d90102818258200000000005d951f8a722e214bd5baa45a087566a854192564cbc500759ed4eee584000f899d39b17fd5d66c192c4b50d343e42f7235b30504c8ae7619f93c828dc6dce4568dd69177c551828492d777a6727fd66c2fbccbda8c2aeed92032c99790a0581840200d87e80820000f5f6 }'

But i cant see where its coming from.

Cbor seems legit, nothing obviously wrong to my eyes. cardano-cli debug transaction view doesn't mind.

Doing a naive grep of he error message on the code base returns nothing. Where should I be looking?

Context

The tx is built with lucid evo. It is attempting to delegate stake associated to a script credential to a pool. The script checks that one of its own tokens is spent. Using aiken for tx-eval/ fee calc results in an equally peculiar error in which the delegator value looks like a ScriptCredential, not wrapped in the requied Inline to be a StakeCredential. Simplifying the script, resolves the issue with ogmios, but not aiken, so I guess these are separate problems.

waalge avatar Feb 06 '25 21:02 waalge

Seems like an RPC error from a malformed query. Nothing to do with the transaction so-to-speak. Can you show the request?

KtorZ avatar Feb 06 '25 22:02 KtorZ