Skip to content

Commit 7bf60ac

Browse files
JuArceMauroToscano
andauthored
feat: Sepolia deployment (#2066)
Co-authored-by: MauroFab <[email protected]>
1 parent a3675f1 commit 7bf60ac

File tree

48 files changed

+641
-407
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+641
-407
lines changed

Makefile

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -437,8 +437,8 @@ operator_remove_from_whitelist_devnet:
437437
RPC_URL="http://localhost:8545" PRIVATE_KEY="0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80" OUTPUT_PATH=./script/output/devnet/alignedlayer_deployment_output.json ./contracts/scripts/operator_remove_from_whitelist.sh $(OPERATOR_ADDRESS)
438438

439439
operator_whitelist:
440-
@echo "Whitelisting operator $(OPERATOR_ADDRESS)"
441-
@. contracts/scripts/.env && . contracts/scripts/operator_whitelist.sh $(OPERATOR_ADDRESS)
440+
@echo "Whitelisting operator $(OPERATOR_ADDRESS) on $(NETWORK)"
441+
@. contracts/scripts/.env.$(NETWORK) && . contracts/scripts/operator_whitelist.sh $(OPERATOR_ADDRESS)
442442

443443
operator_remove_from_whitelist:
444444
@echo "Removing operator $(OPERATOR_ADDRESS)"
@@ -805,7 +805,7 @@ generate_circom_groth16_bn256_setup: ## Run the circom_groth16_bn256_script setu
805805
__CONTRACTS_DEPLOYMENT__: ## ____
806806
deploy_aligned_contracts: ## Deploy Aligned Contracts. Parameters: NETWORK=<mainnet|holesky|sepolia>
807807
@echo "Deploying Aligned Contracts on $(NETWORK) network..."
808-
@. co ntracts/scripts/.env.$(NETWORK) && . contracts/scripts/deploy_aligned_contracts.sh
808+
@. contracts/scripts/.env.$(NETWORK) && . contracts/scripts/deploy_aligned_contracts.sh
809809

810810
deploy_pauser_registry: ## Deploy Pauser Registry
811811
@echo "Deploying Pauser Registry..."
@@ -1349,29 +1349,26 @@ ansible_batcher_create_env: ## Create empty variables files for the Batcher depl
13491349
@echo "Config files for the Batcher created in infra/ansible/playbooks/ini"
13501350
@echo "Please complete the values and run make ansible_batcher_deploy"
13511351

1352-
ansible_batcher_deploy: ## Deploy the Batcher. Parameters: INVENTORY, KEYSTORE
1353-
@if [ -z "$(INVENTORY)" ] || [ -z "$(KEYSTORE)" ]; then \
1354-
echo "Error: Both INVENTORY and KEYSTORE must be set."; \
1352+
ansible_batcher_deploy: ## Deploy the Batcher. Parameters: INVENTORY
1353+
@if [ -z "$(INVENTORY)" ]; then \
1354+
echo "Error: INVENTORY must be set."; \
13551355
exit 1; \
13561356
fi
13571357
@ansible-playbook infra/ansible/playbooks/batcher.yaml \
1358-
-i $(INVENTORY) \
1359-
-e "keystore_path=$(KEYSTORE)"
1358+
-i $(INVENTORY)
13601359

13611360
ansible_aggregator_create_env: ## Create empty variables files for the Aggregator deploy
13621361
@cp -n infra/ansible/playbooks/ini/config-aggregator.ini.example infra/ansible/playbooks/ini/config-aggregator.ini
13631362
@echo "Config files for the Aggregator created in infra/ansible/playbooks/ini"
13641363
@echo "Please complete the values and run make ansible_aggregator_deploy"
13651364

13661365
ansible_aggregator_deploy: ## Deploy the Operator. Parameters: INVENTORY
1367-
@if [ -z "$(INVENTORY)" ] || [ -z "$(ECDSA_KEYSTORE)" ] || [ -z "$(BLS_KEYSTORE)" ]; then \
1368-
echo "Error: INVENTORY, ECDSA_KEYSTORE, BLS_KEYSTORE must be set."; \
1366+
@if [ -z "$(INVENTORY)" ]; then \
1367+
echo "Error: INVENTORY must be set."; \
13691368
exit 1; \
13701369
fi
13711370
@ansible-playbook infra/ansible/playbooks/aggregator.yaml \
1372-
-i $(INVENTORY) \
1373-
-e "ecdsa_keystore_path=$(ECDSA_KEYSTORE)" \
1374-
-e "bls_keystore_path=$(BLS_KEYSTORE)"
1371+
-i $(INVENTORY)
13751372

13761373
ansible_operator_create_env: ## Create empty variables files for the Operator deploy
13771374
@cp -n infra/ansible/playbooks/ini/config-operator.ini.example infra/ansible/playbooks/ini/config-operator.ini
@@ -1380,14 +1377,12 @@ ansible_operator_create_env: ## Create empty variables files for the Operator de
13801377
@echo "Please complete the values and run make ansible_operator_deploy"
13811378

13821379
ansible_operator_deploy: ## Deploy the Operator. Parameters: INVENTORY
1383-
@if [ -z "$(INVENTORY)" ] || [ -z "$(ECDSA_KEYSTORE)" ] || [ -z "$(BLS_KEYSTORE)" ]; then \
1384-
echo "Error: INVENTORY, ECDSA_KEYSTORE, BLS_KEYSTORE must be set."; \
1380+
@if [ -z "$(INVENTORY)" ]; then \
1381+
echo "Error: INVENTORY must be set."; \
13851382
exit 1; \
13861383
fi
13871384
@ansible-playbook infra/ansible/playbooks/operator.yaml \
1388-
-i $(INVENTORY) \
1389-
-e "ecdsa_keystore_path=$(ECDSA_KEYSTORE)" \
1390-
-e "bls_keystore_path=$(BLS_KEYSTORE)"
1385+
-i $(INVENTORY)
13911386

13921387
ansible_explorer_deploy: ## Deploy the Explorer. Parameters: INVENTORY
13931388
@ansible-playbook infra/ansible/playbooks/explorer.yaml \

0 commit comments

Comments
 (0)