Skip to content

Commit 6b2bd29

Browse files
committed
block: Migrating to scoped packages
1 parent 589e354 commit 6b2bd29

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

packages/block/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Implements schema and functions related to Ethereum's block.
1212

1313
# INSTALL
1414

15-
`npm install ethereumjs-block`
15+
`npm install @ethereumjs/block`
1616

1717
# BROWSER
1818

@@ -24,9 +24,9 @@ This module works with `browserify`.
2424

2525
# TESTING
2626

27-
Tests in the `tests` directory are partly outdated and testing is primarily done by running the `BlockchainTests` from within the [ethereumjs-vm](https://github.com/ethereumjs/ethereumjs-vm) repository.
27+
Tests in the `tests` directory are partly outdated and testing is primarily done by running the `BlockchainTests` from within the [ethereumjs-vm](https://github.com/ethereumjs/ethereumjs-vm/tree/master/packages/vm#synopsis) package.
2828

29-
To avoid bloating this repository with [ethereum/tests](https://github.com/ethereum/tests) JSON files, we usually copy specific JSON files and wrap them with some metadata (source, date, commit hash). There's a helper to aid in that process and can be found at [wrap-ethereum-test.sh](https://github.com/ethereumjs/ethereumjs-block/blob/master/scripts/wrap-ethereum-test.sh).
29+
To avoid bloating this repository with [ethereum/tests](https://github.com/ethereum/tests) JSON files, we usually copy specific JSON files and wrap them with some metadata (source, date, commit hash). There's a helper to aid in that process and can be found at [wrap-ethereum-test.sh](https://github.com/ethereumjs/ethereumjs-vm/blob/master/packages/block/scripts/wrap-ethereum-test.sh).
3030

3131
# EthereumJS
3232

@@ -43,7 +43,7 @@ If you want to join for work or do improvements on the libraries have a look at
4343
[js-standard-style-badge]: https://cdn.rawgit.com/feross/standard/master/badge.svg
4444
[js-standard-style-link]: https://github.com/feross/standard
4545
[block-npm-badge]: https://img.shields.io/npm/v/ethereumjs-block.svg
46-
[block-npm-link]: https://www.npmjs.org/package/ethereumjs-block
46+
[block-npm-link]: https://www.npmjs.org/package/@ethereumjs/block
4747
[block-issues-badge]: https://img.shields.io/github/issues/ethereumjs/ethereumjs-vm/package:%20block?label=issues
4848
[block-issues-link]: https://github.com/ethereumjs/ethereumjs-vm/issues?q=is%3Aopen+is%3Aissue+label%3A"package%3A+block"
4949
[block-actions-badge]: https://github.com/ethereumjs/ethereumjs-vm/workflows/Block%20Test/badge.svg

packages/block/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "ethereumjs-block",
2+
"name": "@ethereumjs/block",
33
"version": "2.2.0",
44
"description": "Provides Block serialization and help functions",
55
"main": "dist/index.js",
@@ -31,7 +31,7 @@
3131
},
3232
"repository": {
3333
"type": "git",
34-
"url": "git+https://github.com/ethereumjs/ethereumjs-block.git"
34+
"url": "git+https://github.com/ethereumjs/ethereumjs-vm.git"
3535
},
3636
"keywords": [
3737
"ethereum",
@@ -40,17 +40,18 @@
4040
"author": "mjbecze (mb@ethdev.com)",
4141
"license": "MPL-2.0",
4242
"bugs": {
43-
"url": "https://github.com/ethereumjs/ethereumjs-block/issues"
43+
"url": "https://github.com/ethereumjs/ethereumjs-vm/issues?q=is%3Aissue+label%3A\"package%3A+block\""
4444
},
45-
"homepage": "https://github.com/ethereumjs/ethereumjs-block#readme",
45+
"homepage": "https://github.com/ethereumjs/ethereumjs-vm/tree/master/packages/block#synopsis",
4646
"dependencies": {
47+
"@ethereumjs/common": "^1.5.0",
48+
"@ethereumjs/tx": "^2.1.1",
49+
"@ethereumjs/util": "^6.1.0",
4750
"@types/bn.js": "^4.11.5",
48-
"ethereumjs-common": "^1.5.0",
49-
"ethereumjs-tx": "^2.1.1",
50-
"ethereumjs-util": "^6.1.0",
5151
"merkle-patricia-tree": "^2.1.2"
5252
},
5353
"devDependencies": {
54+
"@ethereumjs/blockchain": "^4.0.3",
5455
"@ethereumjs/config-nyc": "^1.1.1",
5556
"@ethereumjs/config-prettier": "^1.1.1",
5657
"@ethereumjs/config-tsc": "^1.1.1",
@@ -59,7 +60,6 @@
5960
"@types/node": "^11.13.4",
6061
"@types/tape": "^4.2.33",
6162
"browserify": "^16.2.3",
62-
"ethereumjs-blockchain": "^4.0.3",
6363
"husky": "^2.1.0",
6464
"istanbul": "^0.4.1",
6565
"karma": "^4.1.0",

0 commit comments

Comments
 (0)