UNPKG

@ethereumjs/vm

Version:
99 lines (98 loc) 4.83 kB
{ "name": "@ethereumjs/vm", "version": "10.0.0", "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": "module", "sideEffects": false, "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "exports": { ".": { "import": { "typescript": "./src/index.ts", "default": "./dist/esm/index.js" }, "require": "./dist/cjs/index.js" } }, "files": ["dist", "src"], "scripts": { "benchmarks": "node --max-old-space-size=4096 ./benchmarks/run.js benchmarks mainnetBlocks:10", "biome": "npx @biomejs/biome check", "biome:fix": "npx @biomejs/biome check --write", "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 -c ./vitest.config.coverage.ts", "docs:build": "typedoc --options typedoc.mjs", "examples": "tsx ../../scripts/examples-runner.ts -- vm", "examples:build": "npx embedme README.md", "formatTest": "node ./scripts/formatTest", "lint": "npm run biome && eslint --config ./eslint.config.mjs .", "lint:fix": "npm run biome:fix && eslint --fix --config ./eslint.config.mjs .", "prepublishOnly": "../../config/cli/prepublish.sh && npm run test:buildIntegrity", "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 -c ./vitest.config.ts ./test/api/", "test:browser": "npx vitest run --config=./vitest.config.browser.mts", "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 --conditions=typescript ./test/tester --stack-size=1500", "tsc": "../../config/cli/ts-compile.sh" }, "dependencies": { "@ethereumjs/block": "^10.0.0", "@ethereumjs/common": "^10.0.0", "@ethereumjs/evm": "^10.0.0", "@ethereumjs/mpt": "^10.0.0", "@ethereumjs/rlp": "^10.0.0", "@ethereumjs/statemanager": "^10.0.0", "@ethereumjs/tx": "^10.0.0", "@ethereumjs/util": "^10.0.0", "@ethereumjs/verkle": "^10.0.0", "debug": "^4.4.0", "ethereum-cryptography": "^3.2.0", "eventemitter3": "^5.0.1" }, "devDependencies": { "@ethereumjs/blockchain": "^10.0.0", "@ethereumjs/ethash": "^10.0.0", "@paulmillr/trusted-setups": "^0.1.2", "@types/benchmark": "^2.1.5", "@types/core-js": "^2.5.8", "@types/minimist": "^1.2.5", "@types/node-dir": "^0.0.37", "benchmark": "^2.1.4", "ethers": "^6.13.5", "mcl-wasm": "^1.8.0", "micro-eth-signer": "^0.14.0", "minimist": "^1.2.8", "node-dir": "^0.1.17", "nyc": "^17.1.0", "solc": "^0.8.28", "tape": "^5.9.0", "yargs": "^17.7.2", "@ethereumjs/testdata": "1.0.0" }, "engines": { "node": ">=18" } }