-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
90 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
const { network } = require('hardhat') | ||
const { setupAccount } = require('../test/utils') | ||
const { upgradeRel, initV3, getRelContract } = require('../scripts/upgradeRel') | ||
const { ethers } = require('ethers') | ||
|
||
// upgrades of Rel are managed via the openzepellin plugin | ||
// mainnet upgrade should run first | ||
module.exports = async ({ getNamedAccounts, deployments }) => { | ||
// const { deployer, proxyAdmin, relOwner, relAdmin } = await getNamedAccounts() | ||
// // this step should be done manually on the mainnet via upgrade script | ||
// if (network.name == 'hardhat') return | ||
// const [RelevantToken] = OZ_SDK_EXPORT.networks.mainnet.proxies[ | ||
// 'REL/RelevantToken' | ||
// ] | ||
// const RelevantTokenV2 = await ethers.getContractFactory( | ||
// 'RelevantToken', | ||
// relOwner, | ||
// ) | ||
// const relv2 = RelevantTokenV2.attach(RelevantToken.address) | ||
// const proxyAdminSigner = await setupAccount(proxyAdmin) | ||
// await upgradeRel(proxyAdminSigner) | ||
// const deployerS = await ethers.getSigner(deployer) | ||
// await initV3(deployerS, relAdmin) | ||
// return true | ||
} | ||
module.exports.tags = ['Rel'] | ||
module.exports.id = 'v3' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"v3": 1639178256 | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
6 changes: 3 additions & 3 deletions
6
...uts/e7cb143f675ce618dabfa12f2e89bec1.json → ...uts/6a5c4518476c8d469a9b87db6c035409.json
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters