Skip to content

contracts-bedrock: remove deployment ownable check l1xdm#5082

Merged
mergify[bot] merged 2 commits intodevelopfrom
fix/remove-ownable-checks-l1xdm
Mar 9, 2023
Merged

contracts-bedrock: remove deployment ownable check l1xdm#5082
mergify[bot] merged 2 commits intodevelopfrom
fix/remove-ownable-checks-l1xdm

Conversation

@tynes
Copy link
Contributor

@tynes tynes commented Mar 8, 2023

Description

The new L1CrossDomainMessenger is no longer ownable so we no longer need to transfer the ownership to the dictator as part of the system upgrade. The dictator does not need ownership of the old contract because it doesn't call pause on the L1CrossDomainMessenger anymore as part of the on chain upgrade. Instead, the pausable functionality is in the OptimismPortal which is set with a constructor arg and its pausability can be toggled using functions on the portal.

@tynes tynes requested a review from a team as a code owner March 8, 2023 17:14
@tynes tynes requested a review from maurelian March 8, 2023 17:14
@changeset-bot
Copy link

changeset-bot bot commented Mar 8, 2023

⚠️ No Changeset found

Latest commit: c39e669

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@tynes tynes force-pushed the fix/remove-ownable-checks-l1xdm branch from af91e32 to 332c1ce Compare March 8, 2023 20:26
The new `L1CrossDomainMessenger` is no longer ownable so we no
longer need to transfer the ownership to the dictator as part
of the system upgrade. The dictator does not need ownership
of the old contract because it doesn't call `pause` on the
`L1CrossDomainMessenger` anymore as part of the on chain upgrade.
Instead, the pausable functionality is in the `OptimismPortal`
which is set with a constructor arg and its pausability can
be toggled using functions on the portal.
@tynes tynes force-pushed the fix/remove-ownable-checks-l1xdm branch from 332c1ce to 2169ddc Compare March 9, 2023 01:25
@mslipper
Copy link
Contributor

mslipper commented Mar 9, 2023

Fixes CLI-3580

@mergify
Copy link
Contributor

mergify bot commented Mar 9, 2023

This PR has been added to the merge queue, and will be merged soon.

@mergify
Copy link
Contributor

mergify bot commented Mar 9, 2023

This PR is next in line to be merged, and will be merged as soon as checks pass.

@codecov
Copy link

codecov bot commented Mar 9, 2023

Codecov Report

Merging #5082 (c39e669) into develop (7eba9ad) will increase coverage by 0.01%.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #5082      +/-   ##
===========================================
+ Coverage    41.01%   41.03%   +0.01%     
===========================================
  Files          340      340              
  Lines        20799    20799              
  Branches       772      772              
===========================================
+ Hits          8531     8535       +4     
+ Misses       11612    11608       -4     
  Partials       656      656              
Flag Coverage Δ
bedrock-go-tests 36.69% <ø> (+0.02%) ⬆️
contracts-bedrock-tests 50.00% <ø> (ø)
contracts-tests 98.86% <ø> (ø)
core-utils-tests 60.41% <ø> (ø)
dtl-tests 47.15% <ø> (ø)
fault-detector-tests 33.88% <ø> (ø)
sdk-tests 38.74% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
op-node/heartbeat/service.go 55.26% <0.00%> (-2.64%) ⬇️
op-node/p2p/discovery.go 67.23% <0.00%> (+1.70%) ⬆️

@mergify mergify bot merged commit 9f0958f into develop Mar 9, 2023
@mergify mergify bot deleted the fix/remove-ownable-checks-l1xdm branch March 9, 2023 06:17
@mergify mergify bot removed the on-merge-train label Mar 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants