-
Notifications
You must be signed in to change notification settings - Fork 11
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
Error while distributing rewards #622
Comments
Investigation of the case on Testnet Looking at block It corresponds to a failing transaction from this account: The error consumers: 1
providers: 1 which returns /// True if the account has no outstanding consumer references or more than one provider.
pub fn can_dec_provider(who: &T::AccountId) -> bool {
let a = Account::<T>::get(who);
a.consumers == 0 || a.providers > 1
} while transferring in the |
Some documentation about |
I think this error is because we try to distribute rewards from contracts that are in grace but the balance of the user's twin is not enough to cover the costs. We should actually not try to distribute rewards when a contract is in grace period. |
We distribute rewards inside
So I am not sure it is the right cause... |
Hmm okay, might need to dig deeper then |
should this be moved to blocked? |
After some investigation I think this issue will be resolved by: #631 |
Closing as issue was fixed in #631 and haven't reproduce again on the chain. |
Seen on testnet
The text was updated successfully, but these errors were encountered: