PinSave
PinSave copied to clipboard
Bump o1js from 0.17.0 to 1.3.0 in /packages/frontend
Bumps o1js from 0.17.0 to 1.3.0.
Changelog
Sourced from o1js's changelog.
1.3.0
Added
- Added
base64Encode()andbase64Decode(byteLength)methods to theBytesclass. o1-labs/o1js#1659Fixes
- Fix type inference for
method.returns(Type), to require a matching return signature o1-labs/o1js#1653- Fix
Struct.empty()returning a garbage object when one of the base types doesn't supportempty()o1-labs/o1js#1657- Fix
Option.value_exn Noneerror when using certain custom gates in combination with recursion o1-labs/o1js#1336 MinaProtocol/mina#155881.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#1229
... (truncated)
Commits
54d65451.3.0f0860e8Merge pull request #1659 from Shigoto-dev19/shigoto-base646dafe1fApply review changes in #1659f5738c8Revert "Update submodules to latest commits"f98d73fUpdate changelog againeb58f66Revert "Adapt 'Bytes' API changes"b72fa97Restore & methods68d9c89Update changelog9baf3a1Update submodules to latest commits866625dAdd unit tests for the 'Bytes' base64 methods- 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)