Function: setBlockUpdater(uint32 _srcEid, address _newBlockUpdater)
Sets the block-updater contract. Callable by the owner only.
Inputs
_srcEidControl: Full.
Constraints: None.
Impact: The source EID to configure the block updater for.
_newBlockUpdaterControl: Full.
Constraints: Cannot be zero and cannot be equal to the currently stored block-updater address.
Impact: The new address to use as the block updater.
Branches and code coverage
Intended branches
Updates the block-updater configuration.
Negative behavior
Caller is not the owner.
Reverts if the
_newBlockUpdateris zero.The
_newBlockUpdateris the same as the stored block-updater address.