-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Hello,
when i pass string type parameter to smartcontract I have an error
Error: dynamic string conversion not implemented.
at contract.js:36
at Generator.next ()
at asyncGeneratorStep (asyncToGenerator.js:3)
at _next (asyncToGenerator.js:25)
at asyncToGenerator.js:32
at new ZoneAwarePromise (zone.js:1387)
at asyncToGenerator.js:21
at Contract.call (contract.js:28)
at creator.service.ts:72
at Generator.next ()
I see this code in your Encoder.js
if (type === Constants.BYTES) { throw Error('dynamics bytes conversion not implemented.'); } else if (type === Constants.STRING) { throw Error('dynamic string conversion not implemented.'); } else if (type.match(Constants.REGEX_DYNAMIC_ARRAY)) { // dynamic types let data = '';
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels