You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This has not been a problem because this value is meant to be zeroed out for hashing/signing.
However when building out a transaction summary from a transaction response (transactionResponse.getTransactionSummary()) the summary is technically not correct as this input has not been populated correctly. Whereas a summary generated using a transaction ID (getTransactionSummary(txId)) fetches the full tx from the node, has this input set correctly.
The text was updated successfully, but these errors were encountered:
I believe this happens because we no longer fetch the transaction within TransactionResponse when a transaction request is given during its instantiation.
When we create a new contract input against a transaction, we always zero out the transaction ID.
fuels-ts/packages/account/src/providers/transaction-request/input.ts
Line 117 in 02503a6
This has not been a problem because this value is meant to be zeroed out for hashing/signing.
However when building out a transaction summary from a transaction response (
transactionResponse.getTransactionSummary()
) the summary is technically not correct as this input has not been populated correctly. Whereas a summary generated using a transaction ID (getTransactionSummary(txId)
) fetches the full tx from the node, has this input set correctly.The text was updated successfully, but these errors were encountered: