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
{{ message }}
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.
The runtime-exporter crashes on startup with the following error:
debug: no historical parachain settings for chain wss://westmint-rpc.polkadot.io config.json
runtime-exporter-polkadot-runtime-exporter-0 runtime-exporter [22-09-16 14:21:08] debug: error from main function Error: query.timestamp.now is not available in this version of the metadata
runtime-exporter-polkadot-runtime-exporter-0 runtime-exporter /usr/src/polkadot-prom-exporter/build/workers/systemWorker.js:181
runtime-exporter-polkadot-runtime-exporter-0 runtime-exporter yield exporter.writeWeight(timestamp, chainName.toString(), weight.normal.toNumber(), 'normal', exporter.withProm);
runtime-exporter-polkadot-runtime-exporter-0 runtime-exporter ^
runtime-exporter-polkadot-runtime-exporter-0 runtime-exporter
runtime-exporter-polkadot-runtime-exporter-0 runtime-exporter TypeError: weight.normal.toNumber is not a function
runtime-exporter-polkadot-runtime-exporter-0 runtime-exporter at SystemExporter.<anonymous> (/usr/src/polkadot-prom-exporter/build/workers/systemWorker.js:181:87)
runtime-exporter-polkadot-runtime-exporter-0 runtime-exporter at Generator.next (<anonymous>)
runtime-exporter-polkadot-runtime-exporter-0 runtime-exporter at fulfilled (/usr/src/polkadot-prom-exporter/build/workers/systemWorker.js:28:58)
runtime-exporter-polkadot-runtime-exporter-0 runtime-exporter at processTicksAndRejections (node:internal/process/task_queues:96:5)
- runtime-exporter-polkadot-runtime-exporter-0 › runtime-exporter
This is now happening when connecting to Statemint RPC:
[22-10-18 12:30:44] info: connecting wss://rpc.polkadot.io to pallet nominationPools
[22-10-18 12:30:44] info: registering nominationPools exporter for chain Polkadot
[22-10-18 12:30:44] info: connecting to chain wss://statemint-rpc.polkadot.io
/usr/src/polkadot-prom-exporter/build/workers/systemWorker.js:181
yield exporter.writeWeight(timestamp, chainName.toString(), weight.normal.toNumber(), 'normal', exporter.withProm);
^
TypeError: weight.normal.toNumber is not a function
at SystemExporter.<anonymous> (/usr/src/polkadot-prom-exporter/build/workers/systemWorker.js:181:87)
at Generator.next (<anonymous>)
at fulfilled (/usr/src/polkadot-prom-exporter/build/workers/systemWorker.js:28:58)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at runNextTicks (node:internal/process/task_queues:65:3)
at processImmediate (node:internal/timers:437:9)
The runtime-exporter crashes on startup with the following error:
Config:
The text was updated successfully, but these errors were encountered: