You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ah yes, the last_staked_ratio is initialized to 0 at genesis and it won't be set the right value until the start of epoch 1. We can fix this by setting it the correct value after we apply genesis bonds, but it is unfortunately a consensus breaking change at this point.
on a second thought, we could fix this in a slightly hacky way but without a breaking change - in the query for first epoch only we could calculate the locked ratio adhoc
I think it is best that if rewards are not turned on, we should return a message noting as such. If rewards are turned on, then I think in principle we will never have this issue, since the last_staked_ratio will be set.
When we query the staking rewards in epoch 0 we get this msg:
I did not debug this, but I assume this happens because
last_staked_ratio
is0
The text was updated successfully, but these errors were encountered: