OpenST / mosaic-contracts

Mosaic-0: Gateways and anchors on top of Ethereum to scale DApps
https://discuss.openst.org/c/mosaic
MIT License
114 stars 31 forks source link

Remove activeStakeRequestCount from OSTComposer contract #772

Closed pgev closed 5 years ago

pgev commented 5 years ago

activeStakeRequestCount is used to check if there is an active stake request for a staker across all gateways.

However, if we remove a staker proxy despite the fact if there is an active stake request, acceptStakeRequest would fail (as there is no staker proxy to proceed), however, an owner or a worker can revokeStakeRequest or rejectStakeRequest.