Indexing of initialFunds
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?
Hi, we've been dealing with the same problem while trying to use cardano-testnet.
Worked around this by seeding my devnet from the initialFunds and it works just fine.
Having kupo know about initialFunds is maybe not worth the hassle.
I need kupo to sync the initialFunds, can we reopen this? @ch1bo
I have a workaround, I'm using ogmios to query the init utxo, so then I can use the address + utxo as a faucet wallet.
https://ogmios.dev/api/#operation-publish-/?QueryLedgerStateUtxo
e_e ... man, I wish you commented yesterday.
But I see no issue re-opening this.
I was about to do it lol, thanks @KtorZ