joystream icon indicating copy to clipboard operation
joystream copied to clipboard

Possible substrate staking pallet bug: empty validator info query results

Open traumschule opened this issue 10 months ago • 3 comments

I noticed a 'hole' querying validator info that may indicate a bug in substrate itself or for example modifications to Joystream/substrate.

The first symptom is the missing own stake both in p-js and pioneer. ownstakebug-pioneer ownstakebug-pjs

On further inspection following chain queries return empty information as well:

  • staking.bonded
  • staking.ledger

In following screenshot for each query the first entry is for j4Rc8VUXGYAx7FNbVZBFU72rQw3GaCuG2AkrUQWnWTh5SpemP the second (correct): j4ShWRXxTG4K5Q5H7KXmdWN8HnaaLwppqM7GdiSwAy3eTLsJt. Both staking.payee and staking.validators return correct output for the first address (24) and are omitted here regarding the second (26) for brevity.

ledger

Please confirm that this problem persists and consult upstream if necessary. (cc @rossbulat )

Finally correct account information for 24 from the p-js details pane: jssde-details

(feel free to change title based on findings)

traumschule avatar Apr 23 '24 23:04 traumschule