@nomicfoundation/ethereumjs-vm

v6.4.2
An Ethereum VM implementation
ethereum VM

tsc

../../config/cli/ts-compile.sh

lint

../../config/cli/lint.sh

tape

tape -r ts-node/register --stack-size=1500

test

echo "[INFO] Generic test cmd not used. See package.json for more specific test run cmds."

build

../../config/cli/ts-build.sh

clean

../../config/cli/clean-package.sh

tester

ts-node ./tests/tester --stack-size=1500

coverage

c8 --all --reporter=lcov --reporter=text --reporter=text-lcov npm run coverage:test

examples

ts-node ../../scripts/examples-runner.ts -- vm

lint:fix

../../config/cli/lint-fix.sh

test:API

npm run tape -- './tests/api/**/*.spec.ts'

lint:diff

../../config/cli/lint-diff.sh

profiling

0x ./benchmarks/run.js profiling

benchmarks

node --max-old-space-size=4096 ./benchmarks/run.js benchmarks mainnetBlocks:10

docs:build

typedoc --options typedoc.js

formatTest

node ./scripts/formatTest

test:state

npm run tester -- --state

coverage:test

npm run test:API

test:blockchain

npm run tester -- --blockchain

test:state:slow

npm run test:state -- --runSkipped=slow

build:benchmarks

npm run build && tsc -p tsconfig.benchmarks.json

test:API:browser

karma start karma.conf.js

test:buildIntegrity

npm run test:state -- --test='stackOverflow'

test:state:allForks

echo 'Chainstart Homestead dao TangerineWhistle SpuriousDragon Byzantium Constantinople Petersburg Istanbul MuirGlacier Berlin London ByzantiumToConstantinopleFixAt5 EIP158ToByzantiumAt5 FrontierToHomesteadAt5 HomesteadToDaoAt5 HomesteadToEIP150At5 BerlinToLondonAt5' | xargs -n1 | xargs -I v1 npm run test:state -- --fork=v1 --verify-test-amount-alltests

test:blockchain:allForks

echo 'Chainstart Homestead dao TangerineWhistle SpuriousDragon Byzantium Constantinople Petersburg Istanbul MuirGlacier Berlin London ByzantiumToConstantinopleFixAt5 EIP158ToByzantiumAt5 FrontierToHomesteadAt5 HomesteadToDaoAt5 HomesteadToEIP150At5 BerlinToLondonAt5' | xargs -n1 | xargs -I v1 npm run tester -- --blockchain --fork=v1 --verify-test-amount-alltests

test:state:selectedForks

echo 'Homestead TangerineWhistle SpuriousDragon Petersburg Berlin London' | xargs -n1 | xargs -I v1 npm run test:state -- --fork=v1 --verify-test-amount-alltests

test:blockchain:transitionForks

echo 'ByzantiumToConstantinopleFixAt5 EIP158ToByzantiumAt5 FrontierToHomesteadAt5 HomesteadToDaoAt5 HomesteadToEIP150At5 BerlinToLondonAt5' | xargs -n1 | xargs -I v1 npm run tester -- --blockchain --fork=v1 --verify-test-amount-alltests
npm i @nomicfoundation/[email protected]

Metadata

Downloads