mirror of
https://github.com/lens-protocol/core.git
synced 2026-04-22 03:02:03 -04:00
misc: Commented out approval follow module deployment from tasks.
This commit is contained in:
@@ -222,14 +222,15 @@ task('full-deploy-verify', 'deploys the entire Lens Protocol with explorer verif
|
||||
[lensHub.address, moduleGlobals.address],
|
||||
'contracts/core/modules/follow/FeeFollowModule.sol:FeeFollowModule'
|
||||
);
|
||||
console.log('\n\t-- Deploying approvalFollowModule --');
|
||||
const approvalFollowModule = await deployWithVerify(
|
||||
new ApprovalFollowModule__factory(deployer).deploy(lensHub.address, {
|
||||
nonce: deployerNonce++,
|
||||
}),
|
||||
[lensHub.address],
|
||||
'contracts/core/modules/follow/ApprovalFollowModule.sol:ApprovalFollowModule'
|
||||
);
|
||||
// --- COMMENTED OUT AS THIS IS NOT A LAUNCH MODULE ---
|
||||
// console.log('\n\t-- Deploying approvalFollowModule --');
|
||||
// const approvalFollowModule = await deployWithVerify(
|
||||
// new ApprovalFollowModule__factory(deployer).deploy(lensHub.address, {
|
||||
// nonce: deployerNonce++,
|
||||
// }),
|
||||
// [lensHub.address],
|
||||
// 'contracts/core/modules/follow/ApprovalFollowModule.sol:ApprovalFollowModule'
|
||||
// );
|
||||
|
||||
// Deploy reference module
|
||||
console.log('\n\t-- Deploying followerOnlyReferenceModule --');
|
||||
@@ -276,11 +277,12 @@ task('full-deploy-verify', 'deploys the entire Lens Protocol with explorer verif
|
||||
await waitForTx(
|
||||
lensHub.whitelistFollowModule(feeFollowModule.address, true, { nonce: governanceNonce++ })
|
||||
);
|
||||
await waitForTx(
|
||||
lensHub.whitelistFollowModule(approvalFollowModule.address, true, {
|
||||
nonce: governanceNonce++,
|
||||
})
|
||||
);
|
||||
// --- COMMENTED OUT AS THIS IS NOT A LAUNCH MODULE ---
|
||||
// await waitForTx(
|
||||
// lensHub.whitelistFollowModule(approvalFollowModule.address, true, {
|
||||
// nonce: governanceNonce++,
|
||||
// })
|
||||
// );
|
||||
|
||||
// Whitelist the reference module
|
||||
console.log('\n\t-- Whitelisting Reference Module --');
|
||||
@@ -308,7 +310,8 @@ task('full-deploy-verify', 'deploys the entire Lens Protocol with explorer verif
|
||||
'revert collect module': revertCollectModule.address,
|
||||
'empty collect module': emptyCollectModule.address,
|
||||
'fee follow module': feeFollowModule.address,
|
||||
'approval follow module': approvalFollowModule.address,
|
||||
// --- COMMENTED OUT AS THIS IS NOT A LAUNCH MODULE ---
|
||||
// 'approval follow module': approvalFollowModule.address,
|
||||
'follower only reference module': followerOnlyReferenceModule.address,
|
||||
};
|
||||
const json = JSON.stringify(addrs, null, 2);
|
||||
|
||||
@@ -175,10 +175,11 @@ task('full-deploy', 'deploys the entire Lens Protocol').setAction(async ({}, hre
|
||||
nonce: deployerNonce++,
|
||||
})
|
||||
);
|
||||
console.log('\n\t-- Deploying approvalFollowModule --');
|
||||
const approvalFollowModule = await deployContract(
|
||||
new ApprovalFollowModule__factory(deployer).deploy(lensHub.address, { nonce: deployerNonce++ })
|
||||
);
|
||||
// --- COMMENTED OUT AS THIS IS NOT A LAUNCH MODULE ---
|
||||
// console.log('\n\t-- Deploying approvalFollowModule --');
|
||||
// const approvalFollowModule = await deployContract(
|
||||
// new ApprovalFollowModule__factory(deployer).deploy(lensHub.address, { nonce: deployerNonce++ })
|
||||
// );
|
||||
|
||||
// Deploy reference module
|
||||
console.log('\n\t-- Deploying followerOnlyReferenceModule --');
|
||||
@@ -221,9 +222,10 @@ task('full-deploy', 'deploys the entire Lens Protocol').setAction(async ({}, hre
|
||||
await waitForTx(
|
||||
lensHub.whitelistFollowModule(feeFollowModule.address, true, { nonce: governanceNonce++ })
|
||||
);
|
||||
await waitForTx(
|
||||
lensHub.whitelistFollowModule(approvalFollowModule.address, true, { nonce: governanceNonce++ })
|
||||
);
|
||||
// --- COMMENTED OUT AS THIS IS NOT A LAUNCH MODULE ---
|
||||
// await waitForTx(
|
||||
// lensHub.whitelistFollowModule(approvalFollowModule.address, true, { nonce: governanceNonce++ })
|
||||
// );
|
||||
|
||||
// Whitelist the reference module
|
||||
console.log('\n\t-- Whitelisting Reference Module --');
|
||||
@@ -259,7 +261,8 @@ task('full-deploy', 'deploys the entire Lens Protocol').setAction(async ({}, hre
|
||||
'revert collect module': revertCollectModule.address,
|
||||
'empty collect module': emptyCollectModule.address,
|
||||
'fee follow module': feeFollowModule.address,
|
||||
'approval follow module': approvalFollowModule.address,
|
||||
// --- COMMENTED OUT AS THIS IS NOT A LAUNCH MODULE ---
|
||||
// 'approval follow module': approvalFollowModule.address,
|
||||
'follower only reference module': followerOnlyReferenceModule.address,
|
||||
};
|
||||
const json = JSON.stringify(addrs, null, 2);
|
||||
|
||||
Reference in New Issue
Block a user