CLSN-1844Set EndBucket and Flow for StakeAllocHistory