mirror of
https://github.com/lens-protocol/core.git
synced 2026-01-09 14:18:04 -05:00
misc: deploy universal publicActProxy on amoy testnet
This commit is contained in:
@@ -105,16 +105,6 @@ contract DeployPublicActProxy is Script, ForkManagement, ArrayHelpers {
|
||||
console.log('CollectPublicationAction: %s', collectPublicationAction);
|
||||
}
|
||||
|
||||
function run(string memory targetEnv_) external {
|
||||
targetEnv = targetEnv_;
|
||||
loadJson();
|
||||
checkNetworkParams();
|
||||
loadBaseAddresses();
|
||||
loadPrivateKeys();
|
||||
deploy();
|
||||
governanceActions();
|
||||
}
|
||||
|
||||
function deploy() internal {
|
||||
vm.startBroadcast(deployer.ownerPk);
|
||||
{
|
||||
@@ -140,4 +130,14 @@ contract DeployPublicActProxy is Script, ForkManagement, ArrayHelpers {
|
||||
vm.stopBroadcast();
|
||||
console.log('PublicActProxy added as DelegatedExecutor of AnonymousProfileId: %s', publicActProxy);
|
||||
}
|
||||
|
||||
function run(string memory targetEnv_) external {
|
||||
targetEnv = targetEnv_;
|
||||
loadJson();
|
||||
checkNetworkParams();
|
||||
loadBaseAddresses();
|
||||
loadPrivateKeys();
|
||||
deploy();
|
||||
governanceActions();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -86,7 +86,7 @@ if [[ "$CONFIRMATION" == "y" || "$CONFIRMATION" == "Y" ]]
|
||||
catapulta script script/$SCRIPT_NAME.s.sol --chain $NETWORK --sig $CALLDATA --legacy --skip test --ffi --slow --skip-git
|
||||
exit 0
|
||||
else
|
||||
forge script script/$SCRIPT_NAME.s.sol:$SCRIPT_NAME --sig $CALLDATA --rpc-url $NETWORK -vv --skip test --ffi --slow --broadcast
|
||||
forge script script/$SCRIPT_NAME.s.sol:$SCRIPT_NAME --sig $CALLDATA --rpc-url $NETWORK -vv --skip test --ffi --slow --broadcast --verify
|
||||
fi
|
||||
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user