Skip to content

Commit 060f690

Browse files
authored
monorepo: revert noble refactoring (#4037)
* monorepo: revert noble refactoring * monorepo: upgrade etheruem-cryptography to 3.2.0 * chore: upgrade package lock
1 parent 17852b5 commit 060f690

File tree

95 files changed

+231
-431
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+231
-431
lines changed

package-lock.json

Lines changed: 9 additions & 199 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/binarytree/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
"@ethereumjs/util": "^10.0.0-rc.1",
5959
"@noble/hashes": "^1.7.2",
6060
"debug": "^4.4.0",
61+
"ethereum-cryptography": "^3.2.0",
6162
"lru-cache": "11.0.2"
6263
},
6364
"engines": {

packages/block/examples/clrequests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Common, Hardfork, Mainnet } from '@ethereumjs/common'
22
import { CLRequestType, bytesToHex, createCLRequest, hexToBytes } from '@ethereumjs/util'
3-
import { sha256 } from '@noble/hashes/sha2'
3+
import { sha256 } from 'ethereum-cryptography/sha256.js'
44

55
import { createBlock, genRequestsRoot } from '../src'
66

packages/block/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@
5555
"@ethereumjs/mpt": "^10.0.0-rc.1",
5656
"@ethereumjs/tx": "^10.0.0-rc.1",
5757
"@ethereumjs/util": "^10.0.0-rc.1",
58-
"@noble/hashes": "1.8.0",
59-
"@noble/curves": "1.9.0"
58+
"ethereum-cryptography": "^3.2.0"
6059
},
6160
"devDependencies": {
6261
"@ethereumjs/testdata": "1.0.0",

0 commit comments

Comments
 (0)