-
Notifications
You must be signed in to change notification settings - Fork 302
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: circular dependency #3392
fix: circular dependency #3392
Conversation
CI looks happy, which is a great sign. If I run
I made sure to confirm that these warnings do not appear on |
I don't want to bikeshed too hard either, but conceptually it is sort of weird to have these things in proof-setup, which is basically just the internal math necessary for the summoning ceremony. The reason that crate has a dependency on the circuits is just to calculate their size. |
I think the ideal thing would be to have benches at the monorepo level, which can then take in any crate they want for whatever reason. |
@conorsch I just noticed this as well. Per #3337, it'll require passing in the
dependency to the Cargo file. Right now, it requires a slightly different feature @cronokirby I agree. I sort of put the benches there as a placeholder to satisfy the CI, but moving it should be simple. I'll make that change as well. |
Ready for review! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the approach here; let's rebase and then get this merged
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One more thing: when I run cargo bench
on this branch, it updates the workspace's Cargo.lock
. The changes to that file should be committed and added to this PR. Other than that, LGTM!
I'm going to do a bit of housekeeping on the commit history here, then merge. |
References #3389. This PR migrates the benches from proof-params to a dedicated bench package and removes any unnecessary dev-dependencies to bypass the circular dependency bug that breaks rust-analyzer.
1cddc43
to
cd1d63e
Compare
References #3389. This PR migrates the benches from
proof-params
to a dedicatedbench
package and removes any unnecessary dev-dependencies to bypass the circular dependency bug that breaks rust-analyzer.