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

Portfolio doesn't show KSH01 ecocredit balance on mainnet / production #2097

Closed
clevinson opened this issue Sep 12, 2023 · 4 comments · Fixed by #2176
Closed

Portfolio doesn't show KSH01 ecocredit balance on mainnet / production #2097

clevinson opened this issue Sep 12, 2023 · 4 comments · Fixed by #2176
Assignees
Labels
bug Something isn't working dev

Comments

@clevinson
Copy link
Member

clevinson commented Sep 12, 2023

@S4mmyb and I have successfully issued the first KSH01 credits on mainnet, but the credits aren't showing up in @S4mmyb’s portfolio:

Gives the response below:

balance:
  address: regen1v2ncquer9r2ytlkxh2djmmsq3e8we6rjc9snfn
  batch_denom: KSH01-001-20230101-20230501-001
  escrowed_amount: "0"
  retired_amount: "0"
  tradable_amount: "785.7"

However, on Redwood we're able to successfully see the credits on his portfolio:

Gives the response below:

balance:
  address: regen1trry4ht2y7z4ee3tnctj7tmk2sceh80l95py2t
  batch_denom: KSH01-001-20220101-20230101-005
  escrowed_amount: "0"
  retired_amount: "0"
  tradable_amount: "1000"

Since it only seems to be reproducable on mainnet / prod and not on Redwood, there's a chance that this maybe will be fixed in the release tomorrow?

If not, do y'all have any idea what could be the issue? Things i have thought about:

  • pagination of credit batches (but this likely would cause bugs on redwood before causing bugs on mainnet, since redwood has signfiicantly more credit batches)
  • Filtering on portfolio pages of only certain credit classes (is there a way that KSH gets filtered out of portfolio pages on mainnet, but not on redwood?)
@clevinson clevinson added bug Something isn't working dev labels Sep 12, 2023
@ryanchristo
Copy link
Member

Trying to rule out the possibility of it being related to the credit class, I was able to start a local environment using #2098 and tested with both dev and main and had no issues viewing the credits on the portfolio page.

Screenshot from 2023-09-12 16-55-30

@blushi
Copy link
Member

blushi commented Oct 2, 2023

Hey team! Please add your planning poker estimate with Zenhub @flagrede @wgwz

@flagrede
Copy link
Collaborator

flagrede commented Oct 3, 2023

Might be best to merge the batches fetching refactoring #2152 before investigating this one.

@flagrede
Copy link
Collaborator

Put some details on this bug here: #2176 (comment)
The issue was about ghost credits (credits that used to have balance) and pagination.

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

Successfully merging a pull request may close this issue.

4 participants