Skip to content

Commit 49e7fb7

Browse files
committed
Merge branch 'refs/heads/staging' into 1791-refactorcontract-change-checkpublicinput-to-external-in-alignedservicemanager
# Conflicts: # contracts/scripts/anvil/state/alignedlayer-deployed-anvil-state.json # contracts/src/core/IAlignedLayerServiceManager.sol
2 parents 8f23174 + 677f9a9 commit 49e7fb7

File tree

71 files changed

+4362
-3015
lines changed

Some content is hidden

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

71 files changed

+4362
-3015
lines changed

.github/workflows/send-proofs-docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
- '**.md'
1111

1212
concurrency:
13-
group: pull_request-${{ github.event.pull_request.number }}
13+
group: ${{ github.event_name == 'merge_group' && format('merge_group-{0}', github.event.merge_group.head_sha) || format('pull_request-{0}', github.event.pull_request.number) }}
1414
cancel-in-progress: true
1515

1616
jobs:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ config-files/*.last_processed_batch.json
1616
nonce_*.bin
1717

1818
infra/ansible/playbooks/ini/**.ini
19+
infra/ansible/playbooks/files/**.pem

Makefile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1268,6 +1268,19 @@ ansible_operator_deploy: ## Deploy the Operator. Parameters: INVENTORY
12681268
-e "ecdsa_keystore_path=$(ECDSA_KEYSTORE)" \
12691269
-e "bls_keystore_path=$(BLS_KEYSTORE)"
12701270

1271+
ansible_explorer_deploy:
1272+
@ansible-playbook infra/ansible/playbooks/explorer.yaml \
1273+
-i $(INVENTORY)
1274+
1275+
ansible_telemetry_create_env:
1276+
@cp -n infra/ansible/playbooks/ini/config-telemetry.ini.example infra/ansible/playbooks/ini/config-telemetry.ini
1277+
@echo "Config files for Telemetry created in infra/ansible/playbooks/ini"
1278+
@echo "Please complete the values and run make ansible_telemetry_deploy"
1279+
1280+
ansible_telemetry_deploy:
1281+
@ansible-playbook infra/ansible/playbooks/telemetry.yaml \
1282+
-i $(INVENTORY)
1283+
12711284
__ETHEREUM_PACKAGE__: ## ____
12721285

12731286
ethereum_package_start: ## Starts the ethereum_package environment

aggregator/pkg/server.go

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ func (agg *Aggregator) ProcessOperatorSignedTaskResponseV2(signedTaskResponse *t
8181
defer cancel() // Ensure the cancel function is called to release resources
8282

8383
// Create a channel to signal when the task is done
84-
done := make(chan struct{})
84+
done := make(chan uint8)
8585

8686
agg.logger.Info("Starting bls signature process")
8787
go func() {
@@ -92,9 +92,11 @@ func (agg *Aggregator) ProcessOperatorSignedTaskResponseV2(signedTaskResponse *t
9292

9393
if err != nil {
9494
agg.logger.Warnf("BLS aggregation service error: %s", err)
95+
done<- 1
9596
// todo shouldn't we here close the channel with a reply = 1?
9697
} else {
9798
agg.logger.Info("BLS process succeeded")
99+
done<- 0
98100
}
99101

100102
close(done)
@@ -106,10 +108,10 @@ func (agg *Aggregator) ProcessOperatorSignedTaskResponseV2(signedTaskResponse *t
106108
case <-ctx.Done():
107109
// The context's deadline was exceeded or it was canceled
108110
agg.logger.Info("Bls process timed out, operator signature will be lost. Batch may not reach quorum")
109-
case <-done:
111+
case res := <-done:
110112
// The task completed successfully
111-
agg.logger.Info("Bls context finished correctly")
112-
*reply = 0
113+
agg.logger.Info("Bls context finished on time")
114+
*reply = res
113115
}
114116

115117
return nil

batcher/aligned-sdk/abi/BatcherPaymentService.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

contracts/bindings/AlignedLayerServiceManager/binding.go

Lines changed: 2 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"addresses": {
3+
"batcherPaymentService": "0x7bc06c482DEAd17c0e297aFbC32f6e63d3846650",
4+
"batcherPaymentServiceImplementation": "0x7969c5eD335650692Bc04293B07F5BF2e7A673C0"
5+
}
6+
}

contracts/script/upgrade/AlignedLayerPauserUpgrader.s.sol

Lines changed: 0 additions & 128 deletions
This file was deleted.

contracts/script/upgrade/AlignedLayerUpgradeAddAggregator.s.sol

Lines changed: 0 additions & 114 deletions
This file was deleted.

contracts/scripts/anvil/state/alignedlayer-deployed-anvil-state.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)