-
Notifications
You must be signed in to change notification settings - Fork 106
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
feat: allow rollup update #83
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, might be useful to emit RollupUpdated in Bridge
@@ -789,6 +802,44 @@ describe('ArbRollup', () => { | |||
await rollup.confirmNextNode(challengerNode) | |||
}) | |||
|
|||
it('allow force refund staker with pending node', async function () { | |||
await rollupAdmin.connect(await impersonateAccount(upgradeExecutor)).pause() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing .wait() - and on some other transactions below
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that should not be necessary right? otherwise the test should be failing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could just be getting lucky with timing. You might get intermittent failures with this
This PR included 2 changes that should only affect privileged methods
Allow rollup admin to update rollup addresses in Bridge contracts, and synchronizing those changes to Outbox, RollupEventInbox, and Sequencer Inbox. These changes are audited as part of BOLD in Added upgrade action for the bold upgrade bold#340 but for proxy admin instead of rollup admin. Allowing rollup admin to call those function make the upgrade executor being able to call those function easier (or otherwise would require a upgradeAndCall via the ProxyAdmin contract).
Introduce
whenNotPausedOrDeprecated
modifier, which allow validator to withdraw their stake when the rollup is deprecated by changing the rollup address in the bridge to something elseSuperseding