w3f / polkadot

GNU General Public License v3.0
29 stars 11 forks source link

"Time since last block" not updating in Polkadot.js explorer #1

Open laboon opened 5 years ago

laboon commented 5 years ago

TO REPRODUCE: Run on origin/k4a branch.

./target/release/polkadot --chain=local --dev

Go to https://polkadot.js.org/apps/#/explorer

Ensure that you are connected to 127.0.0.1

EXPECTED BEHAVIOR: Time updates until next block, at which point it resets.

Screen Shot 2019-08-08 at 12 50 11 PM

OBSERVED BEHAVIOR: Time never updates.

Screen Shot 2019-08-08 at 12 49 56 PM

laboon commented 5 years ago

After re-connecting, I get even more strange results in terms time since last block Screen Shot 2019-08-08 at 12 55 24 PM

laboon commented 5 years ago

JavaScript console shows that it can't find babe.expectedBlockTime

main.72120f3d.js:27 consts.babe.expectedBlockTime :: s: Unable to find api.consts.babe.expectedBlockTime
    at t.default (https://polkadot.js.org/apps/main.72120f3d.js:27:132843)
    at Object.getApiMethod (https://polkadot.js.org/apps/main.72120f3d.js:27:247419)
    at Object.subscribe (https://polkadot.js.org/apps/main.72120f3d.js:27:247897)