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.
Before
fuel-core 0.20
, therawPayload
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 codebasedeprate, as they no longer serve any functional purpose.