fix(aztec-node): import inspectBlockParameter in server.ts#24323
Merged
mverzilli merged 1 commit intoJun 26, 2026
Conversation
mverzilli
approved these changes
Jun 26, 2026
merge-train/spartan-v5 has landed in v5-next and auto-pulled into this train. Its server.ts refactor (#24283) rewrote the imports and dropped inspectBlockParameter, but this train's getContract change (#24207) still calls it in the reference-block-not-found error, so the merged server.ts references an unimported symbol and the yarn-project build fails. Re-add inspectBlockParameter to the existing @aztec/stdlib/block import.
b5ea06a to
91f13c5
Compare
This was referenced Jun 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
merge-train/spartan-v5(#24272) has landed inv5-nextand been auto-pulled into this train (merge commit34209c32), so the cross-train build break is now live on themerge-train/fairies-v5tip itself —yarn-projectno longer compiles (make: *** [Makefile:359: yarn-project] Error 1, incompile_all).Root cause
In
aztec-node/src/aztec-node/server.ts:split server.ts into factory + focused modules) rewrote the imports and droppedinspectBlockParameter— its own uses moved intomodules/node_world_state_queries.ts, which imports it correctly.make node.getContract take an optional reference block) still callsinspectBlockParameter(referenceBlock)ingetContract's reference-block-not-found error.The auto-merge took spartan-v5's import block, leaving
getContractreferencing an unimported symbol →Cannot find name 'inspectBlockParameter'.Fix
Re-add
inspectBlockParameterto the existing@aztec/stdlib/blockimport inserver.ts(it is the only remaining consumer there, and the symbol is still exported from that module). One-line change; the error message is unchanged.Since the train tip already contains spartan-v5's refactor, this PR's own CI now builds the actual merged tree, so it verifies the fix directly.
Refs #24223, #24207, #24283.