Skip to content

Commit 87c7a10

Browse files
committed
feat: wip make targets to run scripts
1 parent da2f9d0 commit 87c7a10

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

Makefile

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,19 @@ verifier_disable:
289289
@echo "Disabling verifier with ID: $(VERIFIER_ID)"
290290
@. contracts/scripts/.env && . contracts/scripts/disable_verifier.sh $(VERIFIER_ID)
291291

292+
TODO finish:
293+
strategies_get_weight:
294+
@echo "Getting strategy weight"
295+
@. contracts/scripts/.env && . contracts/scripts/get_strategy_weight.sh
296+
297+
strategies_update_weight:
298+
@echo "Updating strategy weight: "
299+
@. contracts/scripts/.env && . contracts/scripts/update_strategy_weight.sh
300+
301+
strategies_remove:
302+
@echo "Removing strategy with ID: $(STRATEGY_ID)"
303+
@. contracts/scripts/.env && ./contracts/scripts/remove_strategy.sh
304+
292305
__BATCHER__:
293306

294307
BURST_SIZE ?= 5
@@ -568,8 +581,7 @@ run_storage: ## Run storage using storage-docker-compose.yaml
568581

569582
__DEPLOYMENT__: ## ____
570583
deploy_aligned_contracts: ## Deploy Aligned Contracts. Parameters: NETWORK=<mainnet|holesky|sepolia>
571-
@echo "Deploying Aligned Contracts on $(NETWORK) network..."
572-
@. contracts/scripts/.env.$(NETWORK) && . contracts/scripts/deploy_aligned_contracts.sh
584+
@. contracts/scripts/.env && . contracts/scripts/deploy_aligned_contracts.sh
573585

574586
deploy_pauser_registry: ## Deploy Pauser Registry
575587
@echo "Deploying Pauser Registry..."
@@ -612,8 +624,7 @@ deploy_verify_batch_inclusion_caller:
612624
@. examples/verify/.env && . examples/verify/scripts/deploy_verify_batch_inclusion_caller.sh
613625

614626
deploy_batcher_payment_service: ## Deploy BatcherPayments contract. Parameters: NETWORK=<mainnet|holesky|sepolia>
615-
@echo "Deploying BatcherPayments contract on $(NETWORK) network..."
616-
@. contracts/scripts/.env.$(NETWORK) && . contracts/scripts/deploy_batcher_payment_service.sh
627+
@. contracts/scripts/.env && . contracts/scripts/deploy_batcher_payment_service.sh
617628

618629
upgrade_batcher_payment_service: ## Upgrade BatcherPayments contract. Parameters: NETWORK=<mainnet|holesky|sepolia
619630
@echo "Upgrading BatcherPayments Contract on $(NETWORK) network..."

0 commit comments

Comments
 (0)