Skip to content

Commit 0ae5d93

Browse files
authored
feat: merge-train/spartan (#20382)
BEGIN_COMMIT_OVERRIDE chore: Should fix proving benchmarks by reducing committee lag (#20381) chore: standalone forge broadcast wrapper with retry, timeout, and anvil detection (#19824) chore: benchmark tx val (#20227) fix: cloudflare terraform API (#20387) fix: HA e2e test order & retries (#20383) fix: incorporate forge broadcast review feedback (#20390) refactor(p2p): rewrite FileStoreTxCollection with retry, backoff, and shared worker pool (#20317) chore(ci): run ci job on draft PRs (#20395) feat(bot): allow anchoring txs to proposed chain (#20392) feat(p2p): slot-based soft deletion for TxPoolV2 (#20388) chore: add setup-container script (#20309) feat: build aztec-prover-agent with baked-in CRS (#20391) fix!: change protocol contracts deployer to be the contract address (#20396) feat(p2p): enforce minimum tx pool age for block building (#20384) refactor(sentinel): update validator statuses to checkpoint-based naming (#20372) chore: log tx hash (#20413) chore: update l1 fee analysis to measure blob count in L1 blocks (#20414) chore: set up tx file store in next-net (#20418) chore(ci): gate draft PRs from CI, allow override with ci-draft label (#20426) fix: stabilize writing_an_account_contract.test.ts (#20420) END_COMMIT_OVERRIDE
2 parents caf0b5d + a59ceac commit 0ae5d93

File tree

107 files changed

+3689
-721
lines changed

Some content is hidden

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

107 files changed

+3689
-721
lines changed

.github/workflows/ci3.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
runs-on: ubuntu-latest
4242
# exclusive with ci3-external.yml: never run on forks
4343
# (github.event.pull_request.head.repo.fork resolves to nil if not a pull request)
44-
if: github.event.pull_request.head.repo.fork != true && github.event.pull_request.draft == false
44+
if: github.event.pull_request.head.repo.fork != true && (github.event.pull_request.draft == false || contains(github.event.pull_request.labels.*.name, 'ci-draft'))
4545
environment: ${{ startsWith(github.ref, 'refs/tags/v') && 'master' || '' }}
4646
steps:
4747
- name: Checkout

.github/workflows/deploy-network.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,11 @@ jobs:
150150
AZTEC_DOCKER_IMAGE: "aztecprotocol/aztec:${{ inputs.docker_image_tag || inputs.semver }}"
151151
CREATE_ROLLUP_CONTRACTS: ${{ inputs.deploy_contracts == true && 'true' || '' }}
152152
USE_NETWORK_CONFIG: ${{ inputs.deploy_contracts == true && 'false' || '' }}
153+
PROVER_AGENT_DOCKER_IMAGE: "aztecprotocol/aztec-prover-agent:${{ inputs.docker_image_tag || inputs.semver }}"
153154
run: |
154155
echo "Deploying network: ${{ inputs.network }}"
155156
echo "Using image: $AZTEC_DOCKER_IMAGE"
157+
echo "Using prover image: $PROVER_AGENT_DOCKER_IMAGE"
156158
echo "Using branch/ref: ${{ steps.checkout-ref.outputs.ref }}"
157159
158160
cd spartan

.github/workflows/nightly-spartan-bench.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ jobs:
152152
fi
153153
154154
- name: Run proving benchmarks
155-
timeout-minutes: 150
155+
timeout-minutes: 180
156156
env:
157157
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
158158
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
@@ -162,7 +162,7 @@ jobs:
162162
GCP_PROJECT_ID: ${{ secrets.GCP_PROJECT_ID }}
163163
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
164164
RUN_ID: ${{ github.run_id }}
165-
AWS_SHUTDOWN_TIME: 150
165+
AWS_SHUTDOWN_TIME: 180
166166
NO_SPOT: 1
167167
run: |
168168
./.github/ci3.sh network-proving-bench prove-n-tps-fake prove-n-tps-fake "aztecprotocol/aztec:${{ steps.nightly-tag.outputs.nightly_tag }}"

.test_patterns.yml

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -238,27 +238,6 @@ tests:
238238
owners:
239239
- *saleel
240240

241-
# Example http://ci.aztec-labs.com/18db8adf0db50928
242-
# This seems to be an error in acvm wasm/js
243-
- regex: "run_compose_test [a-z]*-[a-z]* box boxes"
244-
error_regex: "call_indirect to a null table entry"
245-
owners:
246-
- *adam
247-
248-
# Example http://ci.aztec-labs.com/1752518c2215134c
249-
# This seems to be a flake in how this is set up. TODO redo boxes.
250-
- regex: "run_compose_test [a-z]*-[a-z]* box boxes"
251-
error_regex: "expect.locator..toBeVisible.."
252-
owners:
253-
- *adam
254-
255-
# Example http://ci.aztec-labs.com/cd76b19670ab613f
256-
# related to wasm proving browser flakes potentially
257-
- regex: "run_compose_test [a-z]*-[a-z]* box boxes"
258-
error_regex: "Out of bounds memory access (evaluating 'this.exports"
259-
owners:
260-
- *adam
261-
262241
- regex: "run_compose_test vite-[a-z]* box boxes"
263242
error_regex: "Test timeout of [0-9]+ms exceeded."
264243
owners:
@@ -330,13 +309,6 @@ tests:
330309
owners:
331310
- *palla
332311

333-
# http://ci.aztec-labs.com/963635a09039594f
334-
# http://ci.aztec-labs.com/d3b12131764bce18
335-
- regex: "boxes/scripts/run_test.sh"
336-
error_regex: "sending signal TERM to command"
337-
owners:
338-
- *adam
339-
340312
# http://ci.aztec-labs.com/e8228a36afda93b8
341313
# Test passed but there was an error on stopping
342314
- regex: "playground/scripts/run_test.sh"

ci3/run_compose_test

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@ shutdown=0
1414
trap 'shutdown=1' TERM INT
1515

1616
down() {
17-
docker compose -p "$name" down --remove-orphans --timeout 2 >/dev/null 2>&1 || true
17+
local down_flags="--remove-orphans --timeout 2"
18+
if [ "${REMOVE_COMPOSE_VOLUMES:-0}" -eq 1 ]; then
19+
down_flags="-v $down_flags"
20+
fi
21+
docker compose -p "$name" down $down_flags >/dev/null 2>&1 || true
1822
}
1923
trap down EXIT
2024

docs/docs-developers/docs/resources/migration_notes.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,26 @@ Additionally, `debug_log_format_slice` has been removed. Use `debug_log_format`
9797

9898
This has been done as usage of Noir slices is discouraged and the function was unused in the aztec codebase.
9999

100+
### [AztecNode] Sentinel validator status values renamed
101+
102+
The `ValidatorStatusInSlot` values returned by `getValidatorsStats` and `getValidatorStats` have been updated to reflect the multi-block-per-slot model, where blocks and checkpoints are distinct concepts:
103+
104+
```diff
105+
- 'block-mined'
106+
+ 'checkpoint-mined'
107+
108+
- 'block-proposed'
109+
+ 'checkpoint-proposed'
110+
111+
- 'block-missed'
112+
+ 'checkpoint-missed' // blocks were proposed but checkpoint was not attested
113+
+ 'blocks-missed' // no block proposals were sent at all
114+
```
115+
116+
The `attestation-sent` and `attestation-missed` values are unchanged but now explicitly refer to checkpoint attestations.
117+
118+
The `ValidatorStatusType` used for categorizing statuses has also changed from `'block' | 'attestation'` to `'proposer' | 'attestation'`.
119+
100120
### [aztec.js] `getDecodedPublicEvents` renamed to `getPublicEvents` with new signature
101121

102122
The `getDecodedPublicEvents` function has been renamed to `getPublicEvents` and now uses a filter object instead of positional parameters:

l1-contracts/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "@aztec/l1-contracts",
33
"version": "0.1.0",
4+
"type": "module",
45
"license": "Apache-2.0",
56
"description": "Aztec contracts for the Ethereum mainnet and testnets",
67
"devDependencies": {

0 commit comments

Comments
 (0)