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

Remove zkProgrammable (rebased) WIP #256

Draft
wants to merge 2 commits into
base: refactor/sequencing
Choose a base branch
from

Conversation

ejMina226
Copy link
Collaborator

@ejMina226 ejMina226 commented Jan 17, 2025

The latest version of o1js includes the ability to mock a zkProgram. This was the original motivation behind the zkProgrammable abstract class and so it can be removed. This PR includes the following:

Upgrade o1js to version 2.
Fix the types that have changed because of this.
Remove zkProgrammable and WithZkProgrammable and use zkProgramFactory and WithZkProgram

Note
Special attention should be paid to the SettlementProvingTask.ts

TODO:
Rebase onto #258 and see if tests pass. This will make sure that the underlying branch has zero broken tests so any further tests that are broken must have come from these changes.

@ejMina226 ejMina226 self-assigned this Jan 17, 2025
@ejMina226 ejMina226 changed the title Remove zkProgrmmable (rebased) Remove zkProgrammable (rebased) Jan 17, 2025
@ejMina226 ejMina226 linked an issue Jan 17, 2025 that may be closed by this pull request
@ejMina226 ejMina226 changed the title Remove zkProgrammable (rebased) Remove zkProgrammable (rebased) WIP Jan 24, 2025
@ejMina226 ejMina226 marked this pull request as draft January 24, 2025 08:19
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.

Remove ZkProgrammable in favor of new ZkProgram
1 participant