* Sanitize eras for _stakerRewards * Small nits
Common functions used across Polkadot, derived from RPC calls and storage queries.