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
Actual result: Connecting to ws://localhost:9944 2021-04-15 16:09:18 RPC-CORE: getMetadata(at?: BlockHash): Metadata:: createType(Metadata):: Unable to create Enum via index 12, in V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11 2021-04-15 16:09:18 API/DECORATOR: Error: FATAL: Unable to initialize the API: getMetadata(at?: BlockHash): Metadata:: createType(Metadata):: Unable to create Enum via index 12, in V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11 at EventEmitter.Init._onProviderConnect (/Users/amy/Documents/repos/playground/api-example-app/node_modules/@polkadot/api/base/Init.js:55:23) at processTicksAndRejections (internal/process/task_queues.js:93:5) Error: Error: Connection fail at EventEmitter.rejectError (/Users/amy/Documents/repos/playground/api-example-app/node_modules/@cennznet/api/Api.js:42:16) at EventEmitter.emit (/Users/amy/Documents/repos/playground/api-example-app/node_modules/eventemitter3/index.js:202:33) at Api.emit (/Users/amy/Documents/repos/playground/api-example-app/node_modules/@polkadot/api/base/Events.js:21:31) at EventEmitter.Init._onProviderConnect (/Users/amy/Documents/repos/playground/api-example-app/node_modules/@polkadot/api/base/Init.js:57:14) at processTicksAndRejections (internal/process/task_queues.js:93:5)
Note this app also mentions it's a PlugNet API example app, and a better readme
The text was updated successfully, but these errors were encountered:
The example app in here https://wiki.cennz.net/#/Dapp-development/Examples/Example-demo-app isn't functional
The repository is here https://github.com/cennznet/api-example-app
Steps to reproduce:
node index.js balances
Expected result:
Show balances
Actual result:
Connecting to ws://localhost:9944 2021-04-15 16:09:18 RPC-CORE: getMetadata(at?: BlockHash): Metadata:: createType(Metadata):: Unable to create Enum via index 12, in V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11 2021-04-15 16:09:18 API/DECORATOR: Error: FATAL: Unable to initialize the API: getMetadata(at?: BlockHash): Metadata:: createType(Metadata):: Unable to create Enum via index 12, in V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11 at EventEmitter.Init._onProviderConnect (/Users/amy/Documents/repos/playground/api-example-app/node_modules/@polkadot/api/base/Init.js:55:23) at processTicksAndRejections (internal/process/task_queues.js:93:5) Error: Error: Connection fail at EventEmitter.rejectError (/Users/amy/Documents/repos/playground/api-example-app/node_modules/@cennznet/api/Api.js:42:16) at EventEmitter.emit (/Users/amy/Documents/repos/playground/api-example-app/node_modules/eventemitter3/index.js:202:33) at Api.emit (/Users/amy/Documents/repos/playground/api-example-app/node_modules/@polkadot/api/base/Events.js:21:31) at EventEmitter.Init._onProviderConnect (/Users/amy/Documents/repos/playground/api-example-app/node_modules/@polkadot/api/base/Init.js:57:14) at processTicksAndRejections (internal/process/task_queues.js:93:5)
Note this app also mentions it's a PlugNet API example app, and a better readme
The text was updated successfully, but these errors were encountered: