Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(governance): protocol upgrade Unlock v13 and PublicLock v14 on Sepolia #13190

Merged
merged 13 commits into from
Jan 16, 2024

Conversation

clemsos
Copy link
Member

@clemsos clemsos commented Jan 10, 2024

Description

This adds the manifest files for deployments of Unlock v13 and PublicLock v14 on Sepolia, as well as a few fixes in the deployment / upgrade scripts

Issues

Fixes #
Refs #

Checklist:

  • 1 PR, 1 purpose: my Pull Request applies to a single purpose
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the docs to reflect my changes if applicable
  • I have added tests (and stories for frontend components) that prove my fix is effective or that my feature works
  • I have performed a self-review of my own code
  • If my code involves visual changes, I am adding applicable screenshots to this thread

Release Note Draft Snippet

@clemsos clemsos requested a review from julien51 January 10, 2024 16:00
@cla-bot cla-bot bot added the cla-signed label Jan 10, 2024
@@ -5347,7 +5347,7 @@ pragma solidity ^0.8.21;
* Every ERC-721 compliant contract must implement the ERC165 interface.
* https://eips.ethereum.org/EIPS/eip-721
*/
contract PublicLockV14 is
contract PublicLock is
Copy link
Member Author

Choose a reason for hiding this comment

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

this is actually needed for consistency across version. All contracts are called Unlock or PublicLock, only the name of the file differs. That is the pattern that is used across the scripts. I changed it before but better to not number the contract name actually

Copy link
Member Author

Choose a reason for hiding this comment

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

I actually moved this to its own PR as more changes are required (e.g. re packaging the bytecode) #13197

Comment on lines -10 to -12
const Safe = require('@safe-global/safe-core-sdk').default
const SafeServiceClient = require('@safe-global/safe-service-client').default
const EthersAdapter = require('@safe-global/safe-ethers-lib').default
Copy link
Member Author

Choose a reason for hiding this comment

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

these libs ave been deprec by Safe team

Copy link
Member

@julien51 julien51 left a comment

Choose a reason for hiding this comment

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

1 quick comment!

})
}
const transactionId = await submitTx(txArgs)
console.log(transactionId)
Copy link
Member

Choose a reason for hiding this comment

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

Maybe show more details?

@@ -48,7 +48,7 @@ export const sepolia: NetworkConfig = {
isTestNetwork: true,
keyManagerAddress: '0x338b1f296217485bf4df6CE9f93ab4C73F72b57D',
maxFreeClaimCost: 1000,
multisig: '', // SAFE does not support Sepolia as of October 11th 2023
Copy link
Member

Choose a reason for hiding this comment

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

yay!

@clemsos
Copy link
Member Author

clemsos commented Jan 11, 2024

UnlockSwapBurner deployed at 0xc9577b38ADA2B1b251EE99e54cC399027d547B68

@julien51
Copy link
Member

UnlockSwapBurner deployed at 0xc9577b38ADA2B1b251EE99e54cC399027d547B68

Nice!

@clemsos
Copy link
Member Author

clemsos commented Jan 12, 2024

remaining tasks for sepolia

  • deploy UDT: 0x447B1492C5038203f1927eB2a374F5Fcdc25999d
  • add Unlock as minter
  • set SwapBurner in Unlock
  • set UDT in Unlock
  • create UDT/WETH pool

@clemsos clemsos merged commit 3d1627e into master Jan 16, 2024
12 checks passed
@clemsos clemsos deleted the deploy-sepolia branch January 16, 2024 20:49
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.

None yet

2 participants