Skip to content

Conversation

@AuHau
Copy link
Contributor

@AuHau AuHau commented Jul 1, 2025

This is just to showcase the upgrade of the Marketplace contract using a multisig wallet.

I have deployed Safe Multisig Wallet and Marketplace to Sepolia with having the ProxyAdmin assigned to the Safe Multisig and then performed the upgrade.

(The difference between the implementations can be seen in the added newShinyMethod() method)

Etherscan nicely shows the upgrades:
image

The upgrade process is like:

  1. Deploy a new version of the Marketplace's implementation
  2. In Safe Wallet you need to "New transaction -> Transaction Builder", where you need to pass in the ProxyAdmin ABI, which then allows easy construction of the upgradeAndCall() call, which switches the implementation in the Proxy contract.

If the process will need to be streamlined, then there is a possibility to create a JS/bash script that would propose the upgrading transaction using Safe Transaction Service API:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants