Commit Graph

206 Commits

Author SHA1 Message Date
dapplion 61c1baea3f Use const in main bls export 2020-11-29 17:10:20 +00: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 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 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
dapplion 84c95ba069 Remove Keypair class 2020-11-25 10:45:19 +00:00
dapplion 4da10180d9 Remove code duplication in the functional interface 2020-11-25 10:41:52 +00:00
Cayman f86ffaec2a
Merge pull request #34 from ChainSafe/mpetrunic/assert
Update keygen, remove assert
2020-11-24 13:06:08 -07:00
Marin Petrunić 52fb0c3fdd
update lock file 2020-11-24 21:05:25 +01:00
Marin Petrunić b7b5082861
Merge remote-tracking branch 'origin/dev' into mpetrunic/assert 2020-11-24 21:04:07 +01:00
Marin Petrunić 98063d1e3f
Merge pull request #32 from ChainSafe/mpetrunic/remove-eth2-bls-wasm
Remove @chainsafe/eth2-bls-wasm dep
2020-11-24 21:00:56 +01:00
Marin Petrunić 51f0cb7c1b
fix lint 2020-11-24 20:59:33 +01:00
Marin Petrunić ea01f26967
remove assert dep 2020-11-23 12:34:19 +01:00
Marin Petrunić 34f285e779
force latest v8 profile version 2020-11-23 12:11:00 +01:00
Marin Petrunić 426316ddc2
remove @chainsafe/eth2-bls-wasm dep 2020-11-23 12:06:20 +01:00
dapplion 2073d31a15 Run benchmarks on CI 2020-11-20 19:37:20 +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 1e92f6311b Setup NodeJS 12 on CI 2020-11-20 12:16:25 +00:00