Skip to content

Commit c1b2973

Browse files
authored
Update rustbn.js and remove hotfix in evm (ethereumjs#2724)
1 parent d2a0451 commit c1b2973

File tree

2 files changed

+16
-5
lines changed

2 files changed

+16
-5
lines changed

package-lock.json

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

packages/evm/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@
3434
"src"
3535
],
3636
"scripts": {
37-
"rustbnHotFix": "sed -i -e \"s/.toString('hex')), 'hex'//g\" ../../node_modules/rustbn.js/index.js && sed -i -e \"s/Buffer.from(//g\" ../../node_modules/rustbn.js/index.js",
38-
"build": "npm run rustbnHotFix && ../../config/cli/ts-build.sh",
37+
"build": "../../config/cli/ts-build.sh",
3938
"clean": "../../config/cli/clean-package.sh",
4039
"coverage": "c8 --all --reporter=lcov --reporter=text npm run coverage:test",
4140
"coverage:test": "npm run test && cd ../vm && npm run tester -- --state",
@@ -59,7 +58,7 @@
5958
"debug": "^4.3.3",
6059
"ethereum-cryptography": "^2.0.0",
6160
"mcl-wasm": "^0.7.1",
62-
"rustbn.js": "~0.2.0"
61+
"rustbn.js": "^0.3.0"
6362
},
6463
"devDependencies": {
6564
"@ethereumjs/statemanager": "^1.0.5",

0 commit comments

Comments
 (0)