paritytech / substrate-debug-kit

A collection of debug tools, scripts and libraries on top of substrate.
GNU General Public License v3.0
95 stars 36 forks source link

Offline-election errors when using parity polkadot v0.8.26 #25

Open mariopino opened 3 years ago

mariopino commented 3 years ago

Hi,

I'm getting this error using latest polkadot v0.8.26 (https://github.com/paritytech/polkadot/releases/tag/v0.8.26):

# ./offline-election staking -i 10 -r
thread 'main' panicked at 'Storage state_getPairs failed: Request(Error { code: InternalError, message: "Unknown error occurred", data: Some(String("UnsafeRpcCalled(UnsafeRpcError)")) })', /usr/local/substrate-debug-kit/sub-storage/src/lib.rs:108:10
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

NOTE: I'm using --unsafe-ws-external and --unsafe-rpc-external params, this does not happen with parity polkadot v0.8.25. Not sure if this is a parity polkadot problem related but want to notify about it.