Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
a02c83d
chore: fix proving logs script
alexghr Mar 10, 2026
5eedb7d
fix(validator): process block proposals from own validator keys in HA…
spalladino Mar 16, 2026
0daebe9
fix: tx collector bench test
Mar 16, 2026
f6c26a8
fix(p2p): fall back to maxTxsPerCheckpoint for per-block tx validatio…
spalladino Mar 16, 2026
63a8035
Merge branch 'next' into merge-train/spartan
Mar 16, 2026
6845b72
chore: fixing M3 devcontainer builds (#21611)
mrzeszutko Mar 16, 2026
a698baa
Merge branch 'next' into merge-train/spartan
Mar 16, 2026
ce8904d
Merge branch 'next' into merge-train/spartan
Mar 16, 2026
aa97afc
fix: clamp finalized block to oldest available in world-state
AztecBot Mar 17, 2026
1ad718d
test: add integration test for finalized block backwards jump past pr…
AztecBot Mar 17, 2026
92f87f8
fix: avoid `Array.from` with untrusted sizes
spalladino Mar 17, 2026
2154ecf
fix: same change but for field reader
spalladino Mar 17, 2026
79bf4c4
fix: clamp finalized block to oldest available in world-state (#21643)
PhilWindle Mar 17, 2026
75219ef
chore: fix proving logs script (#21335)
PhilWindle Mar 17, 2026
e141dbe
fix: (A-649) tx collector bench test (#21619)
PhilWindle Mar 17, 2026
7cdaafc
fix: skip handleChainFinalized when block is behind oldest available
AztecBot Mar 17, 2026
bbcefc8
fix(validator): process block proposals from own validator keys in HA…
PhilWindle Mar 17, 2026
881eb02
fix: add bounds when allocating arrays in deserialization (#21622)
PhilWindle Mar 17, 2026
fac513c
fix: skip handleChainFinalized when block is behind oldest available …
PhilWindle Mar 17, 2026
e31df37
chore: demote finalized block skip log to trace (#21661)
AztecBot Mar 17, 2026
08b84e8
fix: skip -march auto-detection for cross-compilation presets (#21356)
AztecBot Mar 17, 2026
169ca7c
fix(p2p): penalize peer on tx rejected by pool
spalladino Mar 17, 2026
e4dcdee
chore: revert "add bounds when allocating arrays in deserialization" …
spalladino Mar 17, 2026
938dc3c
fix: capture txs not available error reason in proposal handler (#21670)
spalladino Mar 17, 2026
510f15c
chore(p2p): remove unused method
spalladino Mar 17, 2026
a26fe5b
Merge branch 'next' into merge-train/spartan
Mar 17, 2026
8371fea
Merge branch 'next' into merge-train/spartan
Mar 17, 2026
4943a4f
fix: estimate gas in bot and make BatchCall.simulate() return Simulat…
alexghr Mar 17, 2026
5fd6fd7
fix: prevent HA peer proposals from blocking equivocation in duplicat…
AztecBot Mar 17, 2026
34ee6a4
fix(p2p): penalize peers for errors during response reading
spalladino Mar 17, 2026
c3e214e
fix: batch checkpoint unwinding in handleEpochPrune (A-690)
PhilWindle Mar 17, 2026
94eaf06
Merge branch 'next' into merge-train/spartan
Mar 17, 2026
b32d86f
fix(p2p): penalize peers for errors during response reading (#21680)
mralj Mar 17, 2026
9f90527
feat(sequencer): add build-ahead config and metrics (#20779)
Maddiaa0 Mar 17, 2026
09a1e9b
chore: fixing build on mac (#21685)
mrzeszutko Mar 17, 2026
b0ab1f8
Merge branch 'merge-train/spartan' into palla/remove-validate-attesta…
spalladino Mar 17, 2026
f503d61
fix: HA deadlock for last block edge case (#21690)
spypsy Mar 17, 2026
e84fa88
chore(p2p): lower attestation pool per-slot caps to 2
spalladino Mar 17, 2026
8738399
fix: process all contract classes in storeBroadcastedIndividualFuncti…
PhilWindle Mar 17, 2026
4c2210e
chore: add slack success post on nightly scenario
Mar 17, 2026
1827411
chore: add slack success post on nightly scenario (#21701)
danielntmd Mar 17, 2026
e56de5c
Merge branch 'next' into merge-train/spartan
Mar 17, 2026
33d776e
fix(test): workaround slow mock creation
spalladino Mar 17, 2026
b56ac49
fix(builder): persist contractsDB across blocks within a checkpoint (…
spalladino Mar 17, 2026
8c12619
Merge branch 'next' into merge-train/spartan
Mar 17, 2026
946ddb1
fix: only delete logs from rolled-back blocks, not entire tag (A-686)…
PhilWindle Mar 18, 2026
3124c16
Merge branch 'next' into merge-train/spartan
Mar 18, 2026
404e96a
Merge branch 'next' into merge-train/spartan
Mar 18, 2026
8bbc2bb
Merge branch 'next' into merge-train/spartan
Mar 18, 2026
5541264
chore(p2p): lower attestation pool per-slot caps to 2 (#21709)
PhilWindle Mar 18, 2026
62cdfa0
chore(p2p): remove unused method (#21678)
PhilWindle Mar 18, 2026
59d2522
fix(p2p): penalize peer on tx rejected by pool (#21677)
PhilWindle Mar 18, 2026
b8f5d35
fix(test): workaround slow mock creation (#21708)
PhilWindle Mar 18, 2026
30cd4c0
Merge branch 'next' into merge-train/spartan
Mar 18, 2026
2e79200
fix(sequencer): fix checkpoint budget redistribution for multi-block …
spalladino Mar 18, 2026
12c2e49
Review changes
PhilWindle Mar 18, 2026
6e0b2f7
fix: batch checkpoint unwinding in handleEpochPrune (A-690) (#21668)
PhilWindle Mar 18, 2026
05692f3
fix(sequencer): add missing opts arg to checkpoint_builder tests (#21…
AztecBot Mar 18, 2026
4a893dc
fix: race condition in fast tx collection (#21496)
deffrian Mar 18, 2026
2c0c00d
fix: increase default postgres disk size from 1Gi to 10Gi (#21741)
AztecBot Mar 18, 2026
c8853ae
Merge branch 'next' into merge-train/spartan
Mar 18, 2026
ac5100e
fix: update batch_tx_requester tests to use RequestTracker (#21734)
AztecBot Mar 18, 2026
1a97dcf
fix: deflake attempt for l1_tx_utils
spypsy Mar 18, 2026
e68eb57
chore: replace dead BOOTSTRAP_TO env var with bootstrap.sh build arg …
spalladino Mar 18, 2026
5bb159b
fix(sequencer): extract gas and blob configs from valid requests only…
spalladino Mar 18, 2026
6430305
fix: deflake attempt for l1_tx_utils (#21743)
PhilWindle Mar 18, 2026
aed98c1
fix(test): fix flaky keystore reload test (#21749)
AztecBot Mar 18, 2026
85c533e
Merge branch 'next' into merge-train/spartan
Mar 18, 2026
fc04fdb
Merge branch 'next' into merge-train/spartan
Mar 18, 2026
e7aa6cc
fix(test): fix flaky duplicate_attestation_slash test
AztecBot Mar 18, 2026
b2c4fd2
fix(test): fix flaky duplicate_attestation_slash test (#21753)
PhilWindle Mar 18, 2026
020a03e
Merge branch 'next' into merge-train/spartan
Mar 18, 2026
8c8818b
Merge branch 'next' into merge-train/spartan
Mar 18, 2026
4902133
feat(pipeline): introduce pipeline views for building (#21026)
Maddiaa0 Mar 18, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion barretenberg/cpp/CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"TARGET_ARCH": "skylake",
"ENABLE_PIC": "ON"
}
},
Expand Down
1 change: 0 additions & 1 deletion barretenberg/cpp/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ else
export native_preset=${NATIVE_PRESET:-clang20-no-avm}
fi
export hash=$(hash_str $(../../avm-transpiler/bootstrap.sh hash) $(cache_content_hash .rebuild_patterns))
export native_build_dir=$(scripts/preset-build-dir)

# Injects version number into a given bb binary.
# Means we don't actually need to rebuild bb to release a new version if code hasn't changed.
Expand Down
14 changes: 13 additions & 1 deletion barretenberg/cpp/cmake/arch.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,19 @@ if(WASM)
add_compile_options(-fno-exceptions -fno-slp-vectorize)
endif()

if(NOT WASM AND NOT ARM AND TARGET_ARCH)
# Auto-detect TARGET_ARCH if not explicitly set.
# Use 'skylake' on x86_64 (matches our cross-compile presets) and 'generic' on ARM
# to avoid emitting CPU-specific instructions (e.g. SVE on Graviton) that break on
# other ARM machines like Apple Silicon.
if(NOT WASM AND NOT TARGET_ARCH)
if(ARM)
set(TARGET_ARCH "generic")
else()
set(TARGET_ARCH "skylake")
endif()
endif()

if(NOT WASM AND TARGET_ARCH)
message(STATUS "Target architecture: ${TARGET_ARCH}")
add_compile_options(-march=${TARGET_ARCH})
endif()
2 changes: 2 additions & 0 deletions barretenberg/cpp/scripts/zig-c++.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/bash
# Wrapper for zig c++ that pins glibc 2.35 on Linux (Ubuntu 22.04+ compat)
# and uses native target on macOS.
# Note: arch.cmake handles -march selection (skylake on x86, generic on ARM)
# which overrides zig's native CPU detection, preventing CPU-specific instructions.
if [[ "$(uname -s)" == "Linux" ]]; then
exec zig c++ -target native-linux-gnu.2.35 "$@"
else
Expand Down
2 changes: 2 additions & 0 deletions barretenberg/cpp/scripts/zig-cc.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/bash
# Wrapper for zig cc that pins glibc 2.35 on Linux (Ubuntu 22.04+ compat)
# and uses native target on macOS.
# Note: arch.cmake handles -march selection (skylake on x86, generic on ARM)
# which overrides zig's native CPU detection, preventing CPU-specific instructions.
if [[ "$(uname -s)" == "Linux" ]]; then
exec zig cc -target native-linux-gnu.2.35 "$@"
else
Expand Down
16 changes: 12 additions & 4 deletions barretenberg/sol/scripts/init_honk.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,22 @@
#!/usr/bin/env bash
set -eu
# the verification key is the same for ultra and ultra zk
SRS_PATH="$HOME/.bb-crs"
OUTPUT_PATH="./src/honk"
KEYGEN="../cpp/build/bin/honk_solidity_key_gen"

if [ ! -x "$KEYGEN" ]; then
echo "Error: honk_solidity_key_gen binary not found at $KEYGEN" >&2
echo "Run barretenberg/cpp bootstrap first." >&2
exit 1
fi

mkdir -p './src/honk/keys'

../cpp/build/bin/honk_solidity_key_gen add2 $OUTPUT_PATH $SRS_PATH
../cpp/build/bin/honk_solidity_key_gen blake $OUTPUT_PATH $SRS_PATH
../cpp/build/bin/honk_solidity_key_gen ecdsa $OUTPUT_PATH $SRS_PATH
../cpp/build/bin/honk_solidity_key_gen recursive $OUTPUT_PATH $SRS_PATH
$KEYGEN add2 $OUTPUT_PATH $SRS_PATH
$KEYGEN blake $OUTPUT_PATH $SRS_PATH
$KEYGEN ecdsa $OUTPUT_PATH $SRS_PATH
$KEYGEN recursive $OUTPUT_PATH $SRS_PATH

echo ""
echo "✓ VK generation complete"
Expand Down
7 changes: 6 additions & 1 deletion noir/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,12 @@ function build_native {
set -euo pipefail

if ! cache_download noir-$hash.tar.gz; then
(cd noir-repo && cargo build --locked --release --target-dir target)
# Serialize cargo operations to avoid race conditions with avm-transpiler
# which may run in parallel and share the same CARGO_HOME.
(
flock -x 200
cd noir-repo && cargo build --locked --release --target-dir target
) 200>/tmp/rustup.lock
cache_upload noir-$hash.tar.gz noir-repo/target/release/{nargo,acvm,noir-profiler}
fi
}
Expand Down
9 changes: 9 additions & 0 deletions yarn-project/p2p/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ export interface P2PConfig
/** Maximum transactions per block for validation. Overrides maxTxsPerBlock for gossip validation when set. */
validateMaxTxsPerBlock?: number;

/** Maximum transactions per checkpoint for validation. Used as fallback for maxTxsPerBlock when that is not set. */
validateMaxTxsPerCheckpoint?: number;

/** Maximum L2 gas per block for validation. When set, txs exceeding this limit are rejected. */
validateMaxL2BlockGas?: number;

Expand Down Expand Up @@ -214,6 +217,12 @@ export const p2pConfigMappings: ConfigMappingsType<P2PConfig> = {
'Maximum transactions per block for validation. Overrides maxTxsPerBlock for gossip validation when set.',
parseEnv: (val: string) => (val ? parseInt(val, 10) : undefined),
},
validateMaxTxsPerCheckpoint: {
env: 'VALIDATOR_MAX_TX_PER_CHECKPOINT',
description:
'Maximum transactions per checkpoint for validation. Used as fallback for maxTxsPerBlock when that is not set.',
parseEnv: (val: string) => (val ? parseInt(val, 10) : undefined),
},
validateMaxL2BlockGas: {
env: 'VALIDATOR_MAX_L2_BLOCK_GAS',
description: 'Maximum L2 gas per block for validation. When set, txs exceeding this limit are rejected.',
Expand Down
2 changes: 1 addition & 1 deletion yarn-project/p2p/src/services/libp2p/libp2p_service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ export class LibP2PService extends WithTracer implements P2PService {

const proposalValidatorOpts = {
txsPermitted: !config.disableTransactions,
maxTxsPerBlock: config.validateMaxTxsPerBlock,
maxTxsPerBlock: config.validateMaxTxsPerBlock ?? config.validateMaxTxsPerCheckpoint,
};
this.blockProposalValidator = new BlockProposalValidator(epochCache, proposalValidatorOpts);
this.checkpointProposalValidator = new CheckpointProposalValidator(epochCache, proposalValidatorOpts);
Expand Down
2 changes: 1 addition & 1 deletion yarn-project/validator-client/src/factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export function createBlockProposalHandler(
const metrics = new ValidatorMetrics(deps.telemetry);
const blockProposalValidator = new BlockProposalValidator(deps.epochCache, {
txsPermitted: !config.disableTransactions,
maxTxsPerBlock: config.validateMaxTxsPerBlock,
maxTxsPerBlock: config.validateMaxTxsPerBlock ?? config.validateMaxTxsPerCheckpoint,
});
return new BlockProposalHandler(
deps.checkpointsBuilder,
Expand Down
Loading