Describe the bug
Spec.nativeToScVal has no handling for raw JS values (string, number, boolean) when the target Soroban type is scSpecTypeVal (value 0).
What version are you on?
Check yarn.lock or package-lock.json to find out precisely what version of the SDK you're running.
v15
See patch to fix this at https://github.com/Consulting-Manao/tansu/pull/174/changes#diff-cb99254b7560e36159f05b4c9f70b9ea3c324e14c267e09eedb6f3b5c52dd5ad
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.
Describe the bug
Spec.nativeToScVal has no handling for raw JS values (string, number, boolean) when the target Soroban type is scSpecTypeVal (value 0).
What version are you on?
Check
yarn.lockorpackage-lock.jsonto find out precisely what version of the SDK you're running.v15
See patch to fix this at https://github.com/Consulting-Manao/tansu/pull/174/changes#diff-cb99254b7560e36159f05b4c9f70b9ea3c324e14c267e09eedb6f3b5c52dd5ad
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.