Multiple proxies with single logic contract #4834
Unanswered
brian-man
asked this question in
General Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What's the recommended pattern for deploying multiple proxies that use the same logic contract?
We're currently using the pattern:
After the second migration, build/contracts/MyLogicContract.json has the
secondProxy
address and thefirstProxy
address is not present anywhere that I can find.The documentation on OpenZeppelin describes the behavior and indicates reuse is a first-class usage pattern, yet doesn't seem to reconcile the former (A) with the latter (B):
https://docs.openzeppelin.com/upgrades-plugins/1.x/api-truffle-upgrades#deploy-proxy
(A)
(B)
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions