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

Deprecate Receipt Coders #3105

Closed
Torres-ssf opened this issue Sep 4, 2024 · 0 comments · Fixed by #3106
Closed

Deprecate Receipt Coders #3105

Torres-ssf opened this issue Sep 4, 2024 · 0 comments · Fixed by #3106
Assignees
Labels
chore Issue is a chore

Comments

@Torres-ssf
Copy link
Contributor

Torres-ssf commented Sep 4, 2024

Before fuel-core 0.20, the rawPayload property, which contained the serialized receipt, was part of each receipt returned by GraphQL queries related to transactions.

To decode this rawPayload and assemble the receipts, we used the receipt coders.

However, with the release of fuel-core 0.20, the rawPayload was removed from the GraphQL receipt type. Consequently, we had to update our receipt assembly process. Now, we validate receipts by their type property and manually assemble each receipt from the GraphQL response, as shown here.

Since these changes, the receipt coders are no longer in use and can be safely removed from the codebase deprate, as they no longer serve any functional purpose.

@Torres-ssf Torres-ssf added the chore Issue is a chore label Sep 4, 2024
@Torres-ssf Torres-ssf self-assigned this Sep 4, 2024
@Torres-ssf Torres-ssf changed the title Deprecate and Remove Unused Receipt Coders Deprecate Receipt Coders Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Issue is a chore
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant