polkadot-js / api

Promise and RxJS APIs around Polkadot and Substrate based chains via RPC calls. It is dynamically generated based on what the Substrate runtime provides in terms of metadata.
Apache License 2.0
1.06k stars 342 forks source link

`TypeError: e.eq is not a function` while calling stakerRewardsMultiEras #5910

Closed mutantcornholio closed 6 days ago

mutantcornholio commented 1 week ago

While trying to execute it at https://polkadot.js.org/apps/, I get

TypeError: e.eq is not a function
    at https://polkadot.js.org/apps/modu.feacb3d8bf903221.js:1:61475
    at Array.some (<anonymous>)
    at https://polkadot.js.org/apps/modu.feacb3d8bf903221.js:1:61456
    at Array.filter (<anonymous>)
    at xn (https://polkadot.js.org/apps/modu.feacb3d8bf903221.js:1:61442)
    at https://polkadot.js.org/apps/modu.feacb3d8bf903221.js:1:63668
    at e._subscribe (https://polkadot.js.org/apps/modu.e085438fec7e90eb.js:1:6819)
    at e._trySubscribe (https://polkadot.js.org/apps/modu.7c3b262d6289bfdf.js:2:30316)
    at https://polkadot.js.org/apps/modu.7c3b262d6289bfdf.js:2:30238
    at o (https://polkadot.js.org/apps/modu.7c3b262d6289bfdf.js:2:59112)