Commit Graph

126 Commits

Author SHA1 Message Date
Tuyen 1cf1c27b94 Refactor Hash to Root/bytes32 2020-01-07 06:27:18 +07:00
Marin Petrunić 50f5ac45c8 bugfixes 2019-12-11 10:58:24 +01:00
Marin Petrunić 72f95898a8 address Pr comments 2019-12-02 13:44:45 +01:00
Marin Petrunić 8c10a06d79 fix tests 2019-11-28 12:13:20 +01:00
Marin Petrunić 34c61bc762 fix bls lint 2019-11-27 22:06:17 +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ć 4b488a097b fix tests 2019-09-17 22:03:24 +02:00
Marin Petrunić fe31dbc974 fix bls lint 2019-09-17 21:05:13 +02:00
Marin Petrunić b8c262791a fix ts errors 2019-09-17 21:02:32 +02:00
Marin Petrunić 6143104204 Merge remote-tracking branch 'origin/master' into cayman/style-guide
# Conflicts:
#	.eslintrc
#	package.json
#	packages/bls/src/@types/keccak256/index.d.ts
#	packages/bls/src/helpers/g1point.ts
#	packages/bls/src/helpers/g2point.ts
#	packages/bls/src/index.ts
#	packages/bls/src/privateKey.ts
#	packages/bls/test/spec/spec-tests
#	packages/eth2.0-types/src/validator.ts
#	packages/eth2.0-types/src/wire.ts
#	packages/lodestar/package.json
#	packages/lodestar/src/api/rpc/api/beacon/beacon.ts
#	packages/lodestar/src/api/rpc/api/beacon/interface.ts
#	packages/lodestar/src/api/rpc/api/validator/interface.ts
#	packages/lodestar/src/api/rpc/transport/http.ts
#	packages/lodestar/src/api/rpc/transport/ws.ts
#	packages/lodestar/src/chain/chain.ts
#	packages/lodestar/src/chain/factory/attestation/index.ts
#	packages/lodestar/src/chain/factory/block/eth1Data.ts
#	packages/lodestar/src/chain/factory/duties/index.ts
#	packages/lodestar/src/chain/forkChoice/interface.ts
#	packages/lodestar/src/chain/forkChoice/statefulDag/lmdGhost.ts
#	packages/lodestar/src/chain/stateTransition/block/randao.ts
#	packages/lodestar/src/chain/stateTransition/util/attestation.ts
#	packages/lodestar/src/chain/stateTransition/util/domain.ts
#	packages/lodestar/src/cli/commands/beacon.ts
#	packages/lodestar/src/cli/commands/create-config.ts
#	packages/lodestar/src/cli/commands/deposit.ts
#	packages/lodestar/src/cli/commands/eth1-private-network.ts
#	packages/lodestar/src/cli/commands/validator.ts
#	packages/lodestar/src/cli/commands/wallet.ts
#	packages/lodestar/src/db/api/beacon/interface.ts
#	packages/lodestar/src/db/api/validator/interface.ts
#	packages/lodestar/src/db/api/validator/validator.ts
#	packages/lodestar/src/db/controller/impl/level.ts
#	packages/lodestar/src/eth1/dev/network.ts
#	packages/lodestar/src/eth1/impl/ethers.ts
#	packages/lodestar/src/logger/abstract.ts
#	packages/lodestar/src/logger/winston.ts
#	packages/lodestar/src/network/codec.ts
#	packages/lodestar/src/network/gossip.ts
#	packages/lodestar/src/network/interface.ts
#	packages/lodestar/src/network/libp2p/peer.ts
#	packages/lodestar/src/network/libp2p/rpc.ts
#	packages/lodestar/src/network/libp2p/syncRpc.ts
#	packages/lodestar/src/network/libp2p/util.ts
#	packages/lodestar/src/node/nodejs.ts
#	packages/lodestar/src/rpc/api/interface.ts
#	packages/lodestar/src/rpc/api/validator/validator.ts
#	packages/lodestar/src/rpc/options.ts
#	packages/lodestar/src/rpc/protocol/jsonRpc.ts
#	packages/lodestar/src/sync/index.ts
#	packages/lodestar/src/sync/initial.ts
#	packages/lodestar/src/sync/regular.ts
#	packages/lodestar/src/sync/rpc/interface.ts
#	packages/lodestar/src/util/bytes.ts
#	packages/lodestar/src/util/io.ts
#	packages/lodestar/src/util/merkleTree/merkleTree.ts
#	packages/lodestar/src/validator/options.ts
#	packages/lodestar/src/validator/rpc/abstract.ts
#	packages/lodestar/src/validator/services/attestation.ts
#	packages/lodestar/src/validator/services/block.ts
#	packages/lodestar/src/validator/validator.ts
#	packages/lodestar/test/e2e/sync/reqResp.test.ts
#	packages/lodestar/test/unit/sync/index.test.ts
#	packages/lodestar/test/unit/sync/rpc.test.ts
#	packages/ssz/src/hashTreeRoot.ts
#	packages/ssz/test/unit/hashTreeRoot.test.ts
#	yarn.lock
2019-09-17 12:52:06 +02:00
Austin Abell 359cc185e4 Merge branch 'master' into austin/typesusage 2019-09-03 18:46:29 -04:00
Marin Petrunić 71fdceb247 Merge remote-tracking branch 'origin/master' into mpetrunic/rest-api
# Conflicts:
#	packages/lodestar/package.json
#	packages/lodestar/src/cli/commands/beacon.ts
#	packages/lodestar/src/node/nodejs.ts
2019-09-03 23:44:28 +02:00
Cayman 89e68ff31d Merge pull request #406 from ChainSafe/mpetrunic/bls-benchmark
Bls benchmarking and optimisation
2019-09-03 14:14:20 -05:00
austinabell 6f17cc349e replace byte32 type on hashes to Hash 2019-09-03 14:17:55 -04:00
Marin Petrunić 528a5ca611 addess PR issues 2019-08-29 14:14:46 +02:00
Marin Petrunić 57428df8ec fix bls lint errors 2019-08-28 17:18:51 +02:00
Marin Petrunić 84bf46cb58 add faster signature verification 2019-08-28 15:57:26 +02:00
Marin Petrunić 76be9d2507 Merge remote-tracking branch 'origin/master' into mpetrunic/new-spec-test-format
# Conflicts:
#	packages/bls/src/helpers/g2point.ts
2019-08-17 16:02:39 +02:00
Marin Petrunić 80d07d780f fix lint 2019-08-16 13:49:51 +02:00
Marin Petrunić 2b38c87501 add proper bls exports 2019-08-16 11:55:13 +02:00
Marin Petrunić 4fa5b9cddd fix codeclimate issues 2019-08-16 11:18:29 +02:00
Marin Petrunić f92b1593d7 Merge remote-tracking branch 'origin/master' into mpetrunic/rest-api
# Conflicts:
#	packages/bls/src/helpers/g2point.ts
#	packages/lodestar/package.json
#	packages/lodestar/src/validator/options.ts
#	packages/lodestar/test/e2e/chain/factory/block/assebleBlock.test.ts
#	yarn.lock
2019-08-16 10:57:34 +02:00
Marin Petrunić 7c7cfc332a api configuration 2019-08-16 10:54:16 +02:00
Marin Petrunić 0c0bfd5324 add proper bls exports 2019-08-12 09:51:18 +02:00
Cayman b651b83acc Move to packages/bls 2019-08-05 10:48:26 -05:00