Skip to content

Commit

Permalink
Internalize bigint-crypto-utils dependency in Ethash (MIT License), r…
Browse files Browse the repository at this point in the history
…emove dependency and Karma path resolutions
  • Loading branch information
holgerd77 committed Jun 7, 2023
1 parent 501b30c commit 4dd4bbb
Show file tree
Hide file tree
Showing 10 changed files with 422 additions and 29 deletions.
5 changes: 0 additions & 5 deletions packages/blockchain/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ module.exports = function (config) {
acornOptions: {
ecmaVersion: 13,
},
resolve: {
alias: {
'bigint-crypto-utils': '../../node_modules/bigint-crypto-utils/dist/bundle.umd.js',
},
},
},
},
concurrency: 1,
Expand Down
4 changes: 4 additions & 0 deletions packages/devp2p/src/ext/kbucket.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
/*
Repository : https://github.com/tristanls/k-bucket
Source : index.js
Date : 2023-05-20
index.js - Kademlia DHT K-bucket implementation as a binary tree.
The MIT License (MIT)
Expand Down
1 change: 0 additions & 1 deletion packages/ethash/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
"@ethereumjs/block": "^4.2.2",
"@ethereumjs/rlp": "^4.0.1",
"@ethereumjs/util": "^8.0.6",
"bigint-crypto-utils": "^3.2.2",
"ethereum-cryptography": "^2.0.0"
},
"devDependencies": {
Expand Down
3 changes: 3 additions & 0 deletions packages/ethash/src/ext/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
'use strict'

export { isProbablyPrime } from './isProbablyPrime'
Loading

0 comments on commit 4dd4bbb

Please sign in to comment.