Files
lodestar/packages/beacon-node/package.json
Nico Flaig aceb5b7416 chore: remove eth1 related code (#8692)
**Motivation**

All networks are post-electra now and transition period is completed,
which means due to [EIP-6110](https://eips.ethereum.org/EIPS/eip-6110)
we no longer need to process deposits via eth1 bridge as those are now
processed by the execution layer.

This code is effectively tech debt, no longer exercised and just gets in
the way when doing refactors.

**Description**

Removes all code related to eth1 bridge mechanism to include new
deposits

- removed all eth1 related code, we can no longer produce blocks with
deposits pre-electra (syncing blocks still works)
- building a genesis state from eth1 is no longer supported (only for
testing)
- removed various db repositories related to deposits/eth1 data
- removed various `lodestar_eth1_*` metrics and dashboard panels
- deprecated all `--eth1.*` flags (but kept for backward compatibility)
- moved shared utility functions from eth1 to execution engine module

Closes https://github.com/ChainSafe/lodestar/issues/7682
Closes https://github.com/ChainSafe/lodestar/issues/8654
2025-12-17 15:45:02 +07:00

184 lines
5.8 KiB
JSON

{
"name": "@lodestar/beacon-node",
"description": "A Typescript implementation of the beacon chain",
"license": "Apache-2.0",
"author": "ChainSafe Systems",
"homepage": "https://github.com/ChainSafe/lodestar#readme",
"repository": {
"type": "git",
"url": "git+https://github.com:ChainSafe/lodestar.git"
},
"bugs": {
"url": "https://github.com/ChainSafe/lodestar/issues"
},
"version": "1.38.0",
"type": "module",
"exports": {
".": {
"bun": "./src/index.ts",
"types": "./lib/index.d.ts",
"import": "./lib/index.js"
},
"./api": {
"bun": "./src/api/index.ts",
"types": "./lib/api/index.d.ts",
"import": "./lib/api/index.js"
},
"./chain": {
"bun": "./src/chain/index.ts",
"types": "./lib/chain/index.d.ts",
"import": "./lib/chain/index.js"
},
"./constants": {
"bun": "./src/constants/index.ts",
"types": "./lib/constants/index.d.ts",
"import": "./lib/constants/index.js"
},
"./db": {
"bun": "./src/db/index.ts",
"types": "./lib/db/index.d.ts",
"import": "./lib/db/index.js"
},
"./metrics": {
"bun": "./src/metrics/index.ts",
"types": "./lib/metrics/index.d.ts",
"import": "./lib/metrics/index.js"
},
"./monitoring": {
"bun": "./src/monitoring/index.ts",
"types": "./lib/monitoring/index.d.ts",
"import": "./lib/monitoring/index.js"
},
"./network": {
"bun": "./src/network/index.ts",
"types": "./lib/network/index.d.ts",
"import": "./lib/network/index.js"
},
"./node": {
"bun": "./src/node/index.ts",
"types": "./lib/node/index.d.ts",
"import": "./lib/node/index.js"
},
"./sync": {
"bun": "./src/sync/index.ts",
"types": "./lib/sync/index.d.ts",
"import": "./lib/sync/index.js"
},
"./util": {
"bun": "./src/util/index.ts",
"types": "./lib/util/index.d.ts",
"import": "./lib/util/index.js"
}
},
"imports": {
"#prometheus-gc-stats-wrapper": {
"bun": "./src/bun-wrappers/prometheus-gc-stats.ts",
"default": "@chainsafe/prometheus-gc-stats"
},
"#datastore-wrapper": {
"bun": "./src/network/peers/datastore_bun.ts",
"default": "datastore-level"
}
},
"files": [
"src",
"lib",
"!**/*.tsbuildinfo"
],
"scripts": {
"clean": "rm -rf lib && rm -f *.tsbuildinfo",
"build": "tsc -p tsconfig.build.json",
"build:watch": "yarn run build --watch",
"build:release": "yarn clean && yarn run build",
"check-build": "node -e \"(async function() { await import('./lib/index.js') })()\"",
"check-types": "tsc",
"lint": "biome check src/ test/",
"lint:fix": "yarn run lint --write",
"test": "yarn test:unit && yarn test:e2e",
"test:unit": "vitest run --project unit --project unit-minimal",
"test:e2e": "vitest run --project e2e --project e2e-mainnet",
"test:sim": "vitest run test/sim/**/*.test.ts",
"test:sim:blobs": "vitest run test/sim/4844-interop.test.ts",
"download-spec-tests": "node --loader=ts-node/esm test/spec/downloadTests.ts",
"test:spec:bls": "vitest run --project spec-minimal test/spec/bls/",
"test:spec:general": "vitest run --project spec-minimal test/spec/general/",
"test:spec:minimal": "vitest run --project spec-minimal test/spec/presets/",
"test:spec:mainnet": "vitest run --project spec-mainnet test/spec/presets/",
"test:spec": "yarn test:spec:bls && yarn test:spec:general && yarn test:spec:minimal && yarn test:spec:mainnet",
"check-readme": "typescript-docs-verifier"
},
"dependencies": {
"@chainsafe/as-sha256": "^1.2.0",
"@chainsafe/blst": "^2.2.0",
"@chainsafe/discv5": "^11.0.4",
"@chainsafe/enr": "^5.0.1",
"@chainsafe/libp2p-gossipsub": "^14.1.2",
"@chainsafe/libp2p-noise": "^16.1.5",
"@chainsafe/persistent-merkle-tree": "^1.2.1",
"@chainsafe/prometheus-gc-stats": "^1.0.0",
"@chainsafe/pubkey-index-map": "^3.0.0",
"@chainsafe/snappy-wasm": "^0.5.0",
"@chainsafe/ssz": "^1.2.2",
"@chainsafe/threads": "^1.11.3",
"@crate-crypto/node-eth-kzg": "0.9.1",
"@fastify/bearer-auth": "^10.0.1",
"@fastify/cors": "^10.0.1",
"@fastify/swagger": "^9.0.0",
"@fastify/swagger-ui": "^5.0.1",
"@libp2p/bootstrap": "^11.0.32",
"@libp2p/crypto": "^5.0.15",
"@libp2p/identify": "^3.0.27",
"@libp2p/interface": "^2.7.0",
"@libp2p/mdns": "^11.0.32",
"@libp2p/mplex": "^11.0.32",
"@libp2p/peer-id": "^5.1.0",
"@libp2p/prometheus-metrics": "^4.3.15",
"@libp2p/tcp": "^10.1.8",
"@lodestar/api": "^1.38.0",
"@lodestar/config": "^1.38.0",
"@lodestar/db": "^1.38.0",
"@lodestar/fork-choice": "^1.38.0",
"@lodestar/light-client": "^1.38.0",
"@lodestar/logger": "^1.38.0",
"@lodestar/params": "^1.38.0",
"@lodestar/reqresp": "^1.38.0",
"@lodestar/state-transition": "^1.38.0",
"@lodestar/types": "^1.38.0",
"@lodestar/utils": "^1.38.0",
"@lodestar/validator": "^1.38.0",
"@multiformats/multiaddr": "^12.1.3",
"datastore-core": "^10.0.2",
"datastore-fs": "^10.0.6",
"datastore-level": "^11.0.3",
"deepmerge": "^4.3.1",
"fastify": "^5.2.1",
"interface-datastore": "^8.3.0",
"it-all": "^3.0.4",
"it-pipe": "^3.0.1",
"jwt-simple": "0.5.6",
"libp2p": "2.9.0",
"multiformats": "^11.0.1",
"prom-client": "^15.1.0",
"qs": "^6.11.1",
"strict-event-emitter-types": "^2.0.0",
"systeminformation": "^5.22.9",
"uint8arraylist": "^2.4.7",
"xxhash-wasm": "1.0.2"
},
"devDependencies": {
"@types/qs": "^6.9.7",
"@types/tmp": "^0.2.3",
"it-drain": "^3.0.3",
"it-pair": "^2.0.6",
"rewiremock": "^3.14.5",
"rimraf": "^4.4.1",
"tmp": "^0.2.1"
},
"keywords": [
"ethereum",
"eth-consensus",
"beacon",
"blockchain"
]
}