• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

privacy-scaling-explorations / zk-kit / 11464892348
98%

Build:
DEFAULT BRANCH: main
Ran 22 Oct 2024 05:00PM UTC
Jobs 1
Files 36
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 Oct 2024 04:56PM UTC coverage: 97.804% (-0.3%) from 98.086%
11464892348

push

github

web-flow
feat(eddsa-poseidon): adds Blake2s hashing for eddsa and conditional imports (#329)

* feat(eddsa-poseidon): adds Blake2s hashing for eddsa and conditional imports

Currently EdDSA Poseidon hashes using Blake 1, which is now outdated. This commit swaps the default
hashing algorithm for Blake2, whilst also introducing conditional imports so the user can specify
the underlying hashing algorithm if required.

BREAKING CHANGE: n

* feat(eddsa-poseidon): clean up code

re 152

* feat(eddsa-poseidon): fix exports

* feat(eddsa-poseidon): update comments

* refactor(eddsa-poseidon): makes the blake algorithms implement the hash function interface

* feat(eddsa-poseidon): removes implementation of blake2b in favour of the blakejs library

BREAKING CHANGE: n

* refactor(eddsa-poseidon): simplifies the input types for the hash functions

re #152

* refactor(eddsa-poseidon): removes to hex function in favour of zk-kit bufferToHexadecimal

re #152

* fix(eddsa-poseidon): change the default import back to blake1 and fix the export files

re 152

* docs(eddsa-poseidon): update comments

re 152

* refactor(eddsa-poseidon): unifies both algorithms to use default exports

re 152

* refactor(eddsa-poseidon): use imported buffer type instead of the default

re #152

* fix(eddsa-poseidon): throw an error if unsupported algorithm is chosen"

BREAKING CHANGE: n

re #51

* refactor(eddsa-poseidon): rename test file

re #152

---------

Co-authored-by: Cedoor <me@cedoor.dev>

321 of 339 branches covered (94.69%)

Branch coverage included in aggregate %.

101 of 104 new or added lines in 5 files covered. (97.12%)

1238 of 1255 relevant lines covered (98.65%)

1506.91 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
89.13
-10.87% packages/eddsa-poseidon/src/utils.ts
Jobs
ID Job ID Ran Files Coverage
1 11464892348.1 22 Oct 2024 05:00PM UTC 36
97.8
GitHub Action Run
Source Files on build 11464892348
  • Tree
  • List 36
  • Changed 4
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 25f30b18 on github
  • Prev Build on main (#10771055040)
  • Next Build on main (#12002233433)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc