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

Newest List data is frozen #3113

Closed
roiLeo opened this issue Jun 8, 2022 · 10 comments
Closed

Newest List data is frozen #3113

roiLeo opened this issue Jun 8, 2022 · 10 comments
Labels
$ ~<50usd 🧙‍♀️ - bug-hunt 🧊- rubick bug Something isn't working p2 core functionality, or is affecting 60% of app

Comments

@roiLeo
Copy link
Contributor

roiLeo commented Jun 8, 2022

Step to reproduce:

  • go to Landing page
  • Newest List component & Latest Sales show data from 4 days ago
  • when I click on "show more", I have more recent data in the gallery
Enregistrement.de.l.ecran.2022-06-08.a.9.45.32.AM.mov
@roiLeo roiLeo added bug Something isn't working p2 core functionality, or is affecting 60% of app 🧙‍♀️ - bug-hunt labels Jun 8, 2022
@Jarsen136
Copy link
Contributor

👋

@kodabot
Copy link
Collaborator

kodabot commented Jun 8, 2022

ASSIGNED - @Jarsen136 🔒 LOCKED -> Thursday, June 9th 2022, 23:22:20 UTC -> 36 hours

@Jarsen136
Copy link
Contributor

Looks like there is something wrong with rubick, which could not return the latest data.
Is there anything update on /rubick/006/ recently ? cc @vikiival

image

query lastNftListByEvent($limit: Int!, $event: Interaction!, $and: [EventWhereInput!]) {
  events(
    limit: $limit
    where: { interaction_eq: $event, AND: $and, nft: {burned_eq: false} }
    orderBy: timestamp_DESC
  ) {
    meta
    timestamp
    nft {
      id
      name
      issuer
      currentOwner
      metadata
      meta {
        id
        image
      }
    }
  }
}

@kodabot
Copy link
Collaborator

kodabot commented Jun 9, 2022

ASSIGNMENT EXPIRED - @Jarsen136 has been unassigned.

@vikiival
Copy link
Member

Is there anything update on /rubick/006/ recently ? cc @vikiival

Or maybe nothing happened on the chain?

@Jarsen136
Copy link
Contributor

Or maybe nothing happened on the chain?

Emm, I do not think so. It's been more than a week. 👀

@vikiival
Copy link
Member

Emm, I do not think so. It's been more than a week.

Then best thing is to verify the queries with 004 vs 006 or subsquid vs subquery

@Jarsen136
Copy link
Contributor

Jarsen136 commented Jun 12, 2022

Emm, I do not think so. It's been more than a week.

Then best thing is to verify the queries with 004 vs 006 or subsquid vs subquery

That's a good idea. I tested this query on 004 and it works well, so there must be something wrong with 006.

004 result:
image

006 result:
image

@roiLeo
Copy link
Contributor Author

roiLeo commented Jun 13, 2022

Could this be cache related?

@vikiival
Copy link
Member

Solved in kodadot/rubick#98

Screenshot 2022-06-13 at 10 40 21

Problem was that kodadot/rubick#87 introduced average as bigint and App was unable to recover.

Try it yourself

const a = '490000.00'
BigInt(a)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
$ ~<50usd 🧙‍♀️ - bug-hunt 🧊- rubick bug Something isn't working p2 core functionality, or is affecting 60% of app
Projects
None yet
Development

No branches or pull requests

5 participants