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
Describe the bug
Option is not getting properly parsed when it is for a vector of objects
What version are you on?
12.3.0
To Reproduce
Steps to reproduce the behavior:
I added a type to other_custom_types wasm for a test case: stellar/soroban-examples#326
With that wasm you can add this to the custom types e2e tests:
Expected behavior
It should return the vector of objects (or null if the option is null)
Additional context
TypeError: Type [object Object] was not vec, but [object Object] is
at Spec.scValToNative (lib/contract/spec.js:848:19)
at Spec.funcResToNative (lib/contract/spec.js:529:19)
at Object.parseResultXdr (lib/contract/client.js:59:25)
at AssembledTransaction.result (lib/contract/assembled_transaction.js:433:29)
at Context.<anonymous> (test/e2e/src/test-custom-types.js:291:19)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
The text was updated successfully, but these errors were encountered:
Describe the bug
Option is not getting properly parsed when it is for a vector of objects
What version are you on?
12.3.0
To Reproduce
Steps to reproduce the behavior:
I added a type to
other_custom_types
wasm for a test case: stellar/soroban-examples#326With that wasm you can add this to the custom types e2e tests:
Expected behavior
It should return the vector of objects (or null if the option is null)
Additional context
The text was updated successfully, but these errors were encountered: