PinSave
PinSave copied to clipboard
Bump o1js from 0.17.0 to 1.2.0 in /packages/frontend
Bumps o1js from 0.17.0 to 1.2.0.
Changelog
Sourced from o1js's changelog.
1.2.0 - 2024-05-14
Added
- Offchain state MVP exported under
Experimental.OffchainStateo1-labs/o1js#1630 o1-labs/o1js#1652
- allows you to store any number of fields and key-value maps on your zkApp
- implemented using actions which define an offchain Merkle tree
Optionfor defining an optional version of any provable type o1-labs/o1js#1630MerkleTree.clone()andMerkleTree.getLeaf(), new convenience methods for merkle trees o1-labs/o1js#1630MerkleList.forEach(), a simple and safe way for iterating over aMerkleListUnconstrained.provableWithEmpty()to create an unconstrained provable type with a knownempty()value o1-labs/o1js#1630Permissions.VerificationKey, a namespace for verification key permissions o1-labs/o1js#1639
- Includes more accurate names for the
impossibleandproofpermissions for verification keys, which are now calledimpossibleDuringCurrentVersionandproofDuringCurrentVersionrespectively.Changed
State()now optionally accepts an initial value as input parameter o1-labs/o1js#1630
- Example:
@state(Field) x = State(Field(1));- Initial values will be set in the default
init()method- You no longer need a custom
init()method to set initial valuesFixes
- Fix absolute imports which prevented compilation in some TS projects that used o1js o1-labs/o1js#1628
1.1.0 - 2024-04-30
Added
- Exposed sideloaded verification keys o1-labs/o1js#1606
@rpanic
- Added Proof type
DynamicProofthat allows verification through specifying a verification key in-circuitProvable.witnessFields()to easily witness a tuple of field elements o1-labs/o1js#1229- Example for implementing RSA verification in o1js o1-labs/o1js#1229
@Shigoto-dev19
- Check out https://github.com/o1-labs/o1js/blob/main/src/examples/crypto/rsa/rsa.ts and tests in the same folder
Changed
Gadgets.rangeCheck64()now returns individual range-checked limbs for advanced use cases o1-labs/o1js#1229Fixed
- Fixed issue in
UInt64.rightShift()where it incorrectly performed a left shift instead of a right shift. o1-labs/o1js#1617- Fixed issue in
ForeignField.toBits()where high limbs were under-constrained for input length less than 176. o1-labs/o1js#1617- Make
dummyBase64Proof()lazy. Significant speed up when generating many account updates with authorizationProofwhile proofs turned off. o1-labs/o1js#16241.0.1 - 2024-04-22
Breaking changes
- Native curve improvements o1-labs/o1js#1530
... (truncated)
Commits
6a101211.2.04124445minor comment036d798tweak test5ae2efdfurther tweak option typeeafddc6change and fix testfc646d3fix: convert field elements to constants when moving out of circuit39307c1failing, more complex testc18fbe6export offchain state, add doccomments49cf11aset -> overwrite plus scary doccommentscd9a68aremove debug logs- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)