-
Notifications
You must be signed in to change notification settings - Fork 264
Open
Labels
community-requestdocs updates requested by community or OP collectivedocs updates requested by community or OP collectivedocumentationImprovements or additions to documentationImprovements or additions to documentationtutorialnew tutorial request or revision to existing tutorialnew tutorial request or revision to existing tutorial
Description
Tutorial title
How to Update a Fee Vault
Tutorial description
This tutorial will go over how to update a fee vault to have a new recipient and withdrawal network.
Tutorial tags
predeploys, smart contracts
Skill level
Intermediate
Hosted on Optimism.io or hosted elsewhere?
Hosted on optimism.io
For tutorials to be hosted on Optimism.io: Tutorial Content
No response
For tutorials hosted elsewhere: URL to tutorial
No response
Additional context
The general steps are as follows:
- Deploy a new fee vault onto the chain (such as the Sequencer Fee Vault). Set the new recipient and withdrawal network in the constructor.
- Call the upgrade function on ProxyAdmin.sol with the proxy address (0x4200000000000000000000000000000000000011 for the Sequencer Fee Vault as an example) and the new implementation address as arguments. This needs to be done as a deposit transaction to do step 2, because the owner of the proxy is the L2 ProxyAdmin owner, which is the aliased L1 ProxyAdmin owner.
Metadata
Metadata
Assignees
Labels
community-requestdocs updates requested by community or OP collectivedocs updates requested by community or OP collectivedocumentationImprovements or additions to documentationImprovements or additions to documentationtutorialnew tutorial request or revision to existing tutorialnew tutorial request or revision to existing tutorial