UNPKG

@nomicfoundation/ethereumjs-vm

Version:
88 lines (87 loc) 4.38 kB
{ "name": "@nomicfoundation/ethereumjs-vm", "version": "7.0.4", "description": "An Ethereum VM implementation", "keywords": [ "ethereum", "VM" ], "homepage": "https://github.com/ethereumjs/ethereumjs-monorepo/tree/master/packages/vm#readme", "bugs": { "url": "https://github.com/ethereumjs/ethereumjs-monorepo/issues?q=is%3Aissue+label%3A%22package%3A+vm%22" }, "repository": { "type": "git", "url": "https://github.com/ethereumjs/ethereumjs-monorepo.git" }, "license": "MPL-2.0", "author": "mjbecze <mjbecze@gmail.com>", "contributors": [ "Alex Beregszaszi <alex@rtfs.hu>" ], "type": "commonjs", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "files": [ "dist", "src" ], "scripts": { "benchmarks": "node --max-old-space-size=4096 ./benchmarks/run.js benchmarks mainnetBlocks:10", "build": "../../config/cli/ts-build.sh", "build:benchmarks": "npm run build && tsc -p tsconfig.benchmarks.json", "clean": "../../config/cli/clean-package.sh", "coverage": "DEBUG=ethjs npx vitest run --coverage.enabled --coverage.reporter=lcov", "coverage:test": "npm run test:API", "docs:build": "typedoc --options typedoc.cjs", "examples": "tsx ../../scripts/examples-runner.ts -- vm", "formatTest": "node ./scripts/formatTest", "lint": "../../config/cli/lint.sh", "lint:diff": "../../config/cli/lint-diff.sh", "lint:fix": "../../config/cli/lint-fix.sh", "profiling": "0x ./benchmarks/run.js profiling", "test": "echo \"[INFO] Generic test cmd not used. See package.json for more specific test run cmds.\"", "test:API": "npx vitest run ./test/api/", "test:browser": "npx vitest run ./test/api/**/*.spec.ts --browser.name=webkit --browser.provider=playwright --browser.headless", "test:blockchain": "npm run tester -- --blockchain", "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:blockchain:transitionForks": "echo 'ByzantiumToConstantinopleFixAt5 EIP158ToByzantiumAt5 FrontierToHomesteadAt5 HomesteadToDaoAt5 HomesteadToEIP150At5 BerlinToLondonAt5' | xargs -n1 | xargs -I v1 npm run tester -- --blockchain --fork=v1 --verify-test-amount-alltests", "test:buildIntegrity": "npm run test:state -- --test='stackOverflow'", "test:state": "npm run tester -- --state", "test:state:allForks": "echo 'Chainstart Homestead dao TangerineWhistle SpuriousDragon Byzantium Constantinople Petersburg Istanbul MuirGlacier Berlin London ByzantiumToConstantinopleFixAt5 EIP158ToByzantiumAt5 FrontierToHomesteadAt5 HomesteadToDaoAt5 HomesteadToEIP150At5 BerlinToLondonAt5 Cancun' | xargs -n1 | xargs -I v1 npm run test:state -- --fork=v1 --verify-test-amount-alltests", "test:state:selectedForks": "echo 'Homestead TangerineWhistle SpuriousDragon Petersburg Berlin London Cancun' | xargs -n1 | xargs -I v1 npm run test:state -- --fork=v1 --verify-test-amount-alltests", "test:state:slow": "npm run test:state -- --runSkipped=slow", "tester": "tsx ./test/tester --stack-size=1500", "tsc": "../../config/cli/ts-compile.sh" }, "dependencies": { "@nomicfoundation/ethereumjs-block": "5.0.4", "@nomicfoundation/ethereumjs-blockchain": "7.0.4", "@nomicfoundation/ethereumjs-common": "4.0.4", "@nomicfoundation/ethereumjs-evm": "2.0.4", "@nomicfoundation/ethereumjs-rlp": "5.0.4", "@nomicfoundation/ethereumjs-statemanager": "2.0.4", "@nomicfoundation/ethereumjs-trie": "6.0.4", "@nomicfoundation/ethereumjs-tx": "5.0.4", "@nomicfoundation/ethereumjs-util": "9.0.4", "debug": "^4.3.3", "ethereum-cryptography": "0.1.3" }, "devDependencies": { "@ethersproject/abi": "^5.0.12", "@types/benchmark": "^1.0.33", "@types/core-js": "^2.5.0", "@types/minimist": "^1.2.2", "@types/node-dir": "^0.0.34", "benchmark": "^2.1.4", "c-kzg": "^2.1.2", "minimist": "^1.2.5", "node-dir": "^0.1.17", "nyc": "^15.1.0", "solc": "^0.8.1", "tape": "^5.3.1" }, "engines": { "node": ">=18" } }