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

DO NOT MERGE: script to reproduce bug T-11895 #431

Closed
wants to merge 1 commit into from

Conversation

cesarenaldi
Copy link
Member

@cesarenaldi cesarenaldi commented Jul 18, 2023

API: https://api-mumbai.lens.dev/
Wallet Address: 0x02dB2668ec7D9F09408eF7E848b05ec595B13363
Profile ID: 0x8a46
Profile Handle: 1689673406665.test

The query is limited to 1 items per page to make things easier to scan.

The PK embedded in this PR is a burner address.

To setup:

git checkout T-13199/pagination-bug-script

pnpm install

cd examples/node

To run:

pnpm ts-node  scripts/paginationBug.ts

Example output:

> [email protected] ts-node /Users/***/workspace/lens-sdk/examples/node
> ts-node "scripts/paginationBug.ts"

Posts fetched: [
  {
    "id": "0x8a46-0x01-DA-059bb0a5"
  }
]
Bundlr balance for wallet 0x02db2668ec7d9f09408ef7e848b05ec595b13363 is 0.099263288173200796 MUMBAI MATIC
New post created with id: 0x8a46-0x01-DA-7a8f8f3c
First call to more recent posts with prev={"entityIdentifier":"0x8a46-0x01-DA-7a8f8f3c","timestamp":1689674178,"cursorDirection":"BEFORE"}:
 [
  {
    "id": "0x8a46-0x01-DA-7a8f8f3c"
  }
]
Second call to more recent posts with prev={"entityIdentifier":"0x8a46-0x01-DA-7a8f8f3c","timestamp":1689674178,"cursorDirection":"BEFORE"}:
 []

@height
Copy link

height bot commented Jul 18, 2023

This pull request has been linked to 1 task:

💡Tip: Add "Close T-11895" to the pull request title or description, to a commit message, or in a comment to mark this task as "Done" when the pull request is merged.

@changeset-bot
Copy link

changeset-bot bot commented Jul 18, 2023

⚠️ No Changeset found

Latest commit: 98bb9a6

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link

vercel bot commented Jul 18, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
lens-sdk-example-web-wagmi ✅ Ready (Inspect) Visit Preview Jul 18, 2023 9:59am

@cesarenaldi cesarenaldi self-assigned this Aug 8, 2023
@cesarenaldi cesarenaldi mentioned this pull request Aug 15, 2023
1 task
@cesarenaldi cesarenaldi deleted the T-13199/pagination-bug-script branch February 15, 2024 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant