diff --git a/src/rollup/IRollupAdmin.sol b/src/rollup/IRollupAdmin.sol index 9bb48c5f..90522d3e 100644 --- a/src/rollup/IRollupAdmin.sol +++ b/src/rollup/IRollupAdmin.sol @@ -65,6 +65,9 @@ interface IRollupAdmin { /// @dev Challenge manager was set event ChallengeManagerSet(address challengeManager); + /// @dev MEL configuration was updated + event MELConfigEvent(address inbox, address sequencerInbox); + function initialize( Config calldata config, ContractDependencies calldata connectedContracts @@ -229,4 +232,11 @@ interface IRollupAdmin { function setChallengeManager( address _challengeManager ) external; + + /** + * @notice Set MEL configuration for inbox and sequencer inbox address changes + * @param _inbox new address of inbox + * @param _sequencerInbox new address of sequencer inbox + */ + function setMELConfig(address _inbox, address _sequencerInbox) external; } diff --git a/src/rollup/RollupAdminLogic.sol b/src/rollup/RollupAdminLogic.sol index bb875aa2..a7a306f6 100644 --- a/src/rollup/RollupAdminLogic.sol +++ b/src/rollup/RollupAdminLogic.sol @@ -467,4 +467,13 @@ contract RollupAdminLogic is RollupCore, IRollupAdmin, DoubleLogicUUPSUpgradeabl emit ChallengeManagerSet(_challengeManager); // previously: emit OwnerFunctionCalled(32); } + + /** + * @notice Set MEL configuration for inbox and sequencer inbox address changes + * @param _inbox new address of inbox + * @param _sequencerInbox new address of sequencer inbox + */ + function setMELConfig(address _inbox, address _sequencerInbox) external override { + emit MELConfigEvent(_inbox, _sequencerInbox); + } }