Function: syncWithOmni()
Allows syncing of operators' stake and delegations with the Omni chain.
Branches and code coverage (including function calls)
Intended branches
Retrieves the current list of operators.
Forwards the call to OmniPortal via
xcall
to sync the operators' stake and delegations with the Omni chain.Assumes that
msg.value
is enough to cover the fee required for the sync.
Negative behavior
Should not allow forwarding of the call if any of the operators are below the threshold. Currently not enforced.
Should not be callable if the contract is paused. Enforced through the
whenNotPaused
modifier.