Skip to content

Commit

Permalink
Merge branch 'master' into use-maps-for-opcodes
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanio committed Sep 12, 2020
2 parents e89672f + e6d5c2b commit bb1cc40
Show file tree
Hide file tree
Showing 97 changed files with 17,002 additions and 8,163 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/vm-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
fork: ['MuirGlacier', 'Petersburg', 'Istanbul', 'Byzantium', 'SpuriousDragon', 'TangerineWhistle', 'Homestead', 'Chainstart']
fork: ['Berlin', 'MuirGlacier', 'Petersburg', 'Istanbul', 'Byzantium', 'SpuriousDragon', 'TangerineWhistle', 'Homestead', 'Chainstart']
fail-fast: false
steps:
- uses: actions/setup-node@v1
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
# This is the most fair division among 1 directory vs. everything else
args: ['--excludeDir=stTimeConsuming', '--dir=GeneralStateTests/stTimeConsuming']
# Run specific fork tests
fork: ['MuirGlacier', 'Istanbul', 'Homestead', 'Chainstart', 'dao']
fork: ['MuirGlacier', 'Istanbul', 'Chainstart', 'Berlin']
fail-fast: false
steps:
- uses: actions/setup-node@v1
Expand Down
25 changes: 15 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
# EthereumJS Monorepo

[![Code Coverage][coverage-badge]][coverage-link]
[![Gitter][gitter-badge]][gitter-link]
[![StackExchange][stackexchange-badge]][stackexchange-link]

[![Discord][discord-badge]][discord-link]
[![JS Standard Style][js-standard-style-badge]][js-standard-style-link]

This was originally the EthereumJS VM repository. On Q1 2020 we brought some of its building blocks together to simplify development. Below you can find the packages included in this repository.
Expand Down Expand Up @@ -69,7 +67,7 @@ Installs dependencies for all sub-packages, and links them to create an integrat

#### `npm run build`

Produces `dist` files for all sub-packages. This command can be scoped
Produces `dist` files for all sub-packages. This command can be scoped.

#### `npm run build:tree -- --scope @ethereumjs/blockchain`

Expand Down Expand Up @@ -97,15 +95,19 @@ Generates package documentation and outputs it to `./packages/<name>/docs`.

#### `npm run lint`

Checks code style, according to the rules defined in [ethereumjs-config](https://github.com/ethereumjs/ethereumjs-config).
Checks code style according to the rules defined in [ethereumjs-config](https://github.com/ethereumjs/ethereumjs-config).

#### `npm run lint:fix`

Fixes code style, according to the rules
Fixes code style according to the rules.

#### `npm run test`

Runs all package tests. Note that the VM have several test scopes. Refer to their package.json for more info.
Runs all package tests. Note that the VM has several test scopes - refer to [packages/vm/package.json](https://github.com/ethereumjs/ethereumjs-vm/blob/master/packages/vm/package.json) for more info.

#### `npm run clean`

Removes root and package `node_modules` directories. Useful to run before `npm i` for a fresh install.

### Going further

Expand All @@ -114,7 +116,10 @@ As this project is powered by Lerna, you can install it globally to enjoy lots m
- `npm install -g lerna`
- `lerna run`
- `lerna exec`
- `lerna clean`

#### Cleaning `node_modules`

Hoisting is enabled so dependencies are moved to the root `node_modules`. `lerna clean` [does not remove the root `node_modules`](https://github.com/lerna/lerna/issues/1304) so for convenience you can use the project script `npm run clean`.

# EthereumJS

Expand All @@ -128,8 +133,8 @@ If you want to join for work or do improvements on the libraries have a look at

[coverage-badge]: https://codecov.io/gh/ethereumjs/ethereumjs-vm/branch/master/graph/badge.svg
[coverage-link]: https://codecov.io/gh/ethereumjs/ethereumjs-vm
[gitter-badge]: https://img.shields.io/gitter/room/ethereum/ethereumjs.svg
[gitter-link]: https://gitter.im/ethereum/ethereumjs
[discord-badge]: https://img.shields.io/static/v1?logo=discord&label=discord&message=Join&color=blue
[discord-link]: https://discord.gg/TNwARpR[![StackExchange][stackexchange-badge]][stackexchange-link]
[stackexchange-badge]: https://img.shields.io/badge/ethereumjs-stackexchange-brightgreen
[stackexchange-link]: https://ethereum.stackexchange.com/questions/tagged/ethereumjs
[js-standard-style-badge]: https://cdn.rawgit.com/feross/standard/master/badge.svg
Expand Down

0 comments on commit bb1cc40

Please sign in to comment.