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
function _changeState(uint256componentId, IComponent.ComponentState newState) internal {
suspend() / resume() and pause() / unpause() are similar functions triggered by instance operator and component owner respectively. But does they have the same priority? Currently, to suspend component, instance operator must wait for component owner to unpause it.
Ideally, for component to transition into Active state both actors must activate it (resume() and unpause()). While, for component to became inactive only one actor is enough with suspend() having priority over pause().
The text was updated successfully, but these errors were encountered:
gif-contracts/contracts/modules/ComponentController.sol
Line 259 in b58fd27
suspend()
/resume()
andpause()
/unpause()
are similar functions triggered by instance operator and component owner respectively. But does they have the same priority? Currently, to suspend component, instance operator must wait for component owner to unpause it.Ideally, for component to transition into
Active
state both actors must activate it (resume()
andunpause()
). While, for component to became inactive only one actor is enough withsuspend()
having priority overpause()
.The text was updated successfully, but these errors were encountered: