Skip to content

Conversation

@gvladika
Copy link
Contributor

@gvladika gvladika commented Aug 7, 2023

On L1 side of token bridge: use existing rollup's proxy admin (fetch it from inbox).
On L2 side of token bridge: create new proxy admin for L2 contracts. Also create new UpgradeExecutor. Executor is the owner of proxy admin. Rollup owner and aliased L1 executor have EXECUTOR role.

Note: 'Test token bridge deployment' test which targets nitro test node is failing because test node is rn not fully adapted to work with latest contract changes.

@cla-bot cla-bot bot added the cla-signed label Aug 7, 2023
@gvladika gvladika requested review from gzeoneth and yahgwai August 7, 2023 18:08
// transfer ownership to rollup's owner
ProxyAdmin(proxyAdmin).transferOwnership(rollupOwner);
// deploy multicall
Create2.deploy(0, _getL2Salt(OrbitSalts.L2_MULTICALL), _creationCodeFor(l2Code.multicall));
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should we use a proxy in case the multicall implementation changes? Or has it been stable for a long time?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

hmm good q, not sure if it is worth it. Arb multicall hasn't been changed last 2 year as far as I can see. @gzeoneth what do you think?

…design

Rollup and rollup proxy admin are owned by L1 upgrade executor, on which the
rollupOwner has EXECUTOR role. When creating token bridge for rollup, now
rollupOwner has to be provided as well. L1 creator will check that rollupOwner
has EXECUTOR role on the upgrade executor (which is fetched via .owner()).
Aliased L1 upgrade executor and rollup owner are then made executors on L2
upgrade executor.
@gvladika gvladika requested a review from yahgwai September 1, 2023 06:42
Copy link
Collaborator

@yahgwai yahgwai left a comment

Choose a reason for hiding this comment

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

LGTM

@gvladika gvladika merged commit 09c9715 into fee-token-deployer Sep 7, 2023
@gzeoneth gzeoneth deleted the use-executor branch July 8, 2024 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants