Commit Graph

44 Commits

Author SHA1 Message Date
Lion - dapplion c4ea70afd0
Add tests for empty message case (#138) 2022-10-07 21:35:58 +05:30
Marin Petrunic 35bf7684d7 fix web tests 2022-04-15 11:51:06 +02:00
Cayman 7c2e883527
Tweaks and upgrade karma/webpack 2022-04-14 12:16:06 -05:00
Cayman 8881334330
Use @chainsafe/threads 2022-04-11 15:15:17 -05:00
Cayman 0056e13ee5
feat: use esm
BREAKING CHANGE:
Only esm is exported, no commonjs
Named exports (excluding `bls`) are no longer exported from the root.
`browser` and `node` exports are removed in favor of
implementation-specific naming.
2022-04-11 10:15:43 -05:00
g11tech 6854661b29 bls-eth-wasm package update for invalidating signature not in g2, validation on by default 2021-09-22 11:05:53 +05:30
dapplion ac9564d53a Skip herumi in multi-thread tests 2021-04-05 17:52:21 +02:00
dapplion 7d9aebd3fe Remove warmup workers function 2021-04-05 17:49:18 +02:00
dapplion 69c3408964 Enable multi-threading for all implementations 2021-04-05 17:49:18 +02:00
dapplion 7f76672a40 Use browser friendly concatUint8Arrays instead of Buffer.concat 2020-12-03 00:06:36 +00:00
dapplion 13ea412c3f Move web test to a different folder to not run herumi tests twice 2020-12-03 00:05:49 +00:00
dapplion 93499b3f34 Fix class method usage 2020-12-02 23:33:44 +00:00
dapplion d2c11ed16c Use class interface for more transparent errors 2020-12-02 23:32:42 +00:00
dapplion 092165a5f4 Move test data to file 2020-12-02 23:19:33 +00:00
dapplion 8d5206c31f Test verifyMultipleSignatures against malicious input 2020-12-02 23:19:33 +00:00
dapplion e4cf34ab90 Deprecate IKeypair 2020-12-01 00:07:45 +00:00
dapplion a51022f802 De-duplicate interface 2020-11-30 23:54:03 +00:00
Cayman b5b2e6dfc7
Consistent naming 2020-11-30 12:03:49 -06:00
dapplion 3004076a4a Remove console.log 2020-11-30 11:49:47 +00:00
dapplion 2c938ddeed Test named exports 2020-11-30 11:49:37 +00:00
dapplion 32266dae20 Use isZeroUint8Array to check for empty bytes 2020-11-29 23:56:31 +00:00
dapplion 8055f73afb Use browser friendly hexToBytes, bytesToHex methods 2020-11-28 19:52:32 +00:00
dapplion 0e69b819e0 Remove keypair test 2020-11-25 16:11:44 +00:00
dapplion 49d509aca4 Clean interface 2020-11-25 16:09:47 +00:00
dapplion 990258dbd9 Fix type errors in benchmark runner
Lint issues
2020-11-20 19:37:20 +00:00
dapplion 70ccbfbe5b Run only web implementation in Karma 2020-11-20 19:09:05 +00:00
dapplion 4424bed87d Define common implementation 2020-11-20 19:03:17 +00:00
dapplion c354386dab Fix lint errors 2020-11-20 12:27:35 +00:00
dapplion 523d547171 Add Keypair test 2020-11-19 14:50:18 +00:00
dapplion f8cd6e7afa Update tests to run both implementations 2020-11-19 14:41:45 +00:00
dapplion 57694c2e54 Co-exist implementations 2020-11-19 13:22:41 +00:00
dapplion 5b06e4f61e Replace herumi src with BLST 2020-11-19 00:23:34 +00:00
dapplion 7f54032626 Fix lint errors 2020-11-05 21:44:36 +00:00
Cayman 49d6d9f62c
Run prettier 2020-11-05 14:55:25 -06:00
Cayman c22069335f
Run prettier 2020-11-04 11:40:36 -06:00
Cayman 0a068484b3
Update unit tests 2020-02-24 16:46:13 -06:00
Cayman cbaef47671
Update dev delendencies, tests, linter 2020-02-20 14:51:25 -06:00
Marin Petrunić 72f95898a8 address Pr comments 2019-12-02 13:44:45 +01:00
Marin Petrunić 2d0725a5cc rewritten bls to use wasm 2019-11-27 21:58:41 +01:00
Marin Petrunić d5d8284be5 bls wasm context and private key converted to wasm implementation 2019-11-27 19:21:37 +01:00
Marin Petrunić 9efe9d33fd move utils away from lodestar 2019-09-20 15:29:46 +02:00
Marin Petrunić 4b488a097b fix tests 2019-09-17 22:03:24 +02:00
Marin Petrunić 84bf46cb58 add faster signature verification 2019-08-28 15:57:26 +02:00
Cayman c1359b51fb bls tests/ -> test/ 2019-08-05 10:51:44 -05:00