-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Empty operation being returned in txSummary #2763
Labels
bug
Issue is a bug
Comments
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What version of fuels-ts are you using?
0.92.0
Steps to Reproduce
do a contract call with an account that only have message to fund the transaction (to do that you can receive from the bridge as funds bridged will be message in fuel side)
Expected Behavior
Should show operations just fine
Actual Behavior
It's doesn't return any operations
Code
I believe this part is the problem: https://github.com/FuelLabs/fuels-ts/blob/master/packages/account/src/providers/transaction-summary/input.ts#L42
this
TODO
looks like it's not making sense because a message won't have assetId at all, as mentioned in the spec on amount field: "Amount of base asset coins sent with message.".when it has amount, it's a base asset message
when it hasn't it can be anything, depending on
data
fieldI think on this case it should find by amount instead:
The text was updated successfully, but these errors were encountered: