Skip to content

Indexing of initialFunds #172

@ch1bo

Description

@ch1bo

What Git revision / release tag are you using?

2.8.0

Describe what the problem is?

Wanting to use kupo in a local devnet setup to index UTxOs on a fast-moving single-node network. This network is seeded using initialFunds of genesis-shelley.json and forks directly through all eras at epoch 0. For example with:

  "initialFunds": {
    "00813c32c92aad21770ff8001de0918f598df8c06775f77f8e8839d2a0074a515f7f32bf31a4f41c7417a8136e8152bfb42f06d71b389a6896": 900000000000,
    "609783be7d3c54f11377966dfabc9284cd6c32fca1cd42ef0a4f1cc45b": 900000000000
  },

Kupo does not contain any UTxOs:

curl "localhost:1442/matches"
[]

But the cardano-cli does show them:

cardano-cli query utxo --whole-utxo --testnet-magic 42 --socket-path tmp/node.socket --output-json
{                              
    "8c78893911a35d7c52104c98e8497a14d7295b4d9bf7811fc1d4e9f449884284#0": {
        "address": "addr_test1vztc80na8320zymhjekl40yjsnxkcvhu58x59mc2fuwvgkc332vxv",
        "datum": null,
        "datumhash": null,
        "inlineDatum": null,
        "referenceScript": null,
        "value": {
            "lovelace": 900000000000
        }
    },
    "a221c2db8e6f5972e75f9ac14bedf3be20b450cf8e58a58fd277844f36450112#0": {
        "address": "addr_test1qzqncvkf92kjzac0lqqpmcy33avcm7xqva6lwluw3qua9gq8ffg47lejhuc6faquwst6symws9ftldp0qmt3kwy6dztqqxhfjs",
        "datum": null,
        "datumhash": null,
        "inlineDatum": null,
        "referenceScript": null,
        "value": {
            "lovelace": 900000000000
        }
    }
}

What should be the expected behavior?

Kupo to also know about initial funds

If applicable, what are the logs from the server around the occurence of the problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions