Commit Graph

222 Commits

Author SHA1 Message Date
dapplion 32266dae20 Use isZeroUint8Array to check for empty bytes 2020-11-29 23:56:31 +00:00
dapplion 6fe9b09a92 Fix herumi tests 2020-11-29 23:55:45 +00:00
dapplion d3616e50f6 Remove async from runForAllImplementations 2020-11-29 23:55:45 +00:00
Cayman 46b317b528
Merge pull request #42 from ChainSafe/clean-methods
Clean methods not in the interface
2020-11-29 15:35:50 -07:00
dapplion 2208922aa6 Clean methods not in the interface 2020-11-29 22:30:47 +00:00
Cayman 3bb136cfcc
Merge pull request #41 from ChainSafe/cayman/fromKeygen-ikm
Optional ikm param for bls.PrivateKey.fromKeygen
2020-11-29 14:32:11 -07:00
Cayman d743d95487
Optional ikm param for bls.PrivateKey.fromKeygen 2020-11-29 15:25:18 -06:00
Cayman 138b6de063
Merge pull request #40 from ChainSafe/cayman/export-types
Export types
2020-11-29 11:59:23 -07:00
Cayman 203122ee10
Export types 2020-11-29 12:54:33 -06:00
Cayman c0723488d3
Merge pull request #39 from ChainSafe/dapplion/fix-default-export
Use Object.assign to fix default import
2020-11-29 10:21:01 -07:00
dapplion 61c1baea3f Use const in main bls export 2020-11-29 17:10:20 +00:00
Cayman 06dc0e47b0
Merge pull request #38 from ChainSafe/dependabot/npm_and_yarn/yargs-parser-13.1.2
Bump yargs-parser from 13.1.1 to 13.1.2
2020-11-29 10:04:43 -07:00
Cayman 326842465c
Merge pull request #25 from ChainSafe/dependabot/npm_and_yarn/http-proxy-1.18.1
Bump http-proxy from 1.18.0 to 1.18.1
2020-11-29 10:04:21 -07:00
dapplion e51c1784a7 Document lazy import 2020-11-29 16:59:24 +00:00
dapplion 2235e7be89 Import named export from blst 2020-11-29 16:59:16 +00:00
dapplion ef98683424 Use Object.assign to fix default import 2020-11-29 16:52:29 +00:00
Cayman 3a34ccbacc
Merge pull request #37 from ChainSafe/expected-errors
Prevent "BLS not initialized" error from causing a false negative
2020-11-29 09:51:06 -07:00
dependabot[bot] d60ac317b7
Bump http-proxy from 1.18.0 to 1.18.1
Bumps [http-proxy](https://github.com/http-party/node-http-proxy) from 1.18.0 to 1.18.1.
- [Release notes](https://github.com/http-party/node-http-proxy/releases)
- [Changelog](https://github.com/http-party/node-http-proxy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/http-party/node-http-proxy/compare/1.18.0...1.18.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-29 16:02:20 +00:00
dependabot[bot] f718b9d9e0
Bump yargs-parser from 13.1.1 to 13.1.2
Bumps [yargs-parser](https://github.com/yargs/yargs-parser) from 13.1.1 to 13.1.2.
- [Release notes](https://github.com/yargs/yargs-parser/releases)
- [Changelog](https://github.com/yargs/yargs-parser/blob/master/docs/CHANGELOG-full.md)
- [Commits](https://github.com/yargs/yargs-parser/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-29 16:01:59 +00:00
Cayman 804ed42354
Merge pull request #31 from ChainSafe/blst
Add BLST  🚀
2020-11-29 09:01:17 -07:00
dapplion a379898589 Bump @chainsafe/blst 2020-11-29 15:08:17 +00:00
dapplion 2245559e0e Prevent "BLS not initialized" error from causing a false negative 2020-11-29 14:28:30 +00:00
dapplion 5db911d470 Use validateBytes instead of generic assert 2020-11-29 14:06:09 +00:00
dapplion 70574b45c1 Fix herumi's bytes length checks 2020-11-29 13:57:08 +00:00
dapplion 78f66280de Add note in README to install blst 2020-11-29 12:21:31 +00:00
dapplion d9c83feb10 Remove unnecessary eslint-disable 2020-11-29 12:19:52 +00:00
dapplion 8055f73afb Use browser friendly hexToBytes, bytesToHex methods 2020-11-28 19:52:32 +00:00
dapplion 2c34db8b8e Remove unnecessary casting of Buffer to Unit8Array 2020-11-28 19:30:56 +00:00
dapplion b507ed28c0 Use randombytes instead of node's crypto 2020-11-28 19:27:59 +00:00
dapplion 9194769d62 Export constants consistently 2020-11-28 19:14:08 +00:00
dapplion bd17160713 Use 'message' arg name consistently 2020-11-28 19:11:21 +00:00
dapplion b0ed0e8cb5 Include root import files in package.json 2020-11-28 19:06:29 +00:00
dapplion 104d6dd269 Use upstream types for bls-eth-wasm 2020-11-28 19:05:34 +00:00
dapplion 406419cac7 Set default value for implementation 2020-11-25 17:58:03 +00:00
dapplion 4ca6532171 Use toBuffer to prevent allocation 2020-11-25 17:57:33 +00:00
dapplion e32ea6d7a5 Buffer is subclass of Uint8Array 2020-11-25 17:56:33 +00:00
dapplion ca5cac64b3 Fix lint warnings and errors 2020-11-25 16:23:53 +00:00
dapplion 591105c553 Document peer dependency in README 2020-11-25 16:17:48 +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 021e741d17 Move bls-eth-wasm to the root dir 2020-11-25 15:35:53 +00:00
dapplion b424842cd5 Reduce karma.conf.js diff 2020-11-25 15:16:19 +00:00
dapplion 4cb49674d5 Fix test util import 2020-11-25 15:11:02 +00:00
dapplion 847ec46ac9 Remove crypto from common helpers 2020-11-25 15:06:05 +00:00
dapplion 530e86d98f Export strategies 2020-11-25 15:03:15 +00:00
dapplion cd5b7cba47 Update bls-eth-wasm types 2020-11-25 14:00:18 +00:00
dapplion 6b1fdb0971 Fix lint issues 2020-11-25 11:50:47 +00:00
dapplion 507ed94995 Split CI test steps 2020-11-25 11:41:28 +00:00
dapplion ec859a1c32 Fix backing dependencies 2020-11-25 11:39:49 +00:00
dapplion c59cf98695 Merge 'dev' into 'blst' 2020-11-25 11:10:06 +00:00