Describe the bug
We noticed that when our smart contract returns structs from view functions it fails on Sync but it works just fine on the browser
To Reproduce
Steps to reproduce the behavior:
Create a struct in your smart contract
Create a function which returns struct or array of structs
Use it with connex in your dapp
Actual result:
I receive array with no element.
Expected result:
I receive array with price, from, createdAt properties.
Desktop OS :
MacOS 10.15.7
Sync Version:
Additional context
In our web app we are using "@vechain/connex": "^2.0.5". I see that Sync browser is using version 1.4.2.
Bumping version of connex packages to the newest one might fix this issue.
Describe the bug We noticed that when our smart contract returns structs from view functions it fails on Sync but it works just fine on the browser
To Reproduce Steps to reproduce the behavior:
Actual result:
I receive array with no element.
Expected result:
I receive array with price, from, createdAt properties.
Desktop OS : MacOS 10.15.7
Sync Version:
Additional context In our web app we are using
"@vechain/connex": "^2.0.5"
. I see that Sync browser is using version 1.4.2. Bumping version of connex packages to the newest one might fix this issue.