question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

When catches events, happened error.

See original GitHub issue

polkadot-js version is 0.79.1

When I try a sample code. https://polkadot.js.org/api/examples/promise/08_system_events/

I happened error below.

Unable to decode Uint8Array for type 'Phase': Unable to create Enum via index 4, in ApplyExtrinsic, Finalization
Unable to decode Uint8Array for type 'EventRecord': Unable to create Enum via index 4, in ApplyExtrinsic, Finalization
Unable to decode Uint8Array for type 'EventRecord': Unable to create Enum via index 4, in ApplyExtrinsic, Finalization
Unable to decode Uint8Array for type 'EventRecord': Unable to create Enum via index 4, in ApplyExtrinsic, Finalization
Unable to decode Uint8Array for type 'Phase': Unable to create Enum via index 42, in ApplyExtrinsic, Finalization
Unable to decode Uint8Array for type 'EventRecord_0_76': Unable to create Enum via index 42, in ApplyExtrinsic, Finalization
Unable to decode Uint8Array for type 'EventRecord_0_76': Unable to create Enum via index 42, in ApplyExtrinsic, Finalization
Unable to decode Uint8Array for type 'EventRecord_0_76': Unable to create Enum via index 42, in ApplyExtrinsic, Finalization
Unable to decode storage system.events: Unable to create Enum via index 42, in ApplyExtrinsic, Finalization
2019-06-05 16:19:00        RPC-CORE: subscribeStorage (keys: Vec<StorageKey>): StorageChangeSet:: Unable to create Enum via index 42, in ApplyExtrinsic, Finalization

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:28 (27 by maintainers)

github_iconTop GitHub Comments

github_iconTop Results From Across the Web

Window: error event - Web APIs - MDN Web Docs - Mozilla
The error event is fired on a Window object when a resource failed to load or couldn't be used — for example if...
Read more >
Handling errors in processes - IBM
When modeling error handling as part of your process, you can catch errors using error intermediate events or event subprocesses, and you can...
Read more >
Try/catching errors occuring in synchronous event handlers
In regards to your try/catch statement, it is functioning properly. The point of a try/catch is to try a block and catch any...
Read more >
Does addEventListener(ErrorEvent.ERROR, handler) handle ...
When an uncaughtError event happens, even if the event is handled, execution does not continue in the call stack that caused the error....
Read more >
Error handling, "try...catch" - The Modern JavaScript Tutorial
So, try...catch can only handle errors that occur in valid code. Such errors are called “runtime errors” or, sometimes, “exceptions”.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found