OpenZeppelin / OpenZeppelin/compact-contracts

Add `Either` util circuits

Open
#326 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

2-low effort: 2-S feat:utils stale
Dominant language
TypeScript
Stars
55
Forks
29
Avg merge
5d 7h
Merged PRs (30d)
25

Description

Add castToEitherLeft and castToEitherRight as util circuits

https://github.com/OpenZeppelin/compact-examples/pull/44#discussion_r2589028467

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 reading the linked discussion in compact-examples PR 44, then locate existing utility circuits in compact-contracts to understand where castToEitherLeft and castToEitherRight belong. Done means both named util circuits are added consistently with the existing utilities and their expected behavior is verified.

Written by the indexing model from the issue text.

Assessment

Domain
blockchain
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.