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

use chain admin for bridgehub manipulations #799

Merged
merged 3 commits into from
Sep 12, 2024

Conversation

Deniallugo
Copy link
Contributor

What ❔

Why ❔

Checklist

  • PR title corresponds to the body of PR (we generate changelog entries from PRs).
  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.

@Deniallugo Deniallugo force-pushed the deniallugo-use-chain-admin-for-bridgehub branch from 021f02f to 0f26ff8 Compare September 12, 2024 11:53
l1-contracts/deploy-scripts/Utils.sol Outdated Show resolved Hide resolved
l1-contracts/deploy-scripts/Utils.sol Outdated Show resolved Hide resolved

StateTransitionManager stm = StateTransitionManager(addresses.stateTransition.stateTransitionProxy);
stm.transferOwnership(addresses.governance);
stm.setPendingAdmin(addresses.chainAdmin);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should you also accept ownership?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since it's a script from one private key, i can't accept it right here i do it in the zk_toolbox

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the counterpart matter-labs/zksync-era#2857

@Deniallugo Deniallugo force-pushed the deniallugo-use-chain-admin-for-bridgehub branch from 0f26ff8 to 8f3cf75 Compare September 12, 2024 11:54
@vladbochok vladbochok merged commit 3a1b5d4 into main Sep 12, 2024
21 checks passed
@vladbochok vladbochok deleted the deniallugo-use-chain-admin-for-bridgehub branch September 12, 2024 12:44
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.

2 participants