xclud / web3dart

Ethereum library, written in Dart.
https://pub.dev/packages/web3dart
MIT License
170 stars 94 forks source link

Uncaught (in promise) Error: FormatException: Invalid hexadecimal code unit U+005b. (at offset 40) #55

Closed dihsarjr closed 1 year ago

dihsarjr commented 1 year ago

errors.dart:251 Uncaught (in promise) Error: FormatException: Invalid hexadecimal code unit U+005b. (at offset 40) at Object.throw_ [as throw] (errors.dart:251:49) at Object.digitForCodeUnit (utils.dart:34:3) at Object._decode (decoder.dart:173:22) at HexDecoder.convert (decoder.dart:31:5) at HexCodec.decode (codec.dart:26:34) at Object.hexToBytes (formatting.dart:44:21) at EthereumAddress.fromHex (address.dart:45:30) at home_provider.HomeProvider.new.callFunction (home_provider.dart:62:25) at callFunction.next () at async_patch.dart:45:50 at _RootZone.runUnary (zone.dart:1685:54) at _FutureListener.thenAwait.handleValue (future_impl.dart:159:18) at handleValueCallback (future_impl.dart:766:44) at _Future._propagateToListeners (future_impl.dart:795:13) at async._AsyncCallbackEntry.new.callback (future_impl.dart:465:9) at Object._microtaskLoop (schedule_microtask.dart:40:11) at _startMicrotaskLoop (schedule_microtask.dart:49:5) at async_patch.dart:166:15