Skip to content

Commit 8dbb94e

Browse files
committed
Merge branch 'refs/heads/1344-ci-improve-servers-setup' into batcher_ansible
2 parents 3ada0e3 + 879cb70 commit 8dbb94e

File tree

71 files changed

+18210
-2977
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

+18210
-2977
lines changed

.dockerignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ volume
1111
nonce_*.bin
1212
docker-compose.yaml
1313
.github/**
14-
**.md
14+
**.md

.github/workflows/build-and-test-go.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: build-go-projects
22

33
on:
4-
merge_group:
54
push:
65
branches: [main]
76
pull_request:

.github/workflows/build-and-test-rust.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: build-and-test-rust-projects
22

33
on:
4-
merge_group:
54
push:
65
branches: [main]
76
pull_request:
@@ -52,6 +51,8 @@ jobs:
5251
steps:
5352
- name: Checkout code
5453
uses: actions/checkout@v4
54+
- name: foundry-toolchain
55+
uses: foundry-rs/[email protected]
5556
- name: Cache Rust dependencies
5657
uses: actions/cache@v3
5758
with:

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: "[CI] Send proofs to network"
22

33
on:
4+
merge_group:
45
pull_request:
56
types:
67
- opened
@@ -23,7 +24,7 @@ jobs:
2324

2425
steps:
2526
- name: Log in to GitHub Container Registry
26-
uses: docker/login-action@v2
27+
uses: docker/login-action@v3
2728
with:
2829
registry: ghcr.io
2930
username: ${{ github.actor }}

.github/workflows/test-merkle-tree.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: test-merkle-tree
22

33
on:
4-
merge_group:
54
push:
65
branches: [main]
76
pull_request:

.github/workflows/test-risc-zero-old.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: test-risc-zero-old
22

33
on:
4-
merge_group:
54
push:
65
branches: [main]
76
pull_request:

.github/workflows/test-risc-zero.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: test-risc-zero
22

33
on:
4-
merge_group:
54
push:
65
branches: [main]
76
pull_request:

.github/workflows/test-sp1-old.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: test-sp1-old
22

33
on:
4-
merge_group:
54
push:
65
branches: [main]
76
pull_request:

.github/workflows/test-sp1.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: test-sp1
22

33
on:
4-
merge_group:
54
push:
65
branches: [main]
76
pull_request:

aggregator/internal/pkg/aggregator.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,9 @@ func (agg *Aggregator) handleBlsAggServiceResponse(blsAggServiceResp blsagg.BlsA
272272
agg.logger.Info("Sending aggregated response onchain", "taskIndex", blsAggServiceResp.TaskIndex,
273273
"batchIdentifierHash", "0x"+hex.EncodeToString(batchIdentifierHash[:]))
274274
for i := 0; i < MaxSentTxRetries; i++ {
275-
_, err = agg.sendAggregatedResponse(batchIdentifierHash, batchData.BatchMerkleRoot, batchData.SenderAddress, nonSignerStakesAndSignature)
275+
receipt, err := agg.sendAggregatedResponse(batchIdentifierHash, batchData.BatchMerkleRoot, batchData.SenderAddress, nonSignerStakesAndSignature)
276276
if err == nil {
277+
agg.telemetry.TaskSentToEthereum(batchData.BatchMerkleRoot, receipt.TxHash.String())
277278
agg.logger.Info("Aggregator successfully responded to task",
278279
"taskIndex", blsAggServiceResp.TaskIndex,
279280
"batchIdentifierHash", "0x"+hex.EncodeToString(batchIdentifierHash[:]))

0 commit comments

Comments
 (0)