Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Support empty wires in CircuitChunks #172

Merged
merged 7 commits into from
Oct 5, 2023
Merged

Conversation

aborgna-q
Copy link
Collaborator

@aborgna-q aborgna-q commented Oct 5, 2023

Now TASO optimizations that result in identity wires won't panic when reassembling the split chunks.

@aborgna-q aborgna-q changed the base branch from feat/taso-split to main October 5, 2023 14:36
@aborgna-q aborgna-q marked this pull request as ready for review October 5, 2023 14:36
@aborgna-q aborgna-q force-pushed the feat/chunk-id-wires branch from bff1d9a to 395f0d7 Compare October 5, 2023 14:36
@aborgna-q aborgna-q requested a review from lmondada October 5, 2023 14:36
Copy link
Contributor

@lmondada lmondada left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot! Can you add a test if it's simple enough?

src/passes/chunks.rs Outdated Show resolved Hide resolved
src/passes/chunks.rs Outdated Show resolved Hide resolved
src/passes/chunks.rs Outdated Show resolved Hide resolved
@aborgna-q
Copy link
Collaborator Author

The new test revealed that Subgraph doesn't like completely empty circuits either, so now there's a bit of extra code to work around that case.

@aborgna-q aborgna-q merged commit f42746f into main Oct 5, 2023
7 checks passed
@aborgna-q aborgna-q deleted the feat/chunk-id-wires branch October 5, 2023 16:33
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