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
When running a contract call (static or stateful) where the parameter or return value is an address the following error is produced:
base58check.js:19 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'decode')
at Object.decode (base58check.js:19:1)
at ApiEncoder.decode (ApiEncoder.js:79:1)
at ApiEncoder.decodeWithType (ApiEncoder.js:106:1)
at InternalMapper.toAddress (InternalMapper.js:39:1)
at InternalMapper.toInternal (InternalMapper.js:20:1)
at ExternalDataFactory.create (ExternalDataFactory.js:12:1)
at CompositeDataFactory.js:36:1
at Array.map (<anonymous>)
at ExternalDataFactory.createMultiple (CompositeDataFactory.js:36:1)
at CallDataFactory.create (CallDataFactory.js:19:1)
Describe the bug
When running a contract call (static or stateful) where the parameter or return value is an address the following error is produced:
To Reproduce
https://github.com/kenodressel/sdk-react-issue
Expected behavior
I would love to do any contract call.
Please tell us about your environment:
CC: @thepiwo @yusufseyrek
The text was updated successfully, but these errors were encountered: