mirror of
https://github.com/lens-protocol/core.git
synced 2026-04-22 03:02:03 -04:00
misc: Added proxy admin address as explicit variable.
This commit is contained in:
@@ -57,6 +57,7 @@ task('full-deploy-verify', 'deploys the entire Lens Protocol with explorer verif
|
||||
const deployer = accounts[0];
|
||||
const governance = accounts[1];
|
||||
const treasuryAddress = accounts[2].address;
|
||||
const proxyAdminAddress = deployer.address;
|
||||
|
||||
// Nonce management in case of deployment issues
|
||||
let deployerNonce = await ethers.provider.getTransactionCount(deployer.address);
|
||||
@@ -144,7 +145,7 @@ task('full-deploy-verify', 'deploys the entire Lens Protocol with explorer verif
|
||||
let proxy = await deployWithVerify(
|
||||
new TransparentUpgradeableProxy__factory(deployer).deploy(
|
||||
lensHubImpl.address,
|
||||
deployer.address,
|
||||
proxyAdminAddress,
|
||||
data,
|
||||
{ nonce: deployerNonce++ }
|
||||
),
|
||||
|
||||
@@ -41,6 +41,7 @@ task('full-deploy', 'deploys the entire Lens Protocol').setAction(async ({}, hre
|
||||
const deployer = accounts[0];
|
||||
const governance = accounts[1];
|
||||
const treasuryAddress = accounts[2].address;
|
||||
const proxyAdminAddress = deployer.address;
|
||||
|
||||
// Nonce management in case of deployment issues
|
||||
let deployerNonce = await ethers.provider.getTransactionCount(deployer.address);
|
||||
@@ -114,7 +115,7 @@ task('full-deploy', 'deploys the entire Lens Protocol').setAction(async ({}, hre
|
||||
let proxy = await deployContract(
|
||||
new TransparentUpgradeableProxy__factory(deployer).deploy(
|
||||
lensHubImpl.address,
|
||||
deployer.address,
|
||||
proxyAdminAddress,
|
||||
data,
|
||||
{ nonce: deployerNonce++ }
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user