Skip to content

fix(aztec-node): import inspectBlockParameter in server.ts#24326

Closed
AztecBot wants to merge 1 commit into
merge-train/fairies-v5from
cb/fix-fairies-v5-inspect-block-param-import
Closed

fix(aztec-node): import inspectBlockParameter in server.ts#24326
AztecBot wants to merge 1 commit into
merge-train/fairies-v5from
cb/fix-fairies-v5-inspect-block-param-import

Conversation

@AztecBot

Copy link
Copy Markdown
Collaborator

What

Re-add the missing inspectBlockParameter value import to yarn-project/aztec-node/src/aztec-node/server.ts.

Why

The merge train PR #24223 (merge-train/fairies-v5v5-next) was dequeued from the merge queue at 11:31 UTC today. The CI3 run on the auto-pull merge (34209c32, "Merge branch 'v5-next' into merge-train/fairies-v5") failed in the yarn-projectcompile_all step with a single TypeScript error:

aztec-node/src/aztec-node/server.ts:498:28 - error TS2304: Cannot find name 'inspectBlockParameter'.

This is a semantic merge break, not a textual conflict (the merge applied cleanly). The train's "make node.getContract take an optional reference block (#24207)" added a call to inspectBlockParameter(...) in the getContract reference-block error message, but the import line was lost when v5-next was merged into the train, leaving the symbol undefined.

Fix

inspectBlockParameter is exported from @aztec/stdlib/block (stdlib/src/block/block_parameter.ts) and is already imported the exact same way in the sibling file aztec-node/src/modules/node_world_state_queries.ts. This PR adds it to server.ts's existing @aztec/stdlib/block import block — a one-line change.

Verification

CI reported exactly one compile error across the whole compile_all run, so this single missing import is the only failure. A full local ./bootstrap.sh build was not feasible in the working container (no docker / no build cache, and yarn install requires the noir submodule's portal packages), so the merge-train CI on this PR is the authoritative check — it re-runs the same compile_all that failed.

Targets the exact merge-train branch merge-train/fairies-v5 so it catches the train up and unblocks #24223.


Created by claudebox · group: slackbot

The merge of v5-next into merge-train/fairies-v5 dropped the
inspectBlockParameter import in aztec-node/server.ts, leaving the
getContract reference-block error message calling an undefined symbol
(TS2304), which broke the yarn-project compile_all step and dequeued the
train PR (#24223) from the merge queue. Re-add the value import from
@aztec/stdlib/block, where it is exported and already imported the same
way in node_world_state_queries.ts.
@AztecBot AztecBot added ci-draft Run CI on draft PRs. ci-no-fail-fast Sets NO_FAIL_FAST in the CI so the run is not aborted on the first failure ci-no-squash claudebox Owned by claudebox. it can push to this PR. labels Jun 26, 2026
@AztecBot

AztecBot commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator Author

Automatically closing this stale claudebox draft PR (no updates for 5+ days). Re-open if still needed.

@AztecBot AztecBot closed this Jul 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-draft Run CI on draft PRs. ci-no-fail-fast Sets NO_FAIL_FAST in the CI so the run is not aborted on the first failure ci-no-squash claudebox Owned by claudebox. it can push to this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant