Skip to content

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

2 participants