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

Make recipient id unique for different registries #718

Merged
merged 1 commit into from
Nov 6, 2023

Conversation

yuetloo
Copy link
Collaborator

@yuetloo yuetloo commented Nov 4, 2023

This fix is important for subgraph mapping as the recipient id is used as the primary key in the Recipient entity. Duplicate keys can be generated if the recipiients from different registries have the exact same metadata and the recipientIndex can get overwritten.

@yuetloo yuetloo self-assigned this Nov 4, 2023
Copy link
Member

@auryn-macmillan auryn-macmillan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@yuetloo yuetloo merged commit 20b109b into develop Nov 6, 2023
@yuetloo yuetloo deleted the fix/recipientId branch November 6, 2023 17:14
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.

2 participants