@lodestar/beacon-node 1.46.0-dev.ba5ee9aff0 → 1.46.0-dev.cae84b66d5

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.
Files changed (123) hide show
  1. package/lib/api/impl/config/constants.d.ts +1 -0
  2. package/lib/api/impl/config/constants.d.ts.map +1 -1
  3. package/lib/api/impl/config/constants.js +2 -1
  4. package/lib/api/impl/config/constants.js.map +1 -1
  5. package/lib/api/impl/lodestar/index.d.ts.map +1 -1
  6. package/lib/api/impl/lodestar/index.js +2 -3
  7. package/lib/api/impl/lodestar/index.js.map +1 -1
  8. package/lib/chain/archiveStore/archiveStore.d.ts.map +1 -1
  9. package/lib/chain/archiveStore/archiveStore.js +17 -3
  10. package/lib/chain/archiveStore/archiveStore.js.map +1 -1
  11. package/lib/chain/archiveStore/historicalState/historicalStateRegen.d.ts.map +1 -1
  12. package/lib/chain/archiveStore/historicalState/historicalStateRegen.js +0 -1
  13. package/lib/chain/archiveStore/historicalState/historicalStateRegen.js.map +1 -1
  14. package/lib/chain/blocks/verifyExecutionPayloadEnvelope.js +1 -1
  15. package/lib/chain/blocks/verifyExecutionPayloadEnvelope.js.map +1 -1
  16. package/lib/chain/bls/multithread/index.d.ts.map +1 -1
  17. package/lib/chain/bls/multithread/index.js +0 -1
  18. package/lib/chain/bls/multithread/index.js.map +1 -1
  19. package/lib/chain/errors/executionPayloadBid.d.ts +8 -1
  20. package/lib/chain/errors/executionPayloadBid.d.ts.map +1 -1
  21. package/lib/chain/errors/executionPayloadBid.js +1 -0
  22. package/lib/chain/errors/executionPayloadBid.js.map +1 -1
  23. package/lib/chain/opPools/aggregatedAttestationPool.d.ts.map +1 -1
  24. package/lib/chain/opPools/aggregatedAttestationPool.js +2 -1
  25. package/lib/chain/opPools/aggregatedAttestationPool.js.map +1 -1
  26. package/lib/chain/prepareNextSlot.js +1 -1
  27. package/lib/chain/prepareNextSlot.js.map +1 -1
  28. package/lib/chain/produceBlock/produceBlockBody.js +3 -3
  29. package/lib/chain/produceBlock/produceBlockBody.js.map +1 -1
  30. package/lib/chain/seenCache/seenExecutionPayloadBids.d.ts +6 -5
  31. package/lib/chain/seenCache/seenExecutionPayloadBids.d.ts.map +1 -1
  32. package/lib/chain/seenCache/seenExecutionPayloadBids.js +16 -8
  33. package/lib/chain/seenCache/seenExecutionPayloadBids.js.map +1 -1
  34. package/lib/chain/validation/blobSidecar.js +1 -1
  35. package/lib/chain/validation/executionPayloadBid.d.ts +0 -5
  36. package/lib/chain/validation/executionPayloadBid.d.ts.map +1 -1
  37. package/lib/chain/validation/executionPayloadBid.js +70 -24
  38. package/lib/chain/validation/executionPayloadBid.js.map +1 -1
  39. package/lib/chain/validation/proposerPreferences.js +8 -8
  40. package/lib/chain/validation/proposerPreferences.js.map +1 -1
  41. package/lib/chain/validatorMonitor.js +1 -1
  42. package/lib/chain/validatorMonitor.js.map +1 -1
  43. package/lib/metrics/nodeJsMetrics.js +1 -1
  44. package/lib/metrics/nodeJsMetrics.js.map +1 -1
  45. package/lib/network/core/networkCoreWorkerHandler.d.ts.map +1 -1
  46. package/lib/network/core/networkCoreWorkerHandler.js +2 -7
  47. package/lib/network/core/networkCoreWorkerHandler.js.map +1 -1
  48. package/lib/network/discv5/index.d.ts.map +1 -1
  49. package/lib/network/discv5/index.js +1 -4
  50. package/lib/network/discv5/index.js.map +1 -1
  51. package/lib/network/gossip/topic.d.ts +4 -4
  52. package/lib/network/libp2p/index.d.ts.map +1 -1
  53. package/lib/network/libp2p/index.js +2 -9
  54. package/lib/network/libp2p/index.js.map +1 -1
  55. package/lib/network/peers/datastore.d.ts +1 -1
  56. package/lib/network/peers/datastore.d.ts.map +1 -1
  57. package/lib/network/peers/datastore.js +1 -1
  58. package/lib/network/peers/datastore.js.map +1 -1
  59. package/lib/network/processor/index.d.ts.map +1 -1
  60. package/lib/network/processor/index.js +2 -1
  61. package/lib/network/processor/index.js.map +1 -1
  62. package/lib/network/reqresp/handlers/lightClientUpdatesByRange.d.ts.map +1 -1
  63. package/lib/network/reqresp/handlers/lightClientUpdatesByRange.js +5 -1
  64. package/lib/network/reqresp/handlers/lightClientUpdatesByRange.js.map +1 -1
  65. package/lib/sync/constants.d.ts +6 -5
  66. package/lib/sync/constants.d.ts.map +1 -1
  67. package/lib/sync/constants.js +6 -5
  68. package/lib/sync/constants.js.map +1 -1
  69. package/lib/sync/range/batch.d.ts +10 -1
  70. package/lib/sync/range/batch.d.ts.map +1 -1
  71. package/lib/sync/range/batch.js +28 -10
  72. package/lib/sync/range/batch.js.map +1 -1
  73. package/lib/sync/range/chain.d.ts.map +1 -1
  74. package/lib/sync/range/chain.js +30 -15
  75. package/lib/sync/range/chain.js.map +1 -1
  76. package/lib/sync/range/utils/batches.d.ts +18 -0
  77. package/lib/sync/range/utils/batches.d.ts.map +1 -1
  78. package/lib/sync/range/utils/batches.js +39 -0
  79. package/lib/sync/range/utils/batches.js.map +1 -1
  80. package/lib/util/profile.d.ts +3 -0
  81. package/lib/util/profile.d.ts.map +1 -1
  82. package/lib/util/profile.js +1 -27
  83. package/lib/util/profile.js.map +1 -1
  84. package/lib/util/sszBytes.js +1 -1
  85. package/package.json +25 -36
  86. package/src/api/impl/config/constants.ts +2 -0
  87. package/src/api/impl/lodestar/index.ts +2 -3
  88. package/src/chain/archiveStore/archiveStore.ts +20 -3
  89. package/src/chain/archiveStore/historicalState/historicalStateRegen.ts +0 -1
  90. package/src/chain/blocks/verifyExecutionPayloadEnvelope.ts +1 -1
  91. package/src/chain/bls/multithread/index.ts +0 -1
  92. package/src/chain/errors/executionPayloadBid.ts +9 -1
  93. package/src/chain/opPools/aggregatedAttestationPool.ts +3 -1
  94. package/src/chain/prepareNextSlot.ts +1 -1
  95. package/src/chain/produceBlock/produceBlockBody.ts +3 -3
  96. package/src/chain/seenCache/seenExecutionPayloadBids.ts +22 -9
  97. package/src/chain/validation/blobSidecar.ts +1 -1
  98. package/src/chain/validation/executionPayloadBid.ts +87 -26
  99. package/src/chain/validation/proposerPreferences.ts +8 -8
  100. package/src/chain/validatorMonitor.ts +1 -1
  101. package/src/metrics/nodeJsMetrics.ts +1 -1
  102. package/src/network/core/networkCoreWorkerHandler.ts +2 -6
  103. package/src/network/discv5/index.ts +1 -4
  104. package/src/network/libp2p/index.ts +2 -10
  105. package/src/network/peers/datastore.ts +1 -1
  106. package/src/network/processor/index.ts +2 -1
  107. package/src/network/reqresp/handlers/lightClientUpdatesByRange.ts +5 -1
  108. package/src/sync/constants.ts +6 -5
  109. package/src/sync/range/batch.ts +31 -10
  110. package/src/sync/range/chain.ts +36 -16
  111. package/src/sync/range/utils/batches.ts +44 -0
  112. package/src/util/profile.ts +1 -31
  113. package/src/util/sszBytes.ts +1 -1
  114. package/lib/bun-wrappers/prometheus-gc-stats.d.ts +0 -2
  115. package/lib/bun-wrappers/prometheus-gc-stats.d.ts.map +0 -1
  116. package/lib/bun-wrappers/prometheus-gc-stats.js +0 -8
  117. package/lib/bun-wrappers/prometheus-gc-stats.js.map +0 -1
  118. package/lib/network/peers/datastore_bun.d.ts +0 -3
  119. package/lib/network/peers/datastore_bun.d.ts.map +0 -1
  120. package/lib/network/peers/datastore_bun.js +0 -3
  121. package/lib/network/peers/datastore_bun.js.map +0 -1
  122. package/src/bun-wrappers/prometheus-gc-stats.ts +0 -7
  123. package/src/network/peers/datastore_bun.ts +0 -3
@@ -706,7 +706,7 @@ export function getBlockRootFromPayloadAttestationMessageSerialized(data: Uint8A
706
706
  * blockHash: Bytes32 (32 bytes)
707
707
  * prevRandao: Bytes32 (32 bytes)
708
708
  * feeRecipient: ExecutionAddress(20 bytes)
709
- * gasLimit: UintNum64 (8 bytes)
709
+ * gasLimit: UintBn64 (8 bytes)
710
710
  * builderIndex: BuilderIndex (8 bytes)
711
711
  * slot: Slot (8 bytes) ← absolute offset 264
712
712
  */
@@ -1,2 +0,0 @@
1
- export declare function gcStats(): () => void;
2
- //# sourceMappingURL=prometheus-gc-stats.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"prometheus-gc-stats.d.ts","sourceRoot":"","sources":["../../src/bun-wrappers/prometheus-gc-stats.ts"],"names":[],"mappings":"AAIA,wBAAgB,OAAO,eAEtB"}
@@ -1,8 +0,0 @@
1
- // Bun does not support `GCProfiler` from `node:v8`a
2
- // Which is exposed from `@chainsafe/prometheus-gc-stats` and used in `packages/beacon-node/src/metrics/nodeJsMetrics.ts`
3
- // So we expose a dummy function for Bun runtime which do nothing for now
4
- // TODO: May look get some useful data from `bun:jsc`
5
- export function gcStats() {
6
- return () => { };
7
- }
8
- //# sourceMappingURL=prometheus-gc-stats.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"prometheus-gc-stats.js","sourceRoot":"","sources":["../../src/bun-wrappers/prometheus-gc-stats.ts"],"names":[],"mappings":"AAAA,oDAAoD;AACpD,yHAAyH;AACzH,yEAAyE;AACzE,qDAAqD;AACrD,MAAM,UAAU,OAAO,GAAG;IACxB,OAAO,GAAG,EAAE,CAAC,EAAC,CAAC,CAAC;AAAA,CACjB"}
@@ -1,3 +0,0 @@
1
- import { FsDatastore } from "datastore-fs";
2
- export declare const LevelDatastore: typeof FsDatastore;
3
- //# sourceMappingURL=datastore_bun.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"datastore_bun.d.ts","sourceRoot":"","sources":["../../../src/network/peers/datastore_bun.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,cAAc,CAAC;AAEzC,eAAO,MAAM,cAAc,oBAAc,CAAC"}
@@ -1,3 +0,0 @@
1
- import { FsDatastore } from "datastore-fs";
2
- export const LevelDatastore = FsDatastore;
3
- //# sourceMappingURL=datastore_bun.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"datastore_bun.js","sourceRoot":"","sources":["../../../src/network/peers/datastore_bun.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,cAAc,CAAC;AAEzC,MAAM,CAAC,MAAM,cAAc,GAAG,WAAW,CAAC"}
@@ -1,7 +0,0 @@
1
- // Bun does not support `GCProfiler` from `node:v8`a
2
- // Which is exposed from `@chainsafe/prometheus-gc-stats` and used in `packages/beacon-node/src/metrics/nodeJsMetrics.ts`
3
- // So we expose a dummy function for Bun runtime which do nothing for now
4
- // TODO: May look get some useful data from `bun:jsc`
5
- export function gcStats() {
6
- return () => {};
7
- }
@@ -1,3 +0,0 @@
1
- import {FsDatastore} from "datastore-fs";
2
-
3
- export const LevelDatastore = FsDatastore;