@lodestar/beacon-node 1.28.0-dev.32186d08b5 → 1.28.0-dev.51efa3d604
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api/impl/config/constants.d.ts +13 -13
- package/lib/api/rest/activeSockets.d.ts +0 -1
- package/lib/api/rest/swaggerUI.d.ts +2 -3
- package/lib/chain/archiver/archiver.d.ts +1 -1
- package/lib/chain/archiver/strategies/frequencyStateArchiveStrategy.d.ts +1 -1
- package/lib/chain/beaconProposerCache.d.ts +1 -1
- package/lib/chain/emitter.d.ts +3 -2
- package/lib/chain/regen/regen.d.ts +13 -0
- package/lib/chain/regen/regen.js +31 -4
- package/lib/chain/regen/regen.js.map +1 -1
- package/lib/chain/serializeState.js +12 -5
- package/lib/chain/serializeState.js.map +1 -1
- package/lib/chain/stateCache/persistentCheckpointsCache.js +18 -5
- package/lib/chain/stateCache/persistentCheckpointsCache.js.map +1 -1
- package/lib/constants/constants.d.ts +2 -3
- package/lib/db/repositories/backfilledRanges.d.ts +0 -1
- package/lib/db/repositories/block.d.ts +0 -1
- package/lib/db/repositories/blockArchive.d.ts +0 -1
- package/lib/db/repositories/depositDataRoot.d.ts +0 -1
- package/lib/db/repositories/eth1Data.d.ts +0 -1
- package/lib/eth1/eth1DepositDataTracker.js +1 -1
- package/lib/eth1/eth1DepositDataTracker.js.map +1 -1
- package/lib/eth1/provider/jsonRpcHttpClient.d.ts +12 -11
- package/lib/eth1/provider/jwt.d.ts +0 -1
- package/lib/execution/engine/payloadIdCache.d.ts +1 -1
- package/lib/network/core/events.d.ts +3 -1
- package/lib/network/discv5/index.d.ts +3 -2
- package/lib/network/events.d.ts +3 -1
- package/lib/network/gossip/constants.d.ts +2 -3
- package/lib/network/gossip/topic.d.ts +547 -15
- package/lib/node/utils/interop/state.d.ts +1 -2
- package/lib/sync/backfill/backfill.d.ts +3 -2
- package/lib/sync/range/range.d.ts +3 -2
- package/lib/util/bufferPool.d.ts +0 -1
- package/lib/util/clock.d.ts +0 -1
- package/lib/util/graffiti.d.ts +0 -1
- package/lib/util/hex.d.ts +0 -1
- package/lib/util/multifork.d.ts +0 -1
- package/lib/util/workerEvents.d.ts +0 -1
- package/package.json +24 -24
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
1
|
import { ChainForkConfig } from "@lodestar/config";
|
|
3
2
|
import { BeaconStateAllForks } from "@lodestar/state-transition";
|
|
4
3
|
import { Bytes32, TimeSeconds, phase0 } from "@lodestar/types";
|
|
5
4
|
import { DepositTree } from "../../../db/repositories/depositDataRoot.js";
|
|
6
|
-
export declare const INTEROP_BLOCK_HASH: Buffer
|
|
5
|
+
export declare const INTEROP_BLOCK_HASH: Buffer<ArrayBuffer>;
|
|
7
6
|
export declare const INTEROP_TIMESTAMP: number;
|
|
8
7
|
export declare const GENESIS_GAS_LIMIT = 30000000;
|
|
9
8
|
export declare const GENESIS_BASE_FEE_PER_GAS: bigint;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
1
|
import { EventEmitter } from "node:events";
|
|
3
2
|
import { BeaconConfig } from "@lodestar/config";
|
|
4
3
|
import { BeaconStateAllForks } from "@lodestar/state-transition";
|
|
@@ -76,7 +75,9 @@ type BackFillSyncAnchor = {
|
|
|
76
75
|
anchorSlot: Slot;
|
|
77
76
|
lastBackSyncedBlock: null;
|
|
78
77
|
};
|
|
79
|
-
declare const BackfillSync_base:
|
|
78
|
+
declare const BackfillSync_base: {
|
|
79
|
+
new (): BackfillSyncEmitter;
|
|
80
|
+
};
|
|
80
81
|
export declare class BackfillSync extends BackfillSync_base {
|
|
81
82
|
/** Lowest slot that we have backfilled to */
|
|
82
83
|
syncAnchor: BackFillSyncAnchor;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
1
|
import { EventEmitter } from "node:events";
|
|
3
2
|
import { BeaconConfig } from "@lodestar/config";
|
|
4
3
|
import { phase0 } from "@lodestar/types";
|
|
@@ -43,7 +42,9 @@ export type RangeSyncModules = {
|
|
|
43
42
|
export type RangeSyncOpts = {
|
|
44
43
|
disableProcessAsChainSegment?: boolean;
|
|
45
44
|
};
|
|
46
|
-
declare const RangeSync_base:
|
|
45
|
+
declare const RangeSync_base: {
|
|
46
|
+
new (): RangeSyncEmitter;
|
|
47
|
+
};
|
|
47
48
|
/**
|
|
48
49
|
* RangeSync groups peers by their `status` into static target `SyncChain` instances
|
|
49
50
|
* Peers on each chain will be queried for batches until reaching their target.
|
package/lib/util/bufferPool.d.ts
CHANGED
package/lib/util/clock.d.ts
CHANGED
package/lib/util/graffiti.d.ts
CHANGED
package/lib/util/hex.d.ts
CHANGED
package/lib/util/multifork.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"bugs": {
|
|
12
12
|
"url": "https://github.com/ChainSafe/lodestar/issues"
|
|
13
13
|
},
|
|
14
|
-
"version": "1.28.0-dev.
|
|
14
|
+
"version": "1.28.0-dev.51efa3d604",
|
|
15
15
|
"type": "module",
|
|
16
16
|
"exports": {
|
|
17
17
|
".": {
|
|
@@ -78,18 +78,18 @@
|
|
|
78
78
|
"lint": "biome check src/ test/",
|
|
79
79
|
"lint:fix": "yarn run lint --write",
|
|
80
80
|
"test": "yarn test:unit && yarn test:e2e",
|
|
81
|
-
"test:unit:minimal": "LODESTAR_PRESET=minimal vitest
|
|
82
|
-
"test:unit:mainnet": "LODESTAR_PRESET=mainnet vitest
|
|
81
|
+
"test:unit:minimal": "LODESTAR_PRESET=minimal vitest run --dir test/unit/",
|
|
82
|
+
"test:unit:mainnet": "LODESTAR_PRESET=mainnet vitest run --dir test/unit-mainnet",
|
|
83
83
|
"test:unit": "wrapper() { yarn test:unit:minimal $@ && yarn test:unit:mainnet $@; }; wrapper",
|
|
84
|
-
"test:e2e": "LODESTAR_PRESET=minimal vitest
|
|
85
|
-
"test:sim": "vitest
|
|
86
|
-
"test:sim:mergemock": "vitest
|
|
87
|
-
"test:sim:blobs": "vitest
|
|
84
|
+
"test:e2e": "LODESTAR_PRESET=minimal vitest run --config vitest.e2e.config.ts --dir test/e2e",
|
|
85
|
+
"test:sim": "vitest run test/sim/**/*.test.ts",
|
|
86
|
+
"test:sim:mergemock": "vitest run test/sim/mergemock.test.ts",
|
|
87
|
+
"test:sim:blobs": "vitest run test/sim/4844-interop.test.ts",
|
|
88
88
|
"download-spec-tests": "node --loader=ts-node/esm test/spec/downloadTests.ts",
|
|
89
|
-
"test:spec:bls": "vitest
|
|
90
|
-
"test:spec:general": "vitest
|
|
91
|
-
"test:spec:minimal": "LODESTAR_PRESET=minimal vitest
|
|
92
|
-
"test:spec:mainnet": "LODESTAR_PRESET=mainnet vitest
|
|
89
|
+
"test:spec:bls": "vitest run --config vitest.spec.config.ts --dir test/spec/bls/",
|
|
90
|
+
"test:spec:general": "vitest run --config vitest.spec.config.ts --dir test/spec/general/",
|
|
91
|
+
"test:spec:minimal": "LODESTAR_PRESET=minimal vitest run --config vitest.spec.config.ts --dir test/spec/presets/",
|
|
92
|
+
"test:spec:mainnet": "LODESTAR_PRESET=mainnet vitest run --config vitest.spec.config.ts --dir test/spec/presets/",
|
|
93
93
|
"test:spec": "yarn test:spec:bls && yarn test:spec:general && yarn test:spec:minimal && yarn test:spec:mainnet",
|
|
94
94
|
"check-readme": "typescript-docs-verifier"
|
|
95
95
|
},
|
|
@@ -120,18 +120,18 @@
|
|
|
120
120
|
"@libp2p/peer-id-factory": "^4.1.0",
|
|
121
121
|
"@libp2p/prometheus-metrics": "^3.0.21",
|
|
122
122
|
"@libp2p/tcp": "9.0.23",
|
|
123
|
-
"@lodestar/api": "1.28.0-dev.
|
|
124
|
-
"@lodestar/config": "1.28.0-dev.
|
|
125
|
-
"@lodestar/db": "1.28.0-dev.
|
|
126
|
-
"@lodestar/fork-choice": "1.28.0-dev.
|
|
127
|
-
"@lodestar/light-client": "1.28.0-dev.
|
|
128
|
-
"@lodestar/logger": "1.28.0-dev.
|
|
129
|
-
"@lodestar/params": "1.28.0-dev.
|
|
130
|
-
"@lodestar/reqresp": "1.28.0-dev.
|
|
131
|
-
"@lodestar/state-transition": "1.28.0-dev.
|
|
132
|
-
"@lodestar/types": "1.28.0-dev.
|
|
133
|
-
"@lodestar/utils": "1.28.0-dev.
|
|
134
|
-
"@lodestar/validator": "1.28.0-dev.
|
|
123
|
+
"@lodestar/api": "1.28.0-dev.51efa3d604",
|
|
124
|
+
"@lodestar/config": "1.28.0-dev.51efa3d604",
|
|
125
|
+
"@lodestar/db": "1.28.0-dev.51efa3d604",
|
|
126
|
+
"@lodestar/fork-choice": "1.28.0-dev.51efa3d604",
|
|
127
|
+
"@lodestar/light-client": "1.28.0-dev.51efa3d604",
|
|
128
|
+
"@lodestar/logger": "1.28.0-dev.51efa3d604",
|
|
129
|
+
"@lodestar/params": "1.28.0-dev.51efa3d604",
|
|
130
|
+
"@lodestar/reqresp": "1.28.0-dev.51efa3d604",
|
|
131
|
+
"@lodestar/state-transition": "1.28.0-dev.51efa3d604",
|
|
132
|
+
"@lodestar/types": "1.28.0-dev.51efa3d604",
|
|
133
|
+
"@lodestar/utils": "1.28.0-dev.51efa3d604",
|
|
134
|
+
"@lodestar/validator": "1.28.0-dev.51efa3d604",
|
|
135
135
|
"@multiformats/multiaddr": "^12.1.3",
|
|
136
136
|
"c-kzg": "^2.1.2",
|
|
137
137
|
"datastore-core": "^9.1.1",
|
|
@@ -168,5 +168,5 @@
|
|
|
168
168
|
"beacon",
|
|
169
169
|
"blockchain"
|
|
170
170
|
],
|
|
171
|
-
"gitHead": "
|
|
171
|
+
"gitHead": "916621c9542beadaac6e26776c4baf9fe2774ec7"
|
|
172
172
|
}
|