Skip to content

Commit

Permalink
Merge branch 'master' into v15-upgrade-proposal
Browse files Browse the repository at this point in the history
  • Loading branch information
clemsos authored Dec 11, 2024
2 parents 057d991 + 8911556 commit 1a4e07d
Show file tree
Hide file tree
Showing 44 changed files with 485 additions and 1,164 deletions.
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@mdx-js/react": "3.1.0",
"@mui/material": "6.1.9",
"@mui/x-charts": "7.23.0",
"@privy-io/react-auth": "1.95.2",
"@privy-io/react-auth": "1.95.3",
"@tanstack/react-query": "5.62.0",
"@unlock-protocol/networks": "workspace:./packages/networks",
"@unlock-protocol/ui": "workspace:./packages/ui",
Expand Down
337 changes: 0 additions & 337 deletions governance/.openzeppelin/unknown-84532.json

This file was deleted.

2 changes: 1 addition & 1 deletion governance/hardhat.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const config = {
compilers: [
// required to compile oracle as Uniswap v3-periphery supports only solc < 0.8
{ version: '0.7.6', settings: { ...settings, evmVersion: 'istanbul' } },
{ version: '0.8.21', settings },
{ version: '0.8.21', settings: { ...settings, evmVersion: 'shanghai' } },
],
},
sourcify: {
Expand Down
8 changes: 5 additions & 3 deletions governance/scripts/upgrade/prepare.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ async function main({ proxyAddress, contractName, contractVersion }) {
throw Error('Need a version number')
}

console.log(`Setting up version ${contractVersion} from package`)
console.log(
`Setting up ${contractName} version ${contractVersion} from package`
)
const [qualifiedPath] = await copyAndBuildContractsAtVersion(__dirname, [
{
contractName,
Expand All @@ -33,12 +35,12 @@ async function main({ proxyAddress, contractName, contractVersion }) {
await copyAndBuildContractsAtVersion(__dirname, [
{
contractName,
version: contractVersion - 1,
version: contractVersion - 1n,
},
])
const PreviousContract = await ethers.getContractFactory(
`contracts/past-versions/${contractName}V${
contractVersion - 1
contractVersion - 1n
}.sol:${contractName}`
)

Expand Down
Loading

0 comments on commit 1a4e07d

Please sign in to comment.