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

feat: impl cyclefold::step_folding_circuit blank #386

Closed
wants to merge 10 commits into from

Conversation

cyphersnake
Copy link
Collaborator

@cyphersnake cyphersnake commented Nov 4, 2024

Motivation
First part of #378

Overview
WIP

@cyphersnake cyphersnake self-assigned this Nov 4, 2024
@cyphersnake cyphersnake force-pushed the 367-sps-verify branch 2 times, most recently from 4384df6 to aa82d4b Compare November 5, 2024 12:20
Base automatically changed from 367-sps-verify to main November 5, 2024 13:48
**Motivation**
In #371 we should use ECC gadget but with tiny-gate for small degree
This will allow cyclefold to be used in conjunction with sangria

**Overview**
WIP
**Motivation**
As part of task #371, we will need gadget-ecc, but for optimization purposes, we will need it on a tiny-gate so that we can on-circuit verify it, using the Sangria protocol. So we need to ensure that we can use ecc-gate with more than just the main-gate

**Overview**
All main-gate methods were put into a separate `trait EccGate`, which was immediately implemented for `MainGate`. Thus, this commit does not bring any functional changes

__Extras__:
- `fn _add_unsafe` -> `unsafe fn unchecked_add`
- `fn _double_unsafe` -> `unsafe fn unchecked_double`
This refactor was made to be more in line with the idiom of Rust
@cyphersnake cyphersnake deleted the 373-cyclefold-blank branch February 17, 2025 14:06
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.

1 participant