mirror of
https://github.com/lens-protocol/core.git
synced 2026-01-10 22:58:08 -05:00
fix: Scripts renaming and catapulta network
Co-authored-by: Victor Naumik <vicnaum@gmail.com>
This commit is contained in:
@@ -360,7 +360,7 @@ contract S01_DeployLensV2Upgrade is Script, ForkManagement, ArrayHelpers {
|
||||
console.log('"arguments": [');
|
||||
console.log('\t"%s"', address(proxyAdminContract));
|
||||
console.log('\t"%s"', address(governanceContract));
|
||||
console.log('\t"%s"', governance);
|
||||
console.log('\t"%s"', proxyAdmin);
|
||||
console.log('\t"%s"', address(legacyLensHub));
|
||||
console.log('\t"%s"', lensHubV2Impl);
|
||||
console.log('\t"%s"', treasury);
|
||||
|
||||
@@ -31,7 +31,7 @@ import {LibString} from 'solady/utils/LibString.sol';
|
||||
|
||||
import {ArrayHelpers} from 'script/helpers/ArrayHelpers.sol';
|
||||
|
||||
contract B_DeployLensV2Periphery is Script, ForkManagement, ArrayHelpers {
|
||||
contract S02_DeployLensV2Periphery is Script, ForkManagement, ArrayHelpers {
|
||||
// add this to be excluded from coverage report
|
||||
function testLensV2DeployPeriphery() public {}
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ import {ProxyAdmin} from 'contracts/misc/access/ProxyAdmin.sol';
|
||||
import {TransparentUpgradeableProxy} from '@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol';
|
||||
import {LibString} from 'solady/utils/LibString.sol';
|
||||
|
||||
contract D_PerformV2Upgrade is Script, ForkManagement {
|
||||
contract S04_PerformV2Upgrade is Script, ForkManagement {
|
||||
// add this to be excluded from coverage report
|
||||
function testLensV1ToV2Upgrade() public {}
|
||||
|
||||
|
||||
@@ -77,6 +77,12 @@ if [[ "$CONFIRMATION" == "y" || "$CONFIRMATION" == "Y" ]]
|
||||
NETWORK="maticMumbai"
|
||||
fi
|
||||
|
||||
# If $NETWORK is "polygon" change it to "matic" for catapulta
|
||||
if [[ "$NETWORK" == "polygon" ]]
|
||||
then
|
||||
NETWORK="matic"
|
||||
fi
|
||||
|
||||
catapulta script script/$SCRIPT_NAME.s.sol --chain $NETWORK -s $CALLDATA --legacy --skip test --ffi --slow --skip-git
|
||||
exit 0
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user