Force one-time reward withdrawal

Democracy
2yrs ago
3 Comments
FastTracked

A while back there was a bug in the parachain that caused vaults to miss out on rewards. A fix for this has already been released, but in order to reimburse the affected vaults, we need all vaults to first withdraw their rewards. This proposal makes all vaults call fee.withdrawRewards. Once this is done, we can do a storage migration in a future proposal to reimburse the affected vaults.

Edited
Reply
Up 1
Share
Second
No current seconds
This proposal has been turned into referendum.
  • Call
  • Metadata
  • Timeline2
Comments

Are you suggesting you can force certain accounts to run an extrinsic without updating their clients?
Just asking out of curiosity. Not against it.

Reply
Up

Is there a good reason to run this against all vaults, instead of only vaults that have not collected rewards since date X?

Reply
Up

Are you suggesting you can force certain accounts to run an extrinsic without updating their clients?
Just asking out of curiosity. Not against it.

Yes this is indeed possible using utility.dispatchAs (which can only be called by governance).

Is there a good reason to run this against all vaults, instead of only vaults that have not collected rewards since date X?

Mainly because this way is easier and less error-prone. This proposal does not incur execution fees on the vaults so there is no real downside to withdrawing for all vaults.

Reply
Up