Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Polkadot unclear reward's destination #76

Open
2 tasks done
evyatar-tres opened this issue Nov 4, 2023 · 4 comments
Open
2 tasks done

Polkadot unclear reward's destination #76

evyatar-tres opened this issue Nov 4, 2023 · 4 comments
Assignees
Labels
kind/bug Something isn't working

Comments

@evyatar-tres
Copy link

Confirmation

  • My issue isn't already found on the issue tracker.
  • I have read the Subscan API documentation (if it seemed to be an API bug).

Affected Network(s)

Polkadot

Steps to reproduce

For this Polkadot account: 12Z3Bhjn42TPXy5re2CiYz1fqMd21i2XyBLmbekbjLXrqVBV
We have this event: https://polkadot.subscan.io/extrinsic/1420667-3?event=1420667-3 of 29.82 DOT reward

The last set_payee was at this transaction: https://polkadot.subscan.io/extrinsic/237362-3
with this payload: {"name":"payee", "type":"RewardDestination", "value":"Staked"}

Meaning the reward should go directly to staking balance and not to the free balance

However, looking at the balances before and after, they seem to change:
value before this event is: 0.2399600033
value after this event is: 30.1869000451

Meaning the reward did go to this account, how can we know it was intended to go to the free balance and not to the staking balance

Expected output

Reward going directly to staking balance

Actual output

Reward going directly to free balance

Additional factoids or references

No response

@evyatar-tres evyatar-tres added the kind/bug Something isn't working label Nov 4, 2023
@evyatar-tres
Copy link
Author

This looks like a similar problem:

This reward: https://polkadot.subscan.io/extrinsic/1967393-2?event=1967393-2
for this account: 15oKi7HoBQbwwdQc47k71q4sJJWnu5opn1pqoGx4NAEYZSHs goes to this account (13TrsUgdF5VWHnM7diyLCGCVR6xCmEpf3uA7UAsCrqk4ExGc)

the account is set here as the controller: https://polkadot.subscan.io/extrinsic/1330504-2
to this account: 13TrsUgdF5VWHnM7diyLCGCVR6xCmEpf3uA7UAsCrqk4ExGc

But I don't see any "set_payee" to controller

@freehere107
Copy link
Contributor

@evyatar-tres Thanks for your feedback. It looks like a history issue. We will reindex this data

@evyatar-tres
Copy link
Author

Hi @freehere107 , Can you please refer me to the relevant event (set_payee) for this account?
12Z3Bhjn42TPXy5re2CiYz1fqMd21i2XyBLmbekbjLXrqVBV

I could not find it after reviewing the account again

@freehere107
Copy link
Contributor

hi, @evyatar-tres I don't understand what you want to say, can you explain it more?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants