Skip to content

Releases: keep-starknet-strange/garaga

v0.18.1

24 May 18:10
3adb570
Compare
Choose a tag to compare

Notable changes

  • Add supports for SP1 verifier, see https://github.com/feltroidprime/SP1-starknet-template/ for example usage.
  • Adds drand calldata generation in Rust & Typescript. Docs will follow, future release will bring timelock encryption usage.
  • SP1, RISC0 and other Constants are centralized in a single file tools/make/constants.json and generated in different languages (py, ts, rs) with the make constants command.

What's Changed

Full Changelog: v0.18.0...v0.18.1

v0.18.0

08 May 09:31
1582fde
Compare
Choose a tag to compare

Tl:dr

This version fixes a high risk vulnerability in multi scalar multiplications, which affects the whole library (zk proofs verifs, signatures).

Exploits today are unlikely, but you must update your garaga dependencies and generated contracts ASAP.

Details to follow.

What's Changed

  • Honk verification error messages and cleanup by @shramee in #391
  • Replace ECIP by GLV/FakeGLV by @feltroidprime in #387
  • Release v0.18.0 by @feltroidprime in #392
  • garaga gen now prints useful information if detected noir versions are incorrect

New Noir recommended versions

Starknet Flavours are now fully integrated !
to use them, make sure to use bb with 0.86.0-starknet.1 version.
Nargo :

noirup --version 1.0.0-beta.3 # install
nargo --version # 1.0.0-beta.3

Barretenberg :

bbup --version 0.86.0-starknet.1
bb --version # 0.86.0

Full Changelog: v0.17.0...v0.18.0

v0.17.0

17 Apr 16:14
ee2ffca
Compare
Choose a tag to compare

Performance improvements and security fixes.
Please do not use in production Honk contracts generated by garaga versions prior to 0.17.0.

New compatible noir & barretenberg versions should be 1.0.0-beta.3 & 0.85.0 :

nargo --version # 1.0.0-beta.3
bb --version # 0.85.0
  • Cairo updated to 2.11.4
  • Starknet-py updated to 0.26.2

What's Changed

New Contributors

Full Changelog: v0.16.0...v0.17.0

v0.16.0

28 Mar 16:32
c3db6b7
Compare
Choose a tag to compare

TLDR :

What's Changed

Full Changelog: v0.15.5...v0.16.0

v0.15.5

28 Feb 09:57
8cc51a8
Compare
Choose a tag to compare

Adds poseidon_hash_bn254 to garaga npm package.
https://github.com/keep-starknet-strange/garaga/blob/8cc51a86a84401b063b39520e2d67254baeaebe5/tools/npm/garaga_ts/src/node/api.ts#L99

What's Changed

Full Changelog: v0.15.4...v0.15.5

v0.15.4

13 Feb 18:51
d23e117
Compare
Choose a tag to compare

Notable changes :

  • significant performance improvement on all parts using scalar multiplication ( #280 )
  • confirmed Noir version update : nargo 1.0.0-beta1 + bb 0.67 (#291 #302 )
  • noir calldata generation is now possible from rust / npm package ( #288 )
  • support for a experimental Noir flavour using Starknet Poseidon hash inside the verifier instead of Keccak ( #287 ) . Only possible with a fork of barretenberg for now.
  • schnorr & ecdsa signature support, with calldata in py / rust / npm, + some refactoring of Cairo library folders / file structures without breaking changes on the imports ( #300 #303 )
  • poseidon hash for bn254 support ( #282 ), to have the same hash in Starknet and Noir/Circom

As with every release,

are updated and class hashes of maintained contract as well : https://garaga.gitbook.io/garaga/maintained-smart-contracts

What's Changed

New Contributors

Full Changelog: v0.15.3...v0.15.4

v0.15.3

16 Dec 15:02
ea2b7b6
Compare
Choose a tag to compare

This release focuses on Noir contract optimizations.
Proof is compressed by omitting the (CONST_PROOF_SIZE_LOG_N - LOG_N) constant values and deduced and taken advantage of in Cairo code.

See #274

What's Changed

New Contributors

Full Changelog: v0.15.2...v0.15.3

v0.15.2

12 Dec 15:33
d1296a2
Compare
Choose a tag to compare

This release fixes a small bug of Noir honk contract generator when log_circuit_size was >= 10.

What's Changed

Full Changelog: v0.15.1...v0.15.2

v0.15.1

11 Dec 06:58
56bea3d
Compare
Choose a tag to compare

This release updates the RiscZero constants to support the latest RiscZero version 1.2.
New Risc0 verifier contract class hash : 0x34fda7d39c28c2fb0d8e876f1c51a38f9fa395023c3749a0ee793611baa6095

What's Changed

Full Changelog: v0.15.0...v0.15.1

v0.15.0

09 Dec 09:54
7c0993f
Compare
Choose a tag to compare

This release improves multi scalar mul costs; bn254 pairing costs, and adds support for Noir contracts verifier generation.
See https://garaga.gitbook.io/garaga/deploy-your-snark-verifier-on-starknet/noir

PyPi and npm packages have been updated as with each release.
Class hashes of maintained smart contract as well : https://garaga.gitbook.io/garaga/maintained-smart-contracts

Breaking changes :

  • the CLI commands name for declare-project and deploy-project have changed to declare and deploy
  • MultiScalarMul calldata, Pairing and groth16 calldata wll be different and incompatible with 0.14 code. Either use tooling/code in version 0.14 or update generated smart contracts and dependencies (rust/cairo/python/npm) to 0.15.

What's Changed

Full Changelog: v0.14.0...v0.15.0