paritytech / paritytech/host-rust-core
listRingVrfKeys returns an empty list for a key registerRingVrfKey just returned (truapi-host 0.13.1)
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 10
- Forks
- 3
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 148
Description
On truapi-host 0.13.1 (truapi-host signing-host --serve --auto-accept, product peopl.dot, network previewnet, a lite person created by the CLI), through @parity/product-sdk-host's accounts provider:
account.registerRingVrfKey(1, <people-lite ring location>)returns the key.account.createAccountProofwith the hand-built handle{ dotNsIdentifier: "peopl.dot", derivationIndex: { tag: "Index", value: 1 } }mints a proof the chain accepts (PeopleLite.set_alias_accountunderAsLiteAliasWithProoflands).account.listRingVrfKeys("peopl.dot", "PublicKey")answers an empty list — before step 1 and after it.
So a product following the SDK's documented path, listRingVrfKeys → findRingVrfKeyHandle, finds nothing, while the handle it would have found works when constructed by hand.
Is the registry meant to list the key here?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the sequence through the accounts provider: registerRingVrfKey, createAccountProof, and listRingVrfKeys("peopl.dot", "PublicKey") using truapi-host 0.13.1 on previewnet. Compare the registry result with the documented listRingVrfKeys → findRingVrfKeyHandle path and the hand-built derivation handle. Done means the expected registry behavior is established and the reported discrepancy is resolved or clearly documented.
Written by the indexing model from the issue text.
Assessment
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100