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

A vouched for user still shows up as available for vouching #1899

Open
buildc0de opened this issue Jun 21, 2022 · 1 comment
Open

A vouched for user still shows up as available for vouching #1899

buildc0de opened this issue Jun 21, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@buildc0de
Copy link
Collaborator

Reported by Sorin in Discord.

To Reproduce
Steps to reproduce the behavior:

  1. Login as gradinagruiu.
  2. Attempt to vouch for fastforward1.

Current behavior
Observe the Error when vouching for a member error.

Expected behavior
Since the user has already been vouched for, it is expected to be shown in Vouched for list

Screenshots
See the Discord thread.

Platform & App Version

  • Android
  • 2.9.0 (80)

Additional context
As reported by @n13:

❯ cleosm get table accts.seeds accts.seeds vouches --index 2 --key-type name --lower fastforward1
{
  "rows": [{
      "id": 10344,
      "account": "fastforward1",
      "sponsor": "gradinagruiu",
      "vouch_points": 16
@buildc0de buildc0de added the bug Something isn't working label Jun 21, 2022
@n13
Copy link
Member

n13 commented Jun 29, 2022

I think that maybe the vouch list became too long, and the wallet only fetches a subset?

This may be a problem for many areas of the wallet that load a list from the contract tables

The number of items that the contract tables return is not guaranteed to be complete - in fact it can in theory be only 1 item with "more"="true" as an indication that there's more to load.

I think we need a general "load it all" table load function

Anyway - if that is indeed the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants