parallel-finance/parallel

Remove one era's bonding duration delay

GopherJ opened this issue · 1 comments

Remove one era's bonding duration delay
mclyk commented

Currently, do_matching will be called before relaychain update solution, however, do_advance_era will update the era once relaychain updates its era.
what if users unstake after do_matching but before do_advance_era, this user's unstake request is recorded by the current era, however, do_matching will be executed again in the next era.
Considering this situation, we may not remove one era's delay. what do you think of this? @GopherJ