Skip to content

starknet_transaction_prover: unit-test both overload-rejection paths - #15035

Draft
avi-starkware wants to merge 1 commit into
avi/privacy/errors-unit-testsfrom
avi/privacy/rpc-impl-overload-tests
Draft

starknet_transaction_prover: unit-test both overload-rejection paths#15035
avi-starkware wants to merge 1 commit into
avi/privacy/errors-unit-testsfrom
avi/privacy/rpc-impl-overload-tests

Conversation

@avi-starkware

Copy link
Copy Markdown
Collaborator

rpc_impl.rs had no test module, so neither -32005 path was exercised:
service_busy appeared only as a spec-conformance sample, never through
the real admission logic.

Both paths return the same code, so each test also asserts its own log
line and the absence of the other's. Without that, removing the
admission cap left the queue-full test passing via the queue-wait
timeout instead.

@reviewable-StarkWare

Copy link
Copy Markdown

This change is Reviewable

rpc_impl.rs had no test module, so neither -32005 path was exercised:
service_busy appeared only as a spec-conformance sample, never through
the real admission logic.

Both paths return the same code, so each test also asserts its own log
line and the absence of the other's. Without that, removing the
admission cap left the queue-full test passing via the queue-wait
timeout instead.
@avi-starkware
avi-starkware force-pushed the avi/privacy/errors-unit-tests branch from 0f4e357 to d987c0b Compare August 25, 2026 20:01
@avi-starkware
avi-starkware force-pushed the avi/privacy/rpc-impl-overload-tests branch from a271bfa to 079a479 Compare August 25, 2026 20:01
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