Skip to content

fix: reconnect L1 port-forward after epoch-boundary sleep in n_tps_prove#23800

Merged
spypsy merged 1 commit into
merge-train/spartanfrom
spy/fix-proving-bench-port-forward
Jun 2, 2026
Merged

fix: reconnect L1 port-forward after epoch-boundary sleep in n_tps_prove#23800
spypsy merged 1 commit into
merge-train/spartanfrom
spy/fix-proving-bench-port-forward

Conversation

@spypsy

@spypsy spypsy commented Jun 2, 2026

Copy link
Copy Markdown
Member

The proving bench (n_tps_prove.test.ts) was failing with ECONNREFUSED on the first L1 RPC call after the epoch-boundary wait. Root cause: kubectl port-forward to the eth-execution service was established once in beforeAll, then died silently during the ~30-minute sleep in beforeEach, leaving rollupCheatCodes pointing at a dead socket.

Fix: after the long sleep, kill the stale endpoint and re-establish a fresh L1 connection via getEthereumEndpoint before rollupCheatCodes is used again. Also switches beforeAll to use getEthereumEndpoint (prefers external LoadBalancer IP when available over a port-forward).

Fixes 5b2fc8c397ec45c0

@spypsy spypsy enabled auto-merge (squash) June 2, 2026 15:31
@spypsy spypsy merged commit f6e1c09 into merge-train/spartan Jun 2, 2026
14 checks passed
@spypsy spypsy deleted the spy/fix-proving-bench-port-forward branch June 2, 2026 16:03
danielntmd pushed a commit to danielntmd/aztec-packages that referenced this pull request Jun 4, 2026
BEGIN_COMMIT_OVERRIDE
chore: deploy next-net and reuse contracts (AztecProtocol#23761)
chore: turn on autoscaling (AztecProtocol#23706)
chore: rename staging-public to staging (AztecProtocol#23767)
chore(p2p): use sync hash for tx validation hashing (AztecProtocol#23768)
test(e2e): wait warmup slots in slashing tests (AztecProtocol#23719)
feat(api)!: make getTxReceipt the single tx-lookup API (AztecProtocol#23660)
fix: cap cloned n_tps fees within sponsored FPC balance (AztecProtocol#23770)
fix: protect HA validator Postgres from cluster scale-down (AztecProtocol#23772)
refactor: remove non-pipelining sequencer code path (AztecProtocol#23665)
feat(archiver): add getL2ToL1MembershipWitness node RPC (AztecProtocol#23646)
fix(p2p)!: revamp BLOCK_TXS validations (AztecProtocol#23778)
chore: name the bots (AztecProtocol#23795)
fix(e2e): ensure BBSync init (AztecProtocol#23793)
fix(p2p)!: fix BLOCK_TXS response under proposer equivocation (AztecProtocol#23786)
fix: reconnect L1 port-forward after epoch-boundary sleep in n_tps_prove
(AztecProtocol#23800)
chore: add empty vscode settings for yarn-project (AztecProtocol#23808)
fix(sequencer): only warn about missing proposed checkpoint once overdue
(AztecProtocol#23807)
fix: refresh n_tps fee quotes during sustained benchmark (AztecProtocol#23797)
fix(sequencer): enforce build-frame deadlines and align
attestation/publish windows (AztecProtocol#23776)
END_COMMIT_OVERRIDE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants