Closed john990 closed 1 year ago
Please fill out the template below to the best of your ability and include a label indicating which tool/service you were working with when you encountered the problem.
SDK Version:
com.nftco:flow-jvm-sdk:0.7.3
and
com.nftco:flow-jvm-sdk:0.7.1
Transaction fails to execute when arguments contains ArrayField or PathField. Transaction detail:https://flow-view-source.com/testnet/tx/42405154722416a5855bf97881dec2df93ff3cbdd1f9fbe11144e916882db6fa
Here is about arguments:
arg { array(swapPaths.map { string(it) }) } arg { array(tokenOutSplit.map { ufix64(it) }) } arg { ufix64(tokenInMax) } arg { ufix64(deadline) } arg { path(domain = "storage", identifier = tokenInVaultPath) } arg { path(domain = "storage", identifier = tokenOutVaultPath) } arg { path(domain = "public", identifier = tokenOutReceiverPath) } arg { path(domain = "public", identifier = tokenOutBalancePath) }
In our application, when I want to complete a swap transaction.
Sorry, this is a problem when we deal with transaction, there is no problem with sdk, so i close this issue. Thank you.
Instructions
Please fill out the template below to the best of your ability and include a label indicating which tool/service you were working with when you encountered the problem.
SDK Version:
and
Problem
Transaction fails to execute when arguments contains ArrayField or PathField. Transaction detail:https://flow-view-source.com/testnet/tx/42405154722416a5855bf97881dec2df93ff3cbdd1f9fbe11144e916882db6fa
Steps to Reproduce
Here is about arguments:
It seems that ArrayField and PathField have problems converting json string.
Context
In our application, when I want to complete a swap transaction.