OpenZeppelin / OpenZeppelin/compact-contracts

Full compile fails with zkir v2 and zkir v3

Open
#900 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
55
Forks
29
Avg merge
5d 7h
Merged PRs (30d)
25

Description

When running a full compile it fails:

  • with v2, the Secp256k1 types are v3-only
  • with v3, it cannot lower Jubjub at all so keygen for MockConfidentialFungibleToken fails

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the full compile with zkir v2 and v3, focusing on the reported Secp256k1 type and Jubjub lowering failures. Done means the full compile succeeds with both versions and keygen for MockConfidentialFungibleToken works.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.