diff --git a/.github/workflows/vm-pr.yml b/.github/workflows/vm-pr.yml index 1d3e91b764..f45293fb14 100644 --- a/.github/workflows/vm-pr.yml +++ b/.github/workflows/vm-pr.yml @@ -85,7 +85,7 @@ jobs: - run: yarn run build:vm working-directory: ${{github.workspace}} - - run: yarn run test:state -- --fork=${{ matrix.fork }} --verify-test-amount-alltests + - run: yarn run test:state --fork=${{ matrix.fork }} --verify-test-amount-alltests test-vm-blockchain: runs-on: ubuntu-latest diff --git a/packages/vm/developer.md b/packages/vm/developer.md index 2bd1f2b113..f586854920 100644 --- a/packages/vm/developer.md +++ b/packages/vm/developer.md @@ -31,7 +31,7 @@ Use `--fork` to pass in the desired hardfork: or -`yarn run test:state -- --fork='Constantinople'` +`yarn run test:state --fork='Constantinople'` By default it is set to use the latest hardfork (`FORK_CONFIG` in `tests/tester.js`). diff --git a/packages/vm/package.json b/packages/vm/package.json index d1cb99ba8b..76bc4f1be9 100644 --- a/packages/vm/package.json +++ b/packages/vm/package.json @@ -18,8 +18,8 @@ "coverage:test": "tape -r ts-node/register './tests/api/**/*.ts' ./tests/tester.ts --state", "docs:build": "typedoc --options typedoc.js", "test:state": "ts-node ./tests/tester --state", - "test:state:allForks": "echo 'Chainstart Homestead dao TangerineWhistle SpuriousDragon Byzantium Constantinople Petersburg Istanbul MuirGlacier Berlin ByzantiumToConstantinopleFixAt5 EIP158ToByzantiumAt5 FrontierToHomesteadAt5 HomesteadToDaoAt5 HomesteadToEIP150At5' | xargs -n1 | xargs -I v1 yarn run test:state -- --fork=v1 --verify-test-amount-alltests", - "test:state:selectedForks": "echo 'Homestead TangerineWhistle SpuriousDragon Petersburg' | xargs -n1 | xargs -I v1 yarn run test:state -- --fork=v1 --verify-test-amount-alltests", + "test:state:allForks": "echo 'Chainstart Homestead dao TangerineWhistle SpuriousDragon Byzantium Constantinople Petersburg Istanbul MuirGlacier Berlin ByzantiumToConstantinopleFixAt5 EIP158ToByzantiumAt5 FrontierToHomesteadAt5 HomesteadToDaoAt5 HomesteadToEIP150At5' | xargs -n1 | xargs -I v1 yarn run test:state --fork=v1 --verify-test-amount-alltests", + "test:state:selectedForks": "echo 'Homestead TangerineWhistle SpuriousDragon Petersburg' | xargs -n1 | xargs -I v1 yarn run test:state --fork=v1 --verify-test-amount-alltests", "test:state:slow": "yarn run test:state -- --runSkipped=slow", "test:buildIntegrity": "yarn run test:state -- --test='stackOverflow'", "test:blockchain": "node -r ts-node/register --stack-size=1500 ./tests/tester --blockchain",