moonbeam-foundation/moonbeam

Warning in Moonriver staking summary said my delegation was not generating rewards as my bond was not enough even though it was greater than the minimum bond

Opened this issue · 1 comments

i delegated some stake to an active collator called "Moonriver Orbiter Pool 07" on Moonriver at https://apps.moonbeam.network/moonriver/staking that had ~36 delegations, and where the effective amount bonded was ~28k MOVR. when i delegated the stake i staked more than the min. bond of 5 MOVR that was shown, but a yellow warning icon appeared on the right of the name of that collator in the "Staking summary" section and when i hovered over it showed a warning in the UI "This delegation is not generating rewards as your bond is not enough to be in the collator's top 300 delegators. A minimum bond of is required."

i delegated similar stake to similar other active collators but they didn't show the warning, only that one did.
i resolved the error (it stopped appearing) after i did a second transaction to stake more MOVR on that collator.

firstly, i don't think that warning should have appeared.

secondly, i think the UI could be smarter and automatically calculate in the background how many MOVR we need to delegate in order to provide enough bond to be in that specific collators top delegators to be able to generate rewards, and show a notification with that amount in the UI before i click "Stake" so i can increase the amount if necessary, rather than seeing that warning in the UI and having to randomly guess how much more i need to stake, and making unnecessary further staking transactions.

Hello,

First of all thank you for taking the time to report this, we have checked the behavior of the app and determined the reason for the issue you've seen.

There are 2 different things the app requests in the staking page:

  • 1. list of active delegated collators for the user (Staking summary)
  • 2. list of delegators for each collator in the summary for this user

When a new delegation is made, since the app is constantly watching for the delegated collators for the user, when it is complete, the new collator is going to appear in the list (1). Now, it is possible that the specific block that registers this new user in the list of delegators for this collator (2), takes longer to be processed, so in your case, Moonriver Orbiter Pool 07 appeared in your list, but you were still not reflected in the list of delegators for that collator when the request was made, hence the warning.

In short, you are right in your first point since the warning shouldn't have appeared, it's an edge case but we're going to work internally to prevent it. In the meantime, if you happen to see this issue again, a simple refresh of the page should solve it, since the new request will then show your address in the list of delegators for the collator that you've just delegated.