Repository navigation
feat: switch bls to napi rebuild #6616
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 13 commits
Commits
Show all changes
71 commits
Select commit
Hold shift + click to select a range
a74b8f5
chore: update package.json deps and run yarn
matthewkeil f692d1b
feat: remove unused blst config from vitest.browser.*.config.ts
matthewkeil e2dfc26
test: move G2@INF test to base blst repo. No longer exported.
matthewkeil 923daad
fix: add Uint8Array.from for Buffer return value in unit test so type…
matthewkeil f53a496
refactor: update imports of CoordType to use bls instead of blst
matthewkeil 03be472
feat: add blsAddVerificationRandomness cli option
matthewkeil bbd3436
feat: add randomBytesNonZero to utils
matthewkeil 0b363ae
feat: implement verification randomness for same message
matthewkeil 23f263c
feat: implement napi blst and switch to libuv worker pool
matthewkeil d152dfc
chore: lint
matthewkeil 8dbc8cc
fix: update comments for availableParallelism
matthewkeil c2158f2
feat: set UV_THREADPOOL_SIZE for perf tests
matthewkeil 01cfbac
feat: set UV_THREADPOOL_SIZE=$(nproc) in lodestar entrance script
matthewkeil de1e3c5
feat: remove case for serialized PublicKey in deserializeSet
matthewkeil efede8c
feat: add back workBusy count logic to canAcceptWork
matthewkeil 9757f43
feat: automatically set threadpool size in beaconHandler
matthewkeil 420b081
refactor: rename flag to disableSameMessageVerificationRandomness
matthewkeil afaef65
fix: remove UV_THREADPOOL_SIZE from ./lodestar
matthewkeil e0f3ff3
docs: add TODO about updating metrics
matthewkeil 2578604
fix: make benchmark multi threading cross-compatible
matthewkeil 65cbf11
chore: add bls@8.0.0
matthewkeil 3d99932
feat: default to added randomness
matthewkeil a3ec634
feat: add warning for no same message randomness
matthewkeil 2afb0cc
fix: passing to updated bls functions
matthewkeil 1ee3514
feat: add blst peerDep
matthewkeil f1d5e6c
fix: default to same message randomness
matthewkeil 0137f39
Merge branch 'unstable' into mkeil/napi-rebuild
matthewkeil 1eaa8b0
chore: update yarn.lock
matthewkeil f16a6f1
chore: remove unused function to clear lint
matthewkeil c57580f
feat: break out setThreadPoolSize
matthewkeil 9e74c7a
docs: update packages/cli/src/cmds/beacon/setThreadPoolSize.ts
matthewkeil ee21968
chore: update location for blst dep
matthewkeil ecd5402
chore: run lint again
matthewkeil 3684b1b
fix: remove peerDep from light-client
matthewkeil 98d04ab
test: fix browser based tests
matthewkeil dd3b72d
fix: bad relative imports
matthewkeil b992f5c
docs: add note to readme about switchable bls
matthewkeil b345aa6
docs: typo
matthewkeil 1acce0c
chore: lint readme
matthewkeil fa7893e
fix: light-client unit tests
matthewkeil 23c11f0
fix: light-client e2e test
matthewkeil 1f0f2b3
feat: remove disableSameMessageVerificationRandomness
matthewkeil bf65cc9
refactor: remove unused type
matthewkeil cc59be9
docs: update wordlist
matthewkeil f71acd7
fix: e2e tests
matthewkeil b56389f
Lint package.json
nflaig 04f49c7
Merge branch 'unstable' into mkeil/napi-rebuild
matthewkeil 2cdf203
Revert "fix: e2e tests"
matthewkeil a36c983
Revert "fix: light-client e2e test"
matthewkeil 0891abb
Revert "fix: light-client unit tests"
matthewkeil 85522d2
Revert "test: fix browser based tests"
matthewkeil 9bd2880
docs: update readme to remove switchable bls argument
matthewkeil c4141f6
fix: replace optimizeDeps in vitest.browser.config
matthewkeil 8ccd5d1
chore: updated to bls 8.1.0
matthewkeil df49036
feat: move setting threadpool size and warnings to applyPreset.ts
matthewkeil 1fa4955
fix: remove setThreadpoolSize from beacon handler
matthewkeil 13e2677
feat: move libuv size logging into handler to use logger
matthewkeil 01ec025
Merge branch 'unstable' into mkeil/napi-rebuild
matthewkeil 221b0de
refactor: rename applyPreset to preInitialization
matthewkeil 065180a
refactor: logging about pool size
matthewkeil e20d5ec
Update packages/cli/src/options/globalOptions.ts
matthewkeil 9d34194
refactor: rename prover applyPreset
matthewkeil 2321c16
docs: change comment in cli/index
matthewkeil 0d284c0
fix: update logging for
matthewkeil 480034e
fix: throw error for invalid uvThreadpoolSize
matthewkeil 524261a
Update packages/cli/src/preInitialization.ts
matthewkeil 37cc6b2
Fix lint issues
nflaig ee0c04f
Remove unused import
nflaig 63a5441
refactor: move bls pool logging back to multithread.ts
matthewkeil f00955d
Merge branch 'unstable' into mkeil/napi-rebuild
matthewkeil b720eab
fix: log of threadcount
matthewkeil File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,5 @@ | ||
| export type {IBlsVerifier} from "./interface.js"; | ||
| export type {BlsMultiThreadWorkerPoolModules, JobQueueItemType} from "./multithread/index.js"; | ||
| export {BlsMultiThreadWorkerPool} from "./multithread/index.js"; | ||
| export type {JobQueueItemType} from "./jobItem.js"; | ||
| export type {BlsMultiThreadWorkerPoolModules} from "./multiThread.js"; | ||
| export {BlsMultiThreadWorkerPool} from "./multiThread.js"; | ||
| export {BlsSingleThreadVerifier} from "./singleThread.js"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.