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

ensure mobile subscriber id is properly credited for mobile rewards #561

Merged
merged 1 commit into from
Jun 30, 2023

Conversation

jeffgrunewald
Copy link
Contributor

The rest of the oracles pipeline treats mobile subscriber_ids as a &[u8] or Vec<u8> but the foundation reward index database expects the rewardable entity to be a text field. According to the nft metadata field for the mobile subscriber rewardable entity the expected serialization is KeySerialization::B58 so this change aligns the mobile subscriber rewards inserted into the database with the value expected by the on-chain claims program

@jeffgrunewald jeffgrunewald merged commit c4cc3ce into main Jun 30, 2023
@jeffgrunewald jeffgrunewald deleted the jg/encoding-subscriber-id-rewards branch June 30, 2023 13:39
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.

3 participants