blinklabs-io / cardano-node-api

Multi-protocol API for interfacing with a local Cardano node
Apache License 2.0
5 stars 0 forks source link

[UTXORPC] readUtxo doesn't return utxos or get nil pointer dereference #210

Open verbotenj opened 2 months ago

verbotenj commented 2 months ago

cardano-node-api:0.2.0 cardano-node:8.9.4 https://github.com/utxorpc/go-sdk network: preprod

Test 1

readUtxos 36cc93b67e75d8626e622be1206a30f4bdd5b64683453d13abb44a3472419685 Server logs: http2: panic serving 172.17.0.1:58838: runtime error: invalid memory address or nil pointer dereference

Test 2

readUtox: 71a7498f086d378ec5e558581286629b678be1dd65d5d4e2a5d634ba6fdf8299

Client logs: Ledger Tip: Slot: 65326481 Hash: 8bf09a6cedc977d59302905b5c208754b23b7fa4fc0236939172cdcd0dffd189

Expected Utxos based on

txoRef := &query.TxoRef{
    Hash:  txHash,
    Index: 0,
}