Closed kylezs closed 3 years ago
@kylezs are you sure about this one? I have just added an integration test to cover this case and we do in fact have 0
for last_active_epoch
for the genesis validators. Are you seeing this in polka.js?
Commenting for visibility: Had another look, and discussed with Andy, seems to still exist, the test mock is potentially doing something the live code isn't? Andy is taking a look.
Fixed in #808
Description
Currently
ChainflipAccountData.last_active_epoch
isNone
for genesis validators. Genesis validators are active in epoch 0. This should be reflected in the account data.