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

Replace MessageId with Nonce in message_proof endpoint #1234

Closed
xgreenx opened this issue Jun 30, 2023 · 1 comment · Fixed by #1363
Closed

Replace MessageId with Nonce in message_proof endpoint #1234

xgreenx opened this issue Jun 30, 2023 · 1 comment · Fixed by #1363
Assignees
Labels
bug Something isn't working graphql-api Affects API of the GraphQL

Comments

@xgreenx
Copy link
Collaborator

xgreenx commented Jun 30, 2023

The message_proof API uses MessageId only to locate the message from the list of messages. It requires the calculation of the MessageId for each receipt. Instead, working directly with Nonce will be more optimal.

We already removed the usage of MessageId everywhere except Merkle proofs. So this change will make our codebase more consistent.

@xgreenx xgreenx added bug Something isn't working graphql-api Affects API of the GraphQL labels Jun 30, 2023
@Voxelot
Copy link
Member

Voxelot commented Aug 22, 2023

@xgreenx plz add description

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working graphql-api Affects API of the GraphQL
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants