Skip to content
Discussion options

You must be logged in to vote

ProxyAdmin.upgrade upgrade Proxy by changing underlying implementation address but not changing the Proxy address itself. Proxy will still be initialized but every method calling to the proxy will always use the new implementation. So, if your implementation doesn't have version function, this function can't be called after upgrade.

For example

Before upgrade

Proxy: 0x6509f2a854ba7441039fce3b959d5badd2ffcfcd -> Implementation: 0x9E0591D74b22DCdc62D9cdceF2dCc76Ef6B1331d (With version function)

Proxy is initialized and can call version()

After upgrade without call to initialize

Proxy: 0x6509f2a854ba7441039fce3b959d5badd2ffcfcd -> Implementation: 0x16795fB587fcDa879143E1Db02C2641B23f9dbfa (W…

Replies: 3 comments 9 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
7 replies
@theo-learner
Comment options

@theo-learner
Comment options

@Chomtana
Comment options

Answer selected by theo-learner
@theo-learner
Comment options

@theo-learner
Comment options

@Chomtana
Comment options

@theo-learner
Comment options

Comment options

You must be logged in to vote
2 replies
@theo-learner
Comment options

@theo-learner
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
op-stack-deployment Questions relating to deploying your own OP Stack. discussion-metrics Used by Github Action to gather discussion metrics on the question and answer section.
3 participants