Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query for requesting contested resource vote state in batch #2362

Open
pshenmic opened this issue Nov 30, 2024 · 0 comments
Open

Query for requesting contested resource vote state in batch #2362

pshenmic opened this issue Nov 30, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@pshenmic
Copy link
Collaborator

Current Behavior

On the Platform Explorer, we need to show correct state of the identity DPNS name (locked or not), and it involves invoking a getContestedResourceVoteState for each name identity has. That's couple of request per identity. Things get worse on the lists, like transactions or data contracts, because almost all platform entities has owner field and we need to check that, that adds up a lot of requests to the Drive

Expected Behavior

It would be really cool to be able to get info about contested resources in batch, like if you could pass an array of index values in the request. I think it would work for now (we only check certain data contract and at certain index name, DPNS)

Possible Solution

Alternatives Considered

Additional Context

@pshenmic pshenmic added the enhancement New feature or request label Nov 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant