Skip to content

fix: dedupe sender transaction lookups#117

Open
sueun-dev wants to merge 1 commit intoScopeLift:mainfrom
sueun-dev:fix/dedupe-sender-filter-lookups
Open

fix: dedupe sender transaction lookups#117
sueun-dev wants to merge 1 commit intoScopeLift:mainfrom
sueun-dev:fix/dedupe-sender-filter-lookups

Conversation

@sueun-dev
Copy link
Copy Markdown

Summary

  • cache txHash -> from lookups within a filtered announcement batch
  • share the batch cache through getAnnouncementsForUser, scan, and watch flows that use the same filtering helper
  • add coverage for repeated announcement hashes only calling getTransaction once

Verification

  • bun run build
  • bun test src/lib/actions/getAnnouncementsForUser/getAnnouncementsForUser.test.ts
  • bun test

Refs #107

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