Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy L1BuildAgent's pause/unpause messenger method to copy interface #138

Merged
merged 1 commit into from
Jun 4, 2024
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,22 @@ interface IL1BuildAgent {

function getBuilderGlobally(uint256 chainId) external view returns (address builder);

function getBuilderInternally(uint256 _chainId) external view returns (address);

function computeInboxAddress(uint256 chainId) external view returns (address batchInbox);

function isUniqueChainId(uint256 chainId) external view returns (bool);

function isUpgradingExistingL2(uint256 _chainId) external returns (bool, address);

function pauseLegacyL1CrossDomainMessenger(uint256 _chainId, address addressManager) external;

function unpauseLegacyL1CrossDomainMessenger(
uint256 _chainId,
address addressManager,
address oldL1CrossDomainMessenger
) external;

function build(
uint256 chainId,
BuildConfig calldata cfg
Expand Down