Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/rollup/IRollupAdmin.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;
}
9 changes: 9 additions & 0 deletions src/rollup/RollupAdminLogic.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Loading