fixes #213 feat(circuits): parameterize hidden_cards hand size in Circom - #286
fixes #213 feat(circuits): parameterize hidden_cards hand size in Circom#286dhareymu wants to merge 4 commits into
Conversation
… size in Circom
|
@dhareymu Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
|
Thanks for the work here! Looking at this against #213's acceptance criteria, there's a gap: the actual compiled circuit (
Could you extend the parameterization to the compiled circuit and wire it through to the Rust side? Happy to take another look once that's in. |
|
Appreciate the fixture-generation update, but I don't think this fully closes #213 yet — |
… pipeline artifacts - hidden_cards.circom main component is now parameterized via compile.sh/compile.ps1 with DECK_SIZE and HAND_SIZE env vars (default 52, 5) substituted before circom runs - Remove stale 0-byte hidden_cards.sym artifact - Regenerate generated.rs and generated_fixtures.rs from full circom pipeline (compile -> ptau power=16 -> setup -> prove -> verify -> export-soroban) All 4 circuits verified: hidden_cards, fog_of_war, fair_dice, sealed_bid - Add hidden_cards_supports_non_default_hand_size unit test (hand_size=7) - Fix Cargo.toml dev-dependencies to include cougr-core with testutils feature so integration tests in tests/ resolve test_fixtures without --features flag - Fix examples/hidden_hand Cargo.toml to use local path dependency - Fix PTAU_POWER default to 16 in setup.sh and download-ptau.sh (circuit needs 2^16) - Add lib.sh repo-local circom binary path (target/circom_bin/bin) Closes salazarsebas#213
|
@salazarsebas Apologies for the late response. The highlighted issues have been resolved now. I had some technical issues from my end, that was why the delay. |
|
@salazarsebas kindly help check |
|
@salazarsebas I'm still waiting for you to check and merge |
fixes #213