@lodestar/beacon-node 1.34.1 → 1.35.0-dev.092cc3954a

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 (512) hide show
  1. package/lib/api/impl/beacon/blocks/index.js +71 -53
  2. package/lib/api/impl/beacon/blocks/index.js.map +1 -1
  3. package/lib/api/impl/beacon/pool/index.js +3 -3
  4. package/lib/api/impl/beacon/pool/index.js.map +1 -1
  5. package/lib/api/impl/debug/index.js +20 -9
  6. package/lib/api/impl/debug/index.js.map +1 -1
  7. package/lib/api/impl/errors.js +2 -0
  8. package/lib/api/impl/errors.js.map +1 -1
  9. package/lib/api/impl/index.d.ts +3 -3
  10. package/lib/api/impl/index.js +3 -3
  11. package/lib/api/impl/index.js.map +1 -1
  12. package/lib/api/impl/lodestar/index.js +1 -1
  13. package/lib/api/impl/lodestar/index.js.map +1 -1
  14. package/lib/api/impl/validator/index.js +2 -1
  15. package/lib/api/impl/validator/index.js.map +1 -1
  16. package/lib/api/rest/activeSockets.js +3 -2
  17. package/lib/api/rest/activeSockets.js.map +1 -1
  18. package/lib/api/rest/base.d.ts +1 -1
  19. package/lib/api/rest/base.js +6 -2
  20. package/lib/api/rest/base.js.map +1 -1
  21. package/lib/api/rest/index.js +2 -0
  22. package/lib/api/rest/index.js.map +1 -1
  23. package/lib/api/rest/swaggerUI.js +4 -2
  24. package/lib/api/rest/swaggerUI.js.map +1 -1
  25. package/lib/bun-wrappers/prometheus-gc-stats.d.ts +2 -0
  26. package/lib/bun-wrappers/prometheus-gc-stats.js +8 -0
  27. package/lib/bun-wrappers/prometheus-gc-stats.js.map +1 -0
  28. package/lib/chain/ColumnReconstructionTracker.d.ts +32 -0
  29. package/lib/chain/ColumnReconstructionTracker.js +71 -0
  30. package/lib/chain/ColumnReconstructionTracker.js.map +1 -0
  31. package/lib/chain/GetBlobsTracker.d.ts +31 -0
  32. package/lib/chain/GetBlobsTracker.js +82 -0
  33. package/lib/chain/GetBlobsTracker.js.map +1 -0
  34. package/lib/chain/archiveStore/archiveStore.js +49 -38
  35. package/lib/chain/archiveStore/archiveStore.js.map +1 -1
  36. package/lib/chain/archiveStore/historicalState/historicalStateRegen.js +2 -0
  37. package/lib/chain/archiveStore/historicalState/historicalStateRegen.js.map +1 -1
  38. package/lib/chain/archiveStore/index.d.ts +1 -1
  39. package/lib/chain/archiveStore/index.js +1 -1
  40. package/lib/chain/archiveStore/strategies/frequencyStateArchiveStrategy.js +5 -0
  41. package/lib/chain/archiveStore/strategies/frequencyStateArchiveStrategy.js.map +1 -1
  42. package/lib/chain/archiveStore/utils/archiveBlocks.js +14 -7
  43. package/lib/chain/archiveStore/utils/archiveBlocks.js.map +1 -1
  44. package/lib/chain/balancesCache.js +1 -3
  45. package/lib/chain/balancesCache.js.map +1 -1
  46. package/lib/chain/beaconProposerCache.js +1 -0
  47. package/lib/chain/beaconProposerCache.js.map +1 -1
  48. package/lib/chain/blocks/blockInput/blockInput.d.ts +19 -7
  49. package/lib/chain/blocks/blockInput/blockInput.js +132 -88
  50. package/lib/chain/blocks/blockInput/blockInput.js.map +1 -1
  51. package/lib/chain/blocks/blockInput/index.d.ts +1 -1
  52. package/lib/chain/blocks/blockInput/index.js +1 -1
  53. package/lib/chain/blocks/blockInput/types.d.ts +19 -10
  54. package/lib/chain/blocks/blockInput/types.js +1 -0
  55. package/lib/chain/blocks/blockInput/types.js.map +1 -1
  56. package/lib/chain/blocks/blockInput/utils.d.ts +0 -4
  57. package/lib/chain/blocks/blockInput/utils.js +6 -29
  58. package/lib/chain/blocks/blockInput/utils.js.map +1 -1
  59. package/lib/chain/blocks/importBlock.js +36 -32
  60. package/lib/chain/blocks/importBlock.js.map +1 -1
  61. package/lib/chain/blocks/index.d.ts +6 -5
  62. package/lib/chain/blocks/index.js +5 -4
  63. package/lib/chain/blocks/index.js.map +1 -1
  64. package/lib/chain/blocks/types.d.ts +3 -108
  65. package/lib/chain/blocks/types.js +0 -119
  66. package/lib/chain/blocks/types.js.map +1 -1
  67. package/lib/chain/blocks/utils/chainSegment.d.ts +2 -2
  68. package/lib/chain/blocks/utils/chainSegment.js +2 -2
  69. package/lib/chain/blocks/utils/chainSegment.js.map +1 -1
  70. package/lib/chain/blocks/verifyBlock.d.ts +3 -3
  71. package/lib/chain/blocks/verifyBlock.js +15 -14
  72. package/lib/chain/blocks/verifyBlock.js.map +1 -1
  73. package/lib/chain/blocks/verifyBlocksDataAvailability.d.ts +7 -22
  74. package/lib/chain/blocks/verifyBlocksDataAvailability.js +18 -110
  75. package/lib/chain/blocks/verifyBlocksDataAvailability.js.map +1 -1
  76. package/lib/chain/blocks/verifyBlocksExecutionPayloads.d.ts +4 -3
  77. package/lib/chain/blocks/verifyBlocksExecutionPayloads.js +24 -22
  78. package/lib/chain/blocks/verifyBlocksExecutionPayloads.js.map +1 -1
  79. package/lib/chain/blocks/verifyBlocksSanityChecks.d.ts +4 -3
  80. package/lib/chain/blocks/verifyBlocksSanityChecks.js +2 -2
  81. package/lib/chain/blocks/verifyBlocksSanityChecks.js.map +1 -1
  82. package/lib/chain/blocks/verifyBlocksStateTransitionOnly.d.ts +3 -2
  83. package/lib/chain/blocks/verifyBlocksStateTransitionOnly.js +2 -2
  84. package/lib/chain/blocks/verifyBlocksStateTransitionOnly.js.map +1 -1
  85. package/lib/chain/blocks/writeBlockInputToDb.d.ts +3 -3
  86. package/lib/chain/blocks/writeBlockInputToDb.js +61 -63
  87. package/lib/chain/blocks/writeBlockInputToDb.js.map +1 -1
  88. package/lib/chain/bls/multithread/index.js +167 -163
  89. package/lib/chain/bls/multithread/index.js.map +1 -1
  90. package/lib/chain/bls/singleThread.js +1 -0
  91. package/lib/chain/bls/singleThread.js.map +1 -1
  92. package/lib/chain/chain.d.ts +13 -11
  93. package/lib/chain/chain.js +79 -20
  94. package/lib/chain/chain.js.map +1 -1
  95. package/lib/chain/emitter.d.ts +43 -2
  96. package/lib/chain/emitter.js +18 -0
  97. package/lib/chain/emitter.js.map +1 -1
  98. package/lib/chain/errors/blobSidecarError.d.ts +24 -0
  99. package/lib/chain/errors/blobSidecarError.js +10 -0
  100. package/lib/chain/errors/blobSidecarError.js.map +1 -1
  101. package/lib/chain/errors/blockError.js +1 -0
  102. package/lib/chain/errors/blockError.js.map +1 -1
  103. package/lib/chain/errors/dataColumnSidecarError.d.ts +42 -0
  104. package/lib/chain/errors/dataColumnSidecarError.js +14 -0
  105. package/lib/chain/errors/dataColumnSidecarError.js.map +1 -1
  106. package/lib/chain/errors/gossipValidation.js +1 -0
  107. package/lib/chain/errors/gossipValidation.js.map +1 -1
  108. package/lib/chain/errors/index.d.ts +2 -2
  109. package/lib/chain/errors/index.js +2 -2
  110. package/lib/chain/errors/index.js.map +1 -1
  111. package/lib/chain/forkChoice/index.js.map +1 -1
  112. package/lib/chain/genesis/genesis.js +16 -5
  113. package/lib/chain/genesis/genesis.js.map +1 -1
  114. package/lib/chain/index.d.ts +2 -2
  115. package/lib/chain/index.js +2 -2
  116. package/lib/chain/index.js.map +1 -1
  117. package/lib/chain/interface.d.ts +13 -9
  118. package/lib/chain/interface.js.map +1 -1
  119. package/lib/chain/lightClient/index.js +16 -9
  120. package/lib/chain/lightClient/index.js.map +1 -1
  121. package/lib/chain/lightClient/proofs.js.map +1 -1
  122. package/lib/chain/opPools/aggregatedAttestationPool.js +14 -9
  123. package/lib/chain/opPools/aggregatedAttestationPool.js.map +1 -1
  124. package/lib/chain/opPools/attestationPool.js +8 -3
  125. package/lib/chain/opPools/attestationPool.js.map +1 -1
  126. package/lib/chain/opPools/index.d.ts +1 -1
  127. package/lib/chain/opPools/index.js +1 -1
  128. package/lib/chain/opPools/index.js.map +1 -1
  129. package/lib/chain/opPools/opPool.js +10 -12
  130. package/lib/chain/opPools/opPool.js.map +1 -1
  131. package/lib/chain/opPools/syncCommitteeMessagePool.js +9 -6
  132. package/lib/chain/opPools/syncCommitteeMessagePool.js.map +1 -1
  133. package/lib/chain/opPools/syncContributionAndProofPool.js +5 -2
  134. package/lib/chain/opPools/syncContributionAndProofPool.js.map +1 -1
  135. package/lib/chain/options.js +1 -1
  136. package/lib/chain/options.js.map +1 -1
  137. package/lib/chain/prepareNextSlot.js +141 -134
  138. package/lib/chain/prepareNextSlot.js.map +1 -1
  139. package/lib/chain/produceBlock/produceBlockBody.d.ts +1 -1
  140. package/lib/chain/produceBlock/produceBlockBody.js +3 -10
  141. package/lib/chain/produceBlock/produceBlockBody.js.map +1 -1
  142. package/lib/chain/regen/errors.js +1 -0
  143. package/lib/chain/regen/errors.js.map +1 -1
  144. package/lib/chain/regen/index.d.ts +1 -1
  145. package/lib/chain/regen/index.js +1 -1
  146. package/lib/chain/regen/index.js.map +1 -1
  147. package/lib/chain/regen/queued.js +35 -28
  148. package/lib/chain/regen/queued.js.map +1 -1
  149. package/lib/chain/regen/regen.js +1 -0
  150. package/lib/chain/regen/regen.js.map +1 -1
  151. package/lib/chain/reprocess.js +3 -1
  152. package/lib/chain/reprocess.js.map +1 -1
  153. package/lib/chain/seenCache/index.d.ts +1 -1
  154. package/lib/chain/seenCache/index.js +1 -1
  155. package/lib/chain/seenCache/index.js.map +1 -1
  156. package/lib/chain/seenCache/seenAggregateAndProof.js +7 -6
  157. package/lib/chain/seenCache/seenAggregateAndProof.js.map +1 -1
  158. package/lib/chain/seenCache/seenAttestationData.js +5 -2
  159. package/lib/chain/seenCache/seenAttestationData.js.map +1 -1
  160. package/lib/chain/seenCache/seenAttesters.js +2 -4
  161. package/lib/chain/seenCache/seenAttesters.js.map +1 -1
  162. package/lib/chain/seenCache/seenBlockProposers.js +2 -4
  163. package/lib/chain/seenCache/seenBlockProposers.js.map +1 -1
  164. package/lib/chain/seenCache/seenCommittee.js +1 -3
  165. package/lib/chain/seenCache/seenCommittee.js.map +1 -1
  166. package/lib/chain/seenCache/seenCommitteeContribution.js +3 -2
  167. package/lib/chain/seenCache/seenCommitteeContribution.js.map +1 -1
  168. package/lib/chain/seenCache/seenGossipBlockInput.d.ts +74 -78
  169. package/lib/chain/seenCache/seenGossipBlockInput.js +235 -369
  170. package/lib/chain/seenCache/seenGossipBlockInput.js.map +1 -1
  171. package/lib/chain/shufflingCache.js +5 -2
  172. package/lib/chain/shufflingCache.js.map +1 -1
  173. package/lib/chain/stateCache/blockStateCacheImpl.js +13 -7
  174. package/lib/chain/stateCache/blockStateCacheImpl.js.map +1 -1
  175. package/lib/chain/stateCache/datastore/db.js +1 -0
  176. package/lib/chain/stateCache/datastore/db.js.map +1 -1
  177. package/lib/chain/stateCache/datastore/file.js +1 -0
  178. package/lib/chain/stateCache/datastore/file.js.map +1 -1
  179. package/lib/chain/stateCache/datastore/index.d.ts +1 -1
  180. package/lib/chain/stateCache/datastore/index.js +1 -1
  181. package/lib/chain/stateCache/datastore/index.js.map +1 -1
  182. package/lib/chain/stateCache/fifoBlockStateCache.js +10 -0
  183. package/lib/chain/stateCache/fifoBlockStateCache.js.map +1 -1
  184. package/lib/chain/stateCache/inMemoryCheckpointsCache.js +10 -4
  185. package/lib/chain/stateCache/inMemoryCheckpointsCache.js.map +1 -1
  186. package/lib/chain/stateCache/index.d.ts +1 -1
  187. package/lib/chain/stateCache/index.js +1 -1
  188. package/lib/chain/stateCache/index.js.map +1 -1
  189. package/lib/chain/stateCache/mapMetrics.js +4 -4
  190. package/lib/chain/stateCache/mapMetrics.js.map +1 -1
  191. package/lib/chain/stateCache/persistentCheckpointsCache.js +14 -6
  192. package/lib/chain/stateCache/persistentCheckpointsCache.js.map +1 -1
  193. package/lib/chain/validation/blobSidecar.d.ts +8 -3
  194. package/lib/chain/validation/blobSidecar.js +73 -31
  195. package/lib/chain/validation/blobSidecar.js.map +1 -1
  196. package/lib/chain/validation/dataColumnSidecar.d.ts +7 -9
  197. package/lib/chain/validation/dataColumnSidecar.js +95 -57
  198. package/lib/chain/validation/dataColumnSidecar.js.map +1 -1
  199. package/lib/chain/validation/index.d.ts +1 -1
  200. package/lib/chain/validation/index.js +1 -1
  201. package/lib/chain/validation/index.js.map +1 -1
  202. package/lib/chain/validation/signatureSets/aggregateAndProof.d.ts +1 -2
  203. package/lib/chain/validation/signatureSets/aggregateAndProof.js.map +1 -1
  204. package/lib/chain/validatorMonitor.d.ts +1 -3
  205. package/lib/chain/validatorMonitor.js +2 -1
  206. package/lib/chain/validatorMonitor.js.map +1 -1
  207. package/lib/db/beacon.js +24 -0
  208. package/lib/db/beacon.js.map +1 -1
  209. package/lib/db/index.d.ts +1 -1
  210. package/lib/db/index.js.map +1 -1
  211. package/lib/db/repositories/blobSidecars.js.map +1 -1
  212. package/lib/db/repositories/blockArchive.js +4 -5
  213. package/lib/db/repositories/blockArchive.js.map +1 -1
  214. package/lib/db/repositories/blockArchiveIndex.d.ts +4 -0
  215. package/lib/db/repositories/blockArchiveIndex.js +13 -5
  216. package/lib/db/repositories/blockArchiveIndex.js.map +1 -1
  217. package/lib/db/repositories/dataColumnSidecar.js +8 -7
  218. package/lib/db/repositories/dataColumnSidecar.js.map +1 -1
  219. package/lib/db/repositories/dataColumnSidecarArchive.js +17 -7
  220. package/lib/db/repositories/dataColumnSidecarArchive.js.map +1 -1
  221. package/lib/db/repositories/depositDataRoot.js +1 -0
  222. package/lib/db/repositories/depositDataRoot.js.map +1 -1
  223. package/lib/db/repositories/index.d.ts +10 -10
  224. package/lib/db/repositories/index.js +9 -9
  225. package/lib/db/repositories/index.js.map +1 -1
  226. package/lib/db/repositories/stateArchive.js +3 -2
  227. package/lib/db/repositories/stateArchive.js.map +1 -1
  228. package/lib/db/repositories/stateArchiveIndex.d.ts +1 -0
  229. package/lib/db/repositories/stateArchiveIndex.js +6 -2
  230. package/lib/db/repositories/stateArchiveIndex.js.map +1 -1
  231. package/lib/db/single/preGenesisState.d.ts +1 -0
  232. package/lib/db/single/preGenesisState.js +11 -4
  233. package/lib/db/single/preGenesisState.js.map +1 -1
  234. package/lib/db/single/preGenesisStateLastProcessedBlock.d.ts +1 -0
  235. package/lib/db/single/preGenesisStateLastProcessedBlock.js +10 -4
  236. package/lib/db/single/preGenesisStateLastProcessedBlock.js.map +1 -1
  237. package/lib/eth1/eth1DataCache.js +2 -0
  238. package/lib/eth1/eth1DataCache.js.map +1 -1
  239. package/lib/eth1/eth1DepositDataTracker.js +18 -5
  240. package/lib/eth1/eth1DepositDataTracker.js.map +1 -1
  241. package/lib/eth1/eth1DepositsCache.js +3 -0
  242. package/lib/eth1/eth1DepositsCache.js.map +1 -1
  243. package/lib/eth1/eth1MergeBlockTracker.js +10 -4
  244. package/lib/eth1/eth1MergeBlockTracker.js.map +1 -1
  245. package/lib/eth1/index.js +2 -0
  246. package/lib/eth1/index.js.map +1 -1
  247. package/lib/eth1/provider/eth1Provider.d.ts +1 -2
  248. package/lib/eth1/provider/eth1Provider.js +6 -2
  249. package/lib/eth1/provider/eth1Provider.js.map +1 -1
  250. package/lib/eth1/provider/jsonRpcHttpClient.d.ts +1 -1
  251. package/lib/eth1/provider/jsonRpcHttpClient.js +16 -2
  252. package/lib/eth1/provider/jsonRpcHttpClient.js.map +1 -1
  253. package/lib/eth1/provider/jwt.js.map +1 -1
  254. package/lib/eth1/provider/utils.d.ts +5 -0
  255. package/lib/eth1/provider/utils.js +9 -1
  256. package/lib/eth1/provider/utils.js.map +1 -1
  257. package/lib/eth1/utils/deposits.js.map +1 -1
  258. package/lib/execution/builder/cache.js +6 -0
  259. package/lib/execution/builder/cache.js.map +1 -1
  260. package/lib/execution/builder/http.js +14 -8
  261. package/lib/execution/builder/http.js.map +1 -1
  262. package/lib/execution/builder/index.js.map +1 -1
  263. package/lib/execution/engine/disabled.js +2 -4
  264. package/lib/execution/engine/disabled.js.map +1 -1
  265. package/lib/execution/engine/http.d.ts +2 -2
  266. package/lib/execution/engine/http.js +43 -11
  267. package/lib/execution/engine/http.js.map +1 -1
  268. package/lib/execution/engine/interface.d.ts +2 -2
  269. package/lib/execution/engine/interface.js.map +1 -1
  270. package/lib/execution/engine/mock.d.ts +1 -0
  271. package/lib/execution/engine/mock.js +16 -12
  272. package/lib/execution/engine/mock.js.map +1 -1
  273. package/lib/execution/engine/payloadIdCache.js +1 -3
  274. package/lib/execution/engine/payloadIdCache.js.map +1 -1
  275. package/lib/execution/engine/types.d.ts +5 -1
  276. package/lib/execution/engine/types.js +37 -8
  277. package/lib/execution/engine/types.js.map +1 -1
  278. package/lib/execution/engine/utils.js +3 -3
  279. package/lib/execution/engine/utils.js.map +1 -1
  280. package/lib/execution/index.d.ts +2 -2
  281. package/lib/execution/index.js +2 -2
  282. package/lib/execution/index.js.map +1 -1
  283. package/lib/index.d.ts +6 -6
  284. package/lib/index.js +5 -5
  285. package/lib/index.js.map +1 -1
  286. package/lib/metrics/index.d.ts +1 -1
  287. package/lib/metrics/index.js +1 -1
  288. package/lib/metrics/index.js.map +1 -1
  289. package/lib/metrics/metrics/beacon.d.ts +11 -5
  290. package/lib/metrics/metrics/beacon.js +40 -20
  291. package/lib/metrics/metrics/beacon.js.map +1 -1
  292. package/lib/metrics/metrics/lodestar.d.ts +55 -13
  293. package/lib/metrics/metrics/lodestar.js +85 -8
  294. package/lib/metrics/metrics/lodestar.js.map +1 -1
  295. package/lib/metrics/metrics.d.ts +1 -1
  296. package/lib/metrics/metrics.js.map +1 -1
  297. package/lib/metrics/nodeJsMetrics.js +1 -1
  298. package/lib/metrics/nodeJsMetrics.js.map +1 -1
  299. package/lib/metrics/server/http.d.ts +1 -1
  300. package/lib/metrics/utils/avgMinMax.d.ts +1 -1
  301. package/lib/metrics/utils/avgMinMax.js +10 -6
  302. package/lib/metrics/utils/avgMinMax.js.map +1 -1
  303. package/lib/metrics/utils/gauge.d.ts +1 -1
  304. package/lib/metrics/utils/gauge.js +1 -4
  305. package/lib/metrics/utils/gauge.js.map +1 -1
  306. package/lib/metrics/utils/registryMetricCreator.d.ts +1 -1
  307. package/lib/metrics/utils/registryMetricCreator.js.map +1 -1
  308. package/lib/monitoring/properties.js +4 -0
  309. package/lib/monitoring/properties.js.map +1 -1
  310. package/lib/monitoring/service.js +13 -1
  311. package/lib/monitoring/service.js.map +1 -1
  312. package/lib/monitoring/system.js +25 -27
  313. package/lib/monitoring/system.js.map +1 -1
  314. package/lib/network/core/networkCore.d.ts +2 -2
  315. package/lib/network/core/networkCore.js +67 -50
  316. package/lib/network/core/networkCore.js.map +1 -1
  317. package/lib/network/core/networkCoreWorker.js +1 -1
  318. package/lib/network/core/networkCoreWorker.js.map +1 -1
  319. package/lib/network/core/networkCoreWorkerHandler.d.ts +2 -2
  320. package/lib/network/core/networkCoreWorkerHandler.js +5 -2
  321. package/lib/network/core/networkCoreWorkerHandler.js.map +1 -1
  322. package/lib/network/discv5/index.d.ts +2 -2
  323. package/lib/network/discv5/index.js +5 -2
  324. package/lib/network/discv5/index.js.map +1 -1
  325. package/lib/network/discv5/worker.js +3 -3
  326. package/lib/network/discv5/worker.js.map +1 -1
  327. package/lib/network/events.d.ts +2 -18
  328. package/lib/network/events.js +0 -7
  329. package/lib/network/events.js.map +1 -1
  330. package/lib/network/gossip/encoding.d.ts +1 -1
  331. package/lib/network/gossip/encoding.js +4 -2
  332. package/lib/network/gossip/encoding.js.map +1 -1
  333. package/lib/network/gossip/errors.js +1 -0
  334. package/lib/network/gossip/errors.js.map +1 -1
  335. package/lib/network/gossip/gossipsub.d.ts +1 -1
  336. package/lib/network/gossip/gossipsub.js +8 -1
  337. package/lib/network/gossip/gossipsub.js.map +1 -1
  338. package/lib/network/gossip/index.d.ts +2 -2
  339. package/lib/network/gossip/index.js +2 -2
  340. package/lib/network/gossip/index.js.map +1 -1
  341. package/lib/network/gossip/interface.d.ts +2 -2
  342. package/lib/network/gossip/topic.d.ts +125 -105
  343. package/lib/network/gossip/topic.js +2 -1
  344. package/lib/network/gossip/topic.js.map +1 -1
  345. package/lib/network/index.d.ts +3 -3
  346. package/lib/network/index.js +3 -3
  347. package/lib/network/index.js.map +1 -1
  348. package/lib/network/interface.d.ts +3 -2
  349. package/lib/network/libp2p/index.js +2 -2
  350. package/lib/network/libp2p/index.js.map +1 -1
  351. package/lib/network/metadata.js +4 -0
  352. package/lib/network/metadata.js.map +1 -1
  353. package/lib/network/network.d.ts +4 -2
  354. package/lib/network/network.js +89 -71
  355. package/lib/network/network.js.map +1 -1
  356. package/lib/network/options.js +1 -1
  357. package/lib/network/options.js.map +1 -1
  358. package/lib/network/peers/datastore.js +8 -2
  359. package/lib/network/peers/datastore.js.map +1 -1
  360. package/lib/network/peers/discover.js +75 -66
  361. package/lib/network/peers/discover.js.map +1 -1
  362. package/lib/network/peers/peerManager.js +154 -130
  363. package/lib/network/peers/peerManager.js.map +1 -1
  364. package/lib/network/peers/peersData.d.ts +1 -1
  365. package/lib/network/peers/peersData.js +1 -3
  366. package/lib/network/peers/peersData.js.map +1 -1
  367. package/lib/network/peers/score/index.d.ts +1 -1
  368. package/lib/network/peers/score/index.js +1 -1
  369. package/lib/network/peers/score/index.js.map +1 -1
  370. package/lib/network/peers/score/score.js +6 -0
  371. package/lib/network/peers/score/score.js.map +1 -1
  372. package/lib/network/peers/score/store.js +3 -0
  373. package/lib/network/peers/score/store.js.map +1 -1
  374. package/lib/network/peers/utils/prioritizePeers.js.map +1 -1
  375. package/lib/network/peers/utils/subnetMap.js +2 -4
  376. package/lib/network/peers/utils/subnetMap.js.map +1 -1
  377. package/lib/network/processor/aggregatorTracker.js +1 -3
  378. package/lib/network/processor/aggregatorTracker.js.map +1 -1
  379. package/lib/network/processor/gossipHandlers.js +145 -165
  380. package/lib/network/processor/gossipHandlers.js.map +1 -1
  381. package/lib/network/processor/gossipQueues/indexed.js +11 -9
  382. package/lib/network/processor/gossipQueues/indexed.js.map +1 -1
  383. package/lib/network/processor/gossipQueues/linear.js +9 -8
  384. package/lib/network/processor/gossipQueues/linear.js.map +1 -1
  385. package/lib/network/processor/index.d.ts +2 -1
  386. package/lib/network/processor/index.js +22 -8
  387. package/lib/network/processor/index.js.map +1 -1
  388. package/lib/network/reqresp/ReqRespBeaconNode.d.ts +1 -1
  389. package/lib/network/reqresp/ReqRespBeaconNode.js +11 -2
  390. package/lib/network/reqresp/ReqRespBeaconNode.js.map +1 -1
  391. package/lib/network/reqresp/handlers/beaconBlocksByRange.js +1 -2
  392. package/lib/network/reqresp/handlers/beaconBlocksByRange.js.map +1 -1
  393. package/lib/network/reqresp/handlers/dataColumnSidecarsByRoot.js.map +1 -1
  394. package/lib/network/reqresp/index.d.ts +1 -3
  395. package/lib/network/reqresp/index.js +1 -3
  396. package/lib/network/reqresp/index.js.map +1 -1
  397. package/lib/network/reqresp/rateLimit.js +11 -5
  398. package/lib/network/reqresp/rateLimit.js.map +1 -1
  399. package/lib/network/reqresp/utils/dataColumnResponseValidation.js +8 -4
  400. package/lib/network/reqresp/utils/dataColumnResponseValidation.js.map +1 -1
  401. package/lib/network/statusCache.js +1 -0
  402. package/lib/network/statusCache.js.map +1 -1
  403. package/lib/network/subnets/attnetsService.js +73 -65
  404. package/lib/network/subnets/attnetsService.js.map +1 -1
  405. package/lib/network/subnets/interface.js +1 -1
  406. package/lib/network/subnets/interface.js.map +1 -1
  407. package/lib/network/subnets/syncnetsService.js +29 -22
  408. package/lib/network/subnets/syncnetsService.js.map +1 -1
  409. package/lib/network/subnets/util.js +1 -2
  410. package/lib/network/subnets/util.js.map +1 -1
  411. package/lib/node/nodejs.d.ts +1 -1
  412. package/lib/node/nodejs.js +15 -0
  413. package/lib/node/nodejs.js.map +1 -1
  414. package/lib/node/notifier.js +1 -2
  415. package/lib/node/notifier.js.map +1 -1
  416. package/lib/node/options.js.map +1 -1
  417. package/lib/node/utils/interop/state.js +1 -2
  418. package/lib/node/utils/interop/state.js.map +1 -1
  419. package/lib/sync/backfill/backfill.d.ts +1 -1
  420. package/lib/sync/backfill/backfill.js +58 -16
  421. package/lib/sync/backfill/backfill.js.map +1 -1
  422. package/lib/sync/constants.d.ts +2 -1
  423. package/lib/sync/constants.js +2 -1
  424. package/lib/sync/constants.js.map +1 -1
  425. package/lib/sync/interface.d.ts +1 -59
  426. package/lib/sync/interface.js +0 -20
  427. package/lib/sync/interface.js.map +1 -1
  428. package/lib/sync/options.d.ts +1 -1
  429. package/lib/sync/range/batch.d.ts +48 -32
  430. package/lib/sync/range/batch.js +201 -55
  431. package/lib/sync/range/batch.js.map +1 -1
  432. package/lib/sync/range/chain.d.ts +15 -10
  433. package/lib/sync/range/chain.js +141 -70
  434. package/lib/sync/range/chain.js.map +1 -1
  435. package/lib/sync/range/range.d.ts +3 -3
  436. package/lib/sync/range/range.js +86 -54
  437. package/lib/sync/range/range.js.map +1 -1
  438. package/lib/sync/range/utils/hashBlocks.d.ts +2 -2
  439. package/lib/sync/range/utils/hashBlocks.js +6 -4
  440. package/lib/sync/range/utils/hashBlocks.js.map +1 -1
  441. package/lib/sync/range/utils/peerBalancer.js +18 -13
  442. package/lib/sync/range/utils/peerBalancer.js.map +1 -1
  443. package/lib/sync/sync.d.ts +1 -2
  444. package/lib/sync/sync.js +95 -87
  445. package/lib/sync/sync.js.map +1 -1
  446. package/lib/sync/types.d.ts +44 -0
  447. package/lib/sync/types.js +34 -0
  448. package/lib/sync/types.js.map +1 -0
  449. package/lib/sync/unknownBlock.d.ts +42 -28
  450. package/lib/sync/unknownBlock.js +404 -458
  451. package/lib/sync/unknownBlock.js.map +1 -1
  452. package/lib/sync/utils/downloadByRange.d.ts +186 -0
  453. package/lib/sync/utils/downloadByRange.js +457 -0
  454. package/lib/sync/utils/downloadByRange.js.map +1 -0
  455. package/lib/sync/utils/downloadByRoot.d.ts +119 -0
  456. package/lib/sync/utils/downloadByRoot.js +319 -0
  457. package/lib/sync/utils/downloadByRoot.js.map +1 -0
  458. package/lib/sync/utils/pendingBlocksTree.d.ts +14 -6
  459. package/lib/sync/utils/pendingBlocksTree.js +24 -18
  460. package/lib/sync/utils/pendingBlocksTree.js.map +1 -1
  461. package/lib/util/array.js +7 -3
  462. package/lib/util/array.js.map +1 -1
  463. package/lib/util/asyncIterableToEvents.js +6 -3
  464. package/lib/util/asyncIterableToEvents.js.map +1 -1
  465. package/lib/util/binarySearch.js +2 -0
  466. package/lib/util/binarySearch.js.map +1 -1
  467. package/lib/util/blobs.d.ts +2 -2
  468. package/lib/util/blobs.js +4 -4
  469. package/lib/util/blobs.js.map +1 -1
  470. package/lib/util/bufferPool.js +7 -2
  471. package/lib/util/bufferPool.js.map +1 -1
  472. package/lib/util/clock.d.ts +1 -1
  473. package/lib/util/clock.js +23 -18
  474. package/lib/util/clock.js.map +1 -1
  475. package/lib/util/dataColumns.d.ts +13 -10
  476. package/lib/util/dataColumns.js +92 -134
  477. package/lib/util/dataColumns.js.map +1 -1
  478. package/lib/util/execution.d.ts +20 -0
  479. package/lib/util/execution.js +148 -0
  480. package/lib/util/execution.js.map +1 -0
  481. package/lib/util/itTrigger.js +4 -4
  482. package/lib/util/itTrigger.js.map +1 -1
  483. package/lib/util/map.js +2 -0
  484. package/lib/util/map.js.map +1 -1
  485. package/lib/util/queue/index.d.ts +1 -1
  486. package/lib/util/queue/index.js +1 -1
  487. package/lib/util/queue/index.js.map +1 -1
  488. package/lib/util/queue/itemQueue.js +52 -49
  489. package/lib/util/queue/itemQueue.js.map +1 -1
  490. package/lib/util/serializedCache.js +1 -3
  491. package/lib/util/serializedCache.js.map +1 -1
  492. package/lib/util/set.js +2 -0
  493. package/lib/util/set.js.map +1 -1
  494. package/lib/util/sszBytes.d.ts +1 -0
  495. package/lib/util/sszBytes.js +1 -1
  496. package/lib/util/sszBytes.js.map +1 -1
  497. package/lib/util/timeSeries.js +3 -1
  498. package/lib/util/timeSeries.js.map +1 -1
  499. package/lib/util/types.d.ts +1 -1
  500. package/lib/util/types.js +2 -2
  501. package/lib/util/types.js.map +1 -1
  502. package/lib/util/wrapError.d.ts +7 -0
  503. package/package.json +22 -16
  504. package/lib/chain/seenCache/seenBlockInput.d.ts +0 -84
  505. package/lib/chain/seenCache/seenBlockInput.js +0 -225
  506. package/lib/chain/seenCache/seenBlockInput.js.map +0 -1
  507. package/lib/network/reqresp/beaconBlocksMaybeBlobsByRange.d.ts +0 -28
  508. package/lib/network/reqresp/beaconBlocksMaybeBlobsByRange.js +0 -328
  509. package/lib/network/reqresp/beaconBlocksMaybeBlobsByRange.js.map +0 -1
  510. package/lib/network/reqresp/beaconBlocksMaybeBlobsByRoot.d.ts +0 -49
  511. package/lib/network/reqresp/beaconBlocksMaybeBlobsByRoot.js +0 -499
  512. package/lib/network/reqresp/beaconBlocksMaybeBlobsByRoot.js.map +0 -1
@@ -21,61 +21,8 @@ export declare class GossipTopicCache implements IGossipTopicCache {
21
21
  */
22
22
  export declare function stringifyGossipTopic(forkDigestContext: ForkDigestContext, topic: GossipTopic): string;
23
23
  export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe/ssz").ContainerType<{
24
- index: import("@chainsafe/ssz").UintNumberType;
25
- column: import("@chainsafe/ssz").ListCompositeType<import("@chainsafe/ssz").ByteVectorType>;
26
- kzgCommitments: import("@chainsafe/ssz").ListCompositeType<import("@chainsafe/ssz").ByteVectorType>;
27
- kzgProofs: import("@chainsafe/ssz").ListCompositeType<import("@chainsafe/ssz").ByteVectorType>;
28
- signedBlockHeader: import("@chainsafe/ssz").ContainerType<{
29
- message: import("@chainsafe/ssz").ContainerType<{
30
- slot: import("@chainsafe/ssz").UintNumberType;
31
- proposerIndex: import("@chainsafe/ssz").UintNumberType;
32
- parentRoot: import("@chainsafe/ssz").ByteVectorType;
33
- stateRoot: import("@chainsafe/ssz").ByteVectorType;
34
- bodyRoot: import("@chainsafe/ssz").ByteVectorType;
35
- }>;
36
- signature: import("@chainsafe/ssz").ByteVectorType;
37
- }>;
38
- kzgCommitmentsInclusionProof: import("@chainsafe/ssz").VectorCompositeType<import("@chainsafe/ssz").ByteVectorType>;
39
- }> | import("@chainsafe/ssz").ContainerType<{
40
24
  message: import("@chainsafe/ssz").ContainerType<{
41
25
  body: import("@chainsafe/ssz").ContainerType<{
42
- executionPayload: import("@chainsafe/ssz").ContainerType<{
43
- blobGasUsed: import("@chainsafe/ssz").UintBigintType;
44
- excessBlobGas: import("@chainsafe/ssz").UintBigintType;
45
- withdrawals: import("@chainsafe/ssz").ListCompositeType<import("@chainsafe/ssz").ContainerType<{
46
- index: import("@chainsafe/ssz").UintNumberType;
47
- validatorIndex: import("@chainsafe/ssz").UintNumberType;
48
- address: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
49
- amount: import("@chainsafe/ssz").UintBigintType;
50
- }>>;
51
- transactions: import("@chainsafe/ssz").ListCompositeType<import("@chainsafe/ssz").ByteListType>;
52
- parentHash: import("@chainsafe/ssz").ByteVectorType;
53
- feeRecipient: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
54
- stateRoot: import("@chainsafe/ssz").ByteVectorType;
55
- receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
56
- logsBloom: import("@chainsafe/ssz").ByteVectorType;
57
- prevRandao: import("@chainsafe/ssz").ByteVectorType;
58
- blockNumber: import("@chainsafe/ssz").UintNumberType;
59
- gasLimit: import("@chainsafe/ssz").UintNumberType;
60
- gasUsed: import("@chainsafe/ssz").UintNumberType;
61
- timestamp: import("@chainsafe/ssz").UintNumberType;
62
- extraData: import("@chainsafe/ssz").ByteListType;
63
- baseFeePerGas: import("@chainsafe/ssz").UintBigintType;
64
- blockHash: import("@chainsafe/ssz").ByteVectorType;
65
- }>;
66
- blsToExecutionChanges: import("@chainsafe/ssz").ListCompositeType<import("@chainsafe/ssz").ContainerType<{
67
- message: import("@chainsafe/ssz").ContainerType<{
68
- validatorIndex: import("@chainsafe/ssz").UintNumberType;
69
- fromBlsPubkey: import("@chainsafe/ssz").ByteVectorType;
70
- toExecutionAddress: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
71
- }>;
72
- signature: import("@chainsafe/ssz").ByteVectorType;
73
- }>>;
74
- blobKzgCommitments: import("@chainsafe/ssz").ListCompositeType<import("@chainsafe/ssz").ByteVectorType>;
75
- syncAggregate: import("@chainsafe/ssz").ContainerType<{
76
- syncCommitteeBits: import("@chainsafe/ssz").BitVectorType;
77
- syncCommitteeSignature: import("@chainsafe/ssz").ByteVectorType;
78
- }>;
79
26
  randaoReveal: import("@chainsafe/ssz").ByteVectorType;
80
27
  eth1Data: import("@chainsafe/ssz").ContainerType<{
81
28
  depositRoot: import("@chainsafe/ssz").ByteVectorType;
@@ -157,6 +104,7 @@ export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe
157
104
  }>;
158
105
  }>;
159
106
  signature: import("@chainsafe/ssz").ByteVectorType;
107
+ committeeBits: import("@chainsafe/ssz").BitVectorType;
160
108
  }>>;
161
109
  deposits: import("@chainsafe/ssz").ListCompositeType<import("@chainsafe/ssz").ContainerType<{
162
110
  proof: import("@chainsafe/ssz").VectorCompositeType<import("@chainsafe/ssz").ByteVectorType>;
@@ -174,6 +122,62 @@ export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe
174
122
  }>;
175
123
  signature: import("@chainsafe/ssz").ByteVectorType;
176
124
  }>>;
125
+ syncAggregate: import("@chainsafe/ssz").ContainerType<{
126
+ syncCommitteeBits: import("@chainsafe/ssz").BitVectorType;
127
+ syncCommitteeSignature: import("@chainsafe/ssz").ByteVectorType;
128
+ }>;
129
+ executionPayload: import("@chainsafe/ssz").ContainerType<{
130
+ blobGasUsed: import("@chainsafe/ssz").UintBigintType;
131
+ excessBlobGas: import("@chainsafe/ssz").UintBigintType;
132
+ withdrawals: import("@chainsafe/ssz").ListCompositeType<import("@chainsafe/ssz").ContainerType<{
133
+ index: import("@chainsafe/ssz").UintNumberType;
134
+ validatorIndex: import("@chainsafe/ssz").UintNumberType;
135
+ address: import("@lodestar/types").ExecutionAddressType;
136
+ amount: import("@chainsafe/ssz").UintBigintType;
137
+ }>>;
138
+ transactions: import("@chainsafe/ssz").ListCompositeType<import("@chainsafe/ssz").ByteListType>;
139
+ parentHash: import("@chainsafe/ssz").ByteVectorType;
140
+ feeRecipient: import("@lodestar/types").ExecutionAddressType;
141
+ stateRoot: import("@chainsafe/ssz").ByteVectorType;
142
+ receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
143
+ logsBloom: import("@chainsafe/ssz").ByteVectorType;
144
+ prevRandao: import("@chainsafe/ssz").ByteVectorType;
145
+ blockNumber: import("@chainsafe/ssz").UintNumberType;
146
+ gasLimit: import("@chainsafe/ssz").UintNumberType;
147
+ gasUsed: import("@chainsafe/ssz").UintNumberType;
148
+ timestamp: import("@chainsafe/ssz").UintNumberType;
149
+ extraData: import("@chainsafe/ssz").ByteListType;
150
+ baseFeePerGas: import("@chainsafe/ssz").UintBigintType;
151
+ blockHash: import("@chainsafe/ssz").ByteVectorType;
152
+ }>;
153
+ blsToExecutionChanges: import("@chainsafe/ssz").ListCompositeType<import("@chainsafe/ssz").ContainerType<{
154
+ message: import("@chainsafe/ssz").ContainerType<{
155
+ validatorIndex: import("@chainsafe/ssz").UintNumberType;
156
+ fromBlsPubkey: import("@chainsafe/ssz").ByteVectorType;
157
+ toExecutionAddress: import("@lodestar/types").ExecutionAddressType;
158
+ }>;
159
+ signature: import("@chainsafe/ssz").ByteVectorType;
160
+ }>>;
161
+ blobKzgCommitments: import("@chainsafe/ssz").ListCompositeType<import("@chainsafe/ssz").ByteVectorType>;
162
+ executionRequests: import("@chainsafe/ssz").ContainerType<{
163
+ deposits: import("@chainsafe/ssz").ListCompositeType<import("@chainsafe/ssz").ContainerType<{
164
+ pubkey: import("@chainsafe/ssz").ByteVectorType;
165
+ withdrawalCredentials: import("@chainsafe/ssz").ByteVectorType;
166
+ amount: import("@chainsafe/ssz").UintNumberType;
167
+ signature: import("@chainsafe/ssz").ByteVectorType;
168
+ index: import("@chainsafe/ssz").UintBigintType;
169
+ }>>;
170
+ withdrawals: import("@chainsafe/ssz").ListCompositeType<import("@chainsafe/ssz").ContainerType<{
171
+ sourceAddress: import("@lodestar/types").ExecutionAddressType;
172
+ validatorPubkey: import("@chainsafe/ssz").ByteVectorType;
173
+ amount: import("@chainsafe/ssz").UintBigintType;
174
+ }>>;
175
+ consolidations: import("@chainsafe/ssz").ListCompositeType<import("@chainsafe/ssz").ContainerType<{
176
+ sourceAddress: import("@lodestar/types").ExecutionAddressType;
177
+ sourcePubkey: import("@chainsafe/ssz").ByteVectorType;
178
+ targetPubkey: import("@chainsafe/ssz").ByteVectorType;
179
+ }>>;
180
+ }>;
177
181
  }>;
178
182
  slot: import("@chainsafe/ssz").UintNumberType;
179
183
  proposerIndex: import("@chainsafe/ssz").UintNumberType;
@@ -289,6 +293,29 @@ export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe
289
293
  }>;
290
294
  }>;
291
295
  signature: import("@chainsafe/ssz").ByteVectorType;
296
+ }> | import("@chainsafe/ssz").ContainerType<{
297
+ message: import("@chainsafe/ssz").ContainerType<{
298
+ validatorIndex: import("@chainsafe/ssz").UintNumberType;
299
+ fromBlsPubkey: import("@chainsafe/ssz").ByteVectorType;
300
+ toExecutionAddress: import("@lodestar/types").ExecutionAddressType;
301
+ }>;
302
+ signature: import("@chainsafe/ssz").ByteVectorType;
303
+ }> | import("@chainsafe/ssz").ContainerType<{
304
+ index: import("@chainsafe/ssz").UintNumberType;
305
+ column: import("@chainsafe/ssz").ListCompositeType<import("@chainsafe/ssz").ByteVectorType>;
306
+ kzgCommitments: import("@chainsafe/ssz").ListCompositeType<import("@chainsafe/ssz").ByteVectorType>;
307
+ kzgProofs: import("@chainsafe/ssz").ListCompositeType<import("@chainsafe/ssz").ByteVectorType>;
308
+ signedBlockHeader: import("@chainsafe/ssz").ContainerType<{
309
+ message: import("@chainsafe/ssz").ContainerType<{
310
+ slot: import("@chainsafe/ssz").UintNumberType;
311
+ proposerIndex: import("@chainsafe/ssz").UintNumberType;
312
+ parentRoot: import("@chainsafe/ssz").ByteVectorType;
313
+ stateRoot: import("@chainsafe/ssz").ByteVectorType;
314
+ bodyRoot: import("@chainsafe/ssz").ByteVectorType;
315
+ }>;
316
+ signature: import("@chainsafe/ssz").ByteVectorType;
317
+ }>;
318
+ kzgCommitmentsInclusionProof: import("@chainsafe/ssz").VectorCompositeType<import("@chainsafe/ssz").ByteVectorType>;
292
319
  }> | import("@chainsafe/ssz").ContainerType<{
293
320
  signedHeader1: import("@chainsafe/ssz").ContainerType<{
294
321
  message: import("@chainsafe/ssz").ContainerType<{
@@ -316,13 +343,6 @@ export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe
316
343
  validatorIndex: import("@chainsafe/ssz").UintNumberType;
317
344
  }>;
318
345
  signature: import("@chainsafe/ssz").ByteVectorType;
319
- }> | import("@chainsafe/ssz").ContainerType<{
320
- message: import("@chainsafe/ssz").ContainerType<{
321
- validatorIndex: import("@chainsafe/ssz").UintNumberType;
322
- fromBlsPubkey: import("@chainsafe/ssz").ByteVectorType;
323
- toExecutionAddress: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
324
- }>;
325
- signature: import("@chainsafe/ssz").ByteVectorType;
326
346
  }> | import("@chainsafe/ssz").ContainerType<{
327
347
  index: import("@chainsafe/ssz").UintNumberType;
328
348
  blob: import("@chainsafe/ssz").ByteVectorType;
@@ -2194,7 +2214,7 @@ export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe
2194
2214
  withdrawalsRoot: import("@chainsafe/ssz").ByteVectorType;
2195
2215
  transactionsRoot: import("@chainsafe/ssz").ByteVectorType;
2196
2216
  parentHash: import("@chainsafe/ssz").ByteVectorType;
2197
- feeRecipient: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
2217
+ feeRecipient: import("@lodestar/types").ExecutionAddressType;
2198
2218
  stateRoot: import("@chainsafe/ssz").ByteVectorType;
2199
2219
  receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
2200
2220
  logsBloom: import("@chainsafe/ssz").ByteVectorType;
@@ -2229,7 +2249,7 @@ export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe
2229
2249
  withdrawalsRoot: import("@chainsafe/ssz").ByteVectorType;
2230
2250
  transactionsRoot: import("@chainsafe/ssz").ByteVectorType;
2231
2251
  parentHash: import("@chainsafe/ssz").ByteVectorType;
2232
- feeRecipient: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
2252
+ feeRecipient: import("@lodestar/types").ExecutionAddressType;
2233
2253
  stateRoot: import("@chainsafe/ssz").ByteVectorType;
2234
2254
  receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
2235
2255
  logsBloom: import("@chainsafe/ssz").ByteVectorType;
@@ -2264,7 +2284,7 @@ export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe
2264
2284
  withdrawalsRoot: import("@chainsafe/ssz").ByteVectorType;
2265
2285
  transactionsRoot: import("@chainsafe/ssz").ByteVectorType;
2266
2286
  parentHash: import("@chainsafe/ssz").ByteVectorType;
2267
- feeRecipient: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
2287
+ feeRecipient: import("@lodestar/types").ExecutionAddressType;
2268
2288
  stateRoot: import("@chainsafe/ssz").ByteVectorType;
2269
2289
  receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
2270
2290
  logsBloom: import("@chainsafe/ssz").ByteVectorType;
@@ -2299,7 +2319,7 @@ export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe
2299
2319
  withdrawalsRoot: import("@chainsafe/ssz").ByteVectorType;
2300
2320
  transactionsRoot: import("@chainsafe/ssz").ByteVectorType;
2301
2321
  parentHash: import("@chainsafe/ssz").ByteVectorType;
2302
- feeRecipient: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
2322
+ feeRecipient: import("@lodestar/types").ExecutionAddressType;
2303
2323
  stateRoot: import("@chainsafe/ssz").ByteVectorType;
2304
2324
  receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
2305
2325
  logsBloom: import("@chainsafe/ssz").ByteVectorType;
@@ -2334,7 +2354,7 @@ export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe
2334
2354
  withdrawalsRoot: import("@chainsafe/ssz").ByteVectorType;
2335
2355
  transactionsRoot: import("@chainsafe/ssz").ByteVectorType;
2336
2356
  parentHash: import("@chainsafe/ssz").ByteVectorType;
2337
- feeRecipient: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
2357
+ feeRecipient: import("@lodestar/types").ExecutionAddressType;
2338
2358
  stateRoot: import("@chainsafe/ssz").ByteVectorType;
2339
2359
  receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
2340
2360
  logsBloom: import("@chainsafe/ssz").ByteVectorType;
@@ -2397,7 +2417,7 @@ export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe
2397
2417
  withdrawalsRoot: import("@chainsafe/ssz").ByteVectorType;
2398
2418
  transactionsRoot: import("@chainsafe/ssz").ByteVectorType;
2399
2419
  parentHash: import("@chainsafe/ssz").ByteVectorType;
2400
- feeRecipient: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
2420
+ feeRecipient: import("@lodestar/types").ExecutionAddressType;
2401
2421
  stateRoot: import("@chainsafe/ssz").ByteVectorType;
2402
2422
  receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
2403
2423
  logsBloom: import("@chainsafe/ssz").ByteVectorType;
@@ -2432,7 +2452,7 @@ export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe
2432
2452
  withdrawalsRoot: import("@chainsafe/ssz").ByteVectorType;
2433
2453
  transactionsRoot: import("@chainsafe/ssz").ByteVectorType;
2434
2454
  parentHash: import("@chainsafe/ssz").ByteVectorType;
2435
- feeRecipient: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
2455
+ feeRecipient: import("@lodestar/types").ExecutionAddressType;
2436
2456
  stateRoot: import("@chainsafe/ssz").ByteVectorType;
2437
2457
  receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
2438
2458
  logsBloom: import("@chainsafe/ssz").ByteVectorType;
@@ -2467,7 +2487,7 @@ export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe
2467
2487
  withdrawalsRoot: import("@chainsafe/ssz").ByteVectorType;
2468
2488
  transactionsRoot: import("@chainsafe/ssz").ByteVectorType;
2469
2489
  parentHash: import("@chainsafe/ssz").ByteVectorType;
2470
- feeRecipient: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
2490
+ feeRecipient: import("@lodestar/types").ExecutionAddressType;
2471
2491
  stateRoot: import("@chainsafe/ssz").ByteVectorType;
2472
2492
  receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
2473
2493
  logsBloom: import("@chainsafe/ssz").ByteVectorType;
@@ -2502,7 +2522,7 @@ export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe
2502
2522
  withdrawalsRoot: import("@chainsafe/ssz").ByteVectorType;
2503
2523
  transactionsRoot: import("@chainsafe/ssz").ByteVectorType;
2504
2524
  parentHash: import("@chainsafe/ssz").ByteVectorType;
2505
- feeRecipient: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
2525
+ feeRecipient: import("@lodestar/types").ExecutionAddressType;
2506
2526
  stateRoot: import("@chainsafe/ssz").ByteVectorType;
2507
2527
  receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
2508
2528
  logsBloom: import("@chainsafe/ssz").ByteVectorType;
@@ -2537,7 +2557,7 @@ export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe
2537
2557
  withdrawalsRoot: import("@chainsafe/ssz").ByteVectorType;
2538
2558
  transactionsRoot: import("@chainsafe/ssz").ByteVectorType;
2539
2559
  parentHash: import("@chainsafe/ssz").ByteVectorType;
2540
- feeRecipient: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
2560
+ feeRecipient: import("@lodestar/types").ExecutionAddressType;
2541
2561
  stateRoot: import("@chainsafe/ssz").ByteVectorType;
2542
2562
  receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
2543
2563
  logsBloom: import("@chainsafe/ssz").ByteVectorType;
@@ -2600,7 +2620,7 @@ export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe
2600
2620
  withdrawalsRoot: import("@chainsafe/ssz").ByteVectorType;
2601
2621
  transactionsRoot: import("@chainsafe/ssz").ByteVectorType;
2602
2622
  parentHash: import("@chainsafe/ssz").ByteVectorType;
2603
- feeRecipient: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
2623
+ feeRecipient: import("@lodestar/types").ExecutionAddressType;
2604
2624
  stateRoot: import("@chainsafe/ssz").ByteVectorType;
2605
2625
  receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
2606
2626
  logsBloom: import("@chainsafe/ssz").ByteVectorType;
@@ -2635,7 +2655,7 @@ export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe
2635
2655
  withdrawalsRoot: import("@chainsafe/ssz").ByteVectorType;
2636
2656
  transactionsRoot: import("@chainsafe/ssz").ByteVectorType;
2637
2657
  parentHash: import("@chainsafe/ssz").ByteVectorType;
2638
- feeRecipient: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
2658
+ feeRecipient: import("@lodestar/types").ExecutionAddressType;
2639
2659
  stateRoot: import("@chainsafe/ssz").ByteVectorType;
2640
2660
  receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
2641
2661
  logsBloom: import("@chainsafe/ssz").ByteVectorType;
@@ -2670,7 +2690,7 @@ export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe
2670
2690
  withdrawalsRoot: import("@chainsafe/ssz").ByteVectorType;
2671
2691
  transactionsRoot: import("@chainsafe/ssz").ByteVectorType;
2672
2692
  parentHash: import("@chainsafe/ssz").ByteVectorType;
2673
- feeRecipient: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
2693
+ feeRecipient: import("@lodestar/types").ExecutionAddressType;
2674
2694
  stateRoot: import("@chainsafe/ssz").ByteVectorType;
2675
2695
  receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
2676
2696
  logsBloom: import("@chainsafe/ssz").ByteVectorType;
@@ -2705,7 +2725,7 @@ export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe
2705
2725
  withdrawalsRoot: import("@chainsafe/ssz").ByteVectorType;
2706
2726
  transactionsRoot: import("@chainsafe/ssz").ByteVectorType;
2707
2727
  parentHash: import("@chainsafe/ssz").ByteVectorType;
2708
- feeRecipient: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
2728
+ feeRecipient: import("@lodestar/types").ExecutionAddressType;
2709
2729
  stateRoot: import("@chainsafe/ssz").ByteVectorType;
2710
2730
  receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
2711
2731
  logsBloom: import("@chainsafe/ssz").ByteVectorType;
@@ -2740,7 +2760,7 @@ export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe
2740
2760
  withdrawalsRoot: import("@chainsafe/ssz").ByteVectorType;
2741
2761
  transactionsRoot: import("@chainsafe/ssz").ByteVectorType;
2742
2762
  parentHash: import("@chainsafe/ssz").ByteVectorType;
2743
- feeRecipient: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
2763
+ feeRecipient: import("@lodestar/types").ExecutionAddressType;
2744
2764
  stateRoot: import("@chainsafe/ssz").ByteVectorType;
2745
2765
  receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
2746
2766
  logsBloom: import("@chainsafe/ssz").ByteVectorType;
@@ -2823,7 +2843,7 @@ export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe
2823
2843
  withdrawalsRoot: import("@chainsafe/ssz").ByteVectorType;
2824
2844
  transactionsRoot: import("@chainsafe/ssz").ByteVectorType;
2825
2845
  parentHash: import("@chainsafe/ssz").ByteVectorType;
2826
- feeRecipient: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
2846
+ feeRecipient: import("@lodestar/types").ExecutionAddressType;
2827
2847
  stateRoot: import("@chainsafe/ssz").ByteVectorType;
2828
2848
  receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
2829
2849
  logsBloom: import("@chainsafe/ssz").ByteVectorType;
@@ -2850,7 +2870,7 @@ export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe
2850
2870
  withdrawalsRoot: import("@chainsafe/ssz").ByteVectorType;
2851
2871
  transactionsRoot: import("@chainsafe/ssz").ByteVectorType;
2852
2872
  parentHash: import("@chainsafe/ssz").ByteVectorType;
2853
- feeRecipient: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
2873
+ feeRecipient: import("@lodestar/types").ExecutionAddressType;
2854
2874
  stateRoot: import("@chainsafe/ssz").ByteVectorType;
2855
2875
  receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
2856
2876
  logsBloom: import("@chainsafe/ssz").ByteVectorType;
@@ -2886,7 +2906,7 @@ export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe
2886
2906
  withdrawalsRoot: import("@chainsafe/ssz").ByteVectorType;
2887
2907
  transactionsRoot: import("@chainsafe/ssz").ByteVectorType;
2888
2908
  parentHash: import("@chainsafe/ssz").ByteVectorType;
2889
- feeRecipient: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
2909
+ feeRecipient: import("@lodestar/types").ExecutionAddressType;
2890
2910
  stateRoot: import("@chainsafe/ssz").ByteVectorType;
2891
2911
  receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
2892
2912
  logsBloom: import("@chainsafe/ssz").ByteVectorType;
@@ -2915,7 +2935,7 @@ export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe
2915
2935
  withdrawalsRoot: import("@chainsafe/ssz").ByteVectorType;
2916
2936
  transactionsRoot: import("@chainsafe/ssz").ByteVectorType;
2917
2937
  parentHash: import("@chainsafe/ssz").ByteVectorType;
2918
- feeRecipient: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
2938
+ feeRecipient: import("@lodestar/types").ExecutionAddressType;
2919
2939
  stateRoot: import("@chainsafe/ssz").ByteVectorType;
2920
2940
  receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
2921
2941
  logsBloom: import("@chainsafe/ssz").ByteVectorType;
@@ -2951,7 +2971,7 @@ export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe
2951
2971
  withdrawalsRoot: import("@chainsafe/ssz").ByteVectorType;
2952
2972
  transactionsRoot: import("@chainsafe/ssz").ByteVectorType;
2953
2973
  parentHash: import("@chainsafe/ssz").ByteVectorType;
2954
- feeRecipient: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
2974
+ feeRecipient: import("@lodestar/types").ExecutionAddressType;
2955
2975
  stateRoot: import("@chainsafe/ssz").ByteVectorType;
2956
2976
  receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
2957
2977
  logsBloom: import("@chainsafe/ssz").ByteVectorType;
@@ -2980,7 +3000,7 @@ export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe
2980
3000
  withdrawalsRoot: import("@chainsafe/ssz").ByteVectorType;
2981
3001
  transactionsRoot: import("@chainsafe/ssz").ByteVectorType;
2982
3002
  parentHash: import("@chainsafe/ssz").ByteVectorType;
2983
- feeRecipient: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
3003
+ feeRecipient: import("@lodestar/types").ExecutionAddressType;
2984
3004
  stateRoot: import("@chainsafe/ssz").ByteVectorType;
2985
3005
  receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
2986
3006
  logsBloom: import("@chainsafe/ssz").ByteVectorType;
@@ -3016,7 +3036,7 @@ export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe
3016
3036
  withdrawalsRoot: import("@chainsafe/ssz").ByteVectorType;
3017
3037
  transactionsRoot: import("@chainsafe/ssz").ByteVectorType;
3018
3038
  parentHash: import("@chainsafe/ssz").ByteVectorType;
3019
- feeRecipient: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
3039
+ feeRecipient: import("@lodestar/types").ExecutionAddressType;
3020
3040
  stateRoot: import("@chainsafe/ssz").ByteVectorType;
3021
3041
  receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
3022
3042
  logsBloom: import("@chainsafe/ssz").ByteVectorType;
@@ -3045,7 +3065,7 @@ export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe
3045
3065
  withdrawalsRoot: import("@chainsafe/ssz").ByteVectorType;
3046
3066
  transactionsRoot: import("@chainsafe/ssz").ByteVectorType;
3047
3067
  parentHash: import("@chainsafe/ssz").ByteVectorType;
3048
- feeRecipient: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
3068
+ feeRecipient: import("@lodestar/types").ExecutionAddressType;
3049
3069
  stateRoot: import("@chainsafe/ssz").ByteVectorType;
3050
3070
  receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
3051
3071
  logsBloom: import("@chainsafe/ssz").ByteVectorType;
@@ -3081,7 +3101,7 @@ export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe
3081
3101
  withdrawalsRoot: import("@chainsafe/ssz").ByteVectorType;
3082
3102
  transactionsRoot: import("@chainsafe/ssz").ByteVectorType;
3083
3103
  parentHash: import("@chainsafe/ssz").ByteVectorType;
3084
- feeRecipient: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
3104
+ feeRecipient: import("@lodestar/types").ExecutionAddressType;
3085
3105
  stateRoot: import("@chainsafe/ssz").ByteVectorType;
3086
3106
  receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
3087
3107
  logsBloom: import("@chainsafe/ssz").ByteVectorType;
@@ -3110,7 +3130,7 @@ export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe
3110
3130
  withdrawalsRoot: import("@chainsafe/ssz").ByteVectorType;
3111
3131
  transactionsRoot: import("@chainsafe/ssz").ByteVectorType;
3112
3132
  parentHash: import("@chainsafe/ssz").ByteVectorType;
3113
- feeRecipient: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
3133
+ feeRecipient: import("@lodestar/types").ExecutionAddressType;
3114
3134
  stateRoot: import("@chainsafe/ssz").ByteVectorType;
3115
3135
  receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
3116
3136
  logsBloom: import("@chainsafe/ssz").ByteVectorType;
@@ -3194,7 +3214,7 @@ export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe
3194
3214
  withdrawalsRoot: import("@chainsafe/ssz").ByteVectorType;
3195
3215
  transactionsRoot: import("@chainsafe/ssz").ByteVectorType;
3196
3216
  parentHash: import("@chainsafe/ssz").ByteVectorType;
3197
- feeRecipient: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
3217
+ feeRecipient: import("@lodestar/types").ExecutionAddressType;
3198
3218
  stateRoot: import("@chainsafe/ssz").ByteVectorType;
3199
3219
  receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
3200
3220
  logsBloom: import("@chainsafe/ssz").ByteVectorType;
@@ -3221,7 +3241,7 @@ export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe
3221
3241
  withdrawalsRoot: import("@chainsafe/ssz").ByteVectorType;
3222
3242
  transactionsRoot: import("@chainsafe/ssz").ByteVectorType;
3223
3243
  parentHash: import("@chainsafe/ssz").ByteVectorType;
3224
- feeRecipient: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
3244
+ feeRecipient: import("@lodestar/types").ExecutionAddressType;
3225
3245
  stateRoot: import("@chainsafe/ssz").ByteVectorType;
3226
3246
  receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
3227
3247
  logsBloom: import("@chainsafe/ssz").ByteVectorType;
@@ -3257,7 +3277,7 @@ export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe
3257
3277
  withdrawalsRoot: import("@chainsafe/ssz").ByteVectorType;
3258
3278
  transactionsRoot: import("@chainsafe/ssz").ByteVectorType;
3259
3279
  parentHash: import("@chainsafe/ssz").ByteVectorType;
3260
- feeRecipient: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
3280
+ feeRecipient: import("@lodestar/types").ExecutionAddressType;
3261
3281
  stateRoot: import("@chainsafe/ssz").ByteVectorType;
3262
3282
  receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
3263
3283
  logsBloom: import("@chainsafe/ssz").ByteVectorType;
@@ -3286,7 +3306,7 @@ export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe
3286
3306
  withdrawalsRoot: import("@chainsafe/ssz").ByteVectorType;
3287
3307
  transactionsRoot: import("@chainsafe/ssz").ByteVectorType;
3288
3308
  parentHash: import("@chainsafe/ssz").ByteVectorType;
3289
- feeRecipient: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
3309
+ feeRecipient: import("@lodestar/types").ExecutionAddressType;
3290
3310
  stateRoot: import("@chainsafe/ssz").ByteVectorType;
3291
3311
  receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
3292
3312
  logsBloom: import("@chainsafe/ssz").ByteVectorType;
@@ -3322,7 +3342,7 @@ export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe
3322
3342
  withdrawalsRoot: import("@chainsafe/ssz").ByteVectorType;
3323
3343
  transactionsRoot: import("@chainsafe/ssz").ByteVectorType;
3324
3344
  parentHash: import("@chainsafe/ssz").ByteVectorType;
3325
- feeRecipient: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
3345
+ feeRecipient: import("@lodestar/types").ExecutionAddressType;
3326
3346
  stateRoot: import("@chainsafe/ssz").ByteVectorType;
3327
3347
  receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
3328
3348
  logsBloom: import("@chainsafe/ssz").ByteVectorType;
@@ -3351,7 +3371,7 @@ export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe
3351
3371
  withdrawalsRoot: import("@chainsafe/ssz").ByteVectorType;
3352
3372
  transactionsRoot: import("@chainsafe/ssz").ByteVectorType;
3353
3373
  parentHash: import("@chainsafe/ssz").ByteVectorType;
3354
- feeRecipient: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
3374
+ feeRecipient: import("@lodestar/types").ExecutionAddressType;
3355
3375
  stateRoot: import("@chainsafe/ssz").ByteVectorType;
3356
3376
  receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
3357
3377
  logsBloom: import("@chainsafe/ssz").ByteVectorType;
@@ -3387,7 +3407,7 @@ export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe
3387
3407
  withdrawalsRoot: import("@chainsafe/ssz").ByteVectorType;
3388
3408
  transactionsRoot: import("@chainsafe/ssz").ByteVectorType;
3389
3409
  parentHash: import("@chainsafe/ssz").ByteVectorType;
3390
- feeRecipient: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
3410
+ feeRecipient: import("@lodestar/types").ExecutionAddressType;
3391
3411
  stateRoot: import("@chainsafe/ssz").ByteVectorType;
3392
3412
  receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
3393
3413
  logsBloom: import("@chainsafe/ssz").ByteVectorType;
@@ -3416,7 +3436,7 @@ export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe
3416
3436
  withdrawalsRoot: import("@chainsafe/ssz").ByteVectorType;
3417
3437
  transactionsRoot: import("@chainsafe/ssz").ByteVectorType;
3418
3438
  parentHash: import("@chainsafe/ssz").ByteVectorType;
3419
- feeRecipient: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
3439
+ feeRecipient: import("@lodestar/types").ExecutionAddressType;
3420
3440
  stateRoot: import("@chainsafe/ssz").ByteVectorType;
3421
3441
  receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
3422
3442
  logsBloom: import("@chainsafe/ssz").ByteVectorType;
@@ -3452,7 +3472,7 @@ export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe
3452
3472
  withdrawalsRoot: import("@chainsafe/ssz").ByteVectorType;
3453
3473
  transactionsRoot: import("@chainsafe/ssz").ByteVectorType;
3454
3474
  parentHash: import("@chainsafe/ssz").ByteVectorType;
3455
- feeRecipient: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
3475
+ feeRecipient: import("@lodestar/types").ExecutionAddressType;
3456
3476
  stateRoot: import("@chainsafe/ssz").ByteVectorType;
3457
3477
  receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
3458
3478
  logsBloom: import("@chainsafe/ssz").ByteVectorType;
@@ -3481,7 +3501,7 @@ export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe
3481
3501
  withdrawalsRoot: import("@chainsafe/ssz").ByteVectorType;
3482
3502
  transactionsRoot: import("@chainsafe/ssz").ByteVectorType;
3483
3503
  parentHash: import("@chainsafe/ssz").ByteVectorType;
3484
- feeRecipient: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
3504
+ feeRecipient: import("@lodestar/types").ExecutionAddressType;
3485
3505
  stateRoot: import("@chainsafe/ssz").ByteVectorType;
3486
3506
  receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
3487
3507
  logsBloom: import("@chainsafe/ssz").ByteVectorType;
@@ -3565,7 +3585,7 @@ export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe
3565
3585
  withdrawalsRoot: import("@chainsafe/ssz").ByteVectorType;
3566
3586
  transactionsRoot: import("@chainsafe/ssz").ByteVectorType;
3567
3587
  parentHash: import("@chainsafe/ssz").ByteVectorType;
3568
- feeRecipient: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
3588
+ feeRecipient: import("@lodestar/types").ExecutionAddressType;
3569
3589
  stateRoot: import("@chainsafe/ssz").ByteVectorType;
3570
3590
  receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
3571
3591
  logsBloom: import("@chainsafe/ssz").ByteVectorType;
@@ -3592,7 +3612,7 @@ export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe
3592
3612
  withdrawalsRoot: import("@chainsafe/ssz").ByteVectorType;
3593
3613
  transactionsRoot: import("@chainsafe/ssz").ByteVectorType;
3594
3614
  parentHash: import("@chainsafe/ssz").ByteVectorType;
3595
- feeRecipient: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
3615
+ feeRecipient: import("@lodestar/types").ExecutionAddressType;
3596
3616
  stateRoot: import("@chainsafe/ssz").ByteVectorType;
3597
3617
  receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
3598
3618
  logsBloom: import("@chainsafe/ssz").ByteVectorType;
@@ -3628,7 +3648,7 @@ export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe
3628
3648
  withdrawalsRoot: import("@chainsafe/ssz").ByteVectorType;
3629
3649
  transactionsRoot: import("@chainsafe/ssz").ByteVectorType;
3630
3650
  parentHash: import("@chainsafe/ssz").ByteVectorType;
3631
- feeRecipient: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
3651
+ feeRecipient: import("@lodestar/types").ExecutionAddressType;
3632
3652
  stateRoot: import("@chainsafe/ssz").ByteVectorType;
3633
3653
  receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
3634
3654
  logsBloom: import("@chainsafe/ssz").ByteVectorType;
@@ -3657,7 +3677,7 @@ export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe
3657
3677
  withdrawalsRoot: import("@chainsafe/ssz").ByteVectorType;
3658
3678
  transactionsRoot: import("@chainsafe/ssz").ByteVectorType;
3659
3679
  parentHash: import("@chainsafe/ssz").ByteVectorType;
3660
- feeRecipient: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
3680
+ feeRecipient: import("@lodestar/types").ExecutionAddressType;
3661
3681
  stateRoot: import("@chainsafe/ssz").ByteVectorType;
3662
3682
  receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
3663
3683
  logsBloom: import("@chainsafe/ssz").ByteVectorType;
@@ -3693,7 +3713,7 @@ export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe
3693
3713
  withdrawalsRoot: import("@chainsafe/ssz").ByteVectorType;
3694
3714
  transactionsRoot: import("@chainsafe/ssz").ByteVectorType;
3695
3715
  parentHash: import("@chainsafe/ssz").ByteVectorType;
3696
- feeRecipient: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
3716
+ feeRecipient: import("@lodestar/types").ExecutionAddressType;
3697
3717
  stateRoot: import("@chainsafe/ssz").ByteVectorType;
3698
3718
  receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
3699
3719
  logsBloom: import("@chainsafe/ssz").ByteVectorType;
@@ -3722,7 +3742,7 @@ export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe
3722
3742
  withdrawalsRoot: import("@chainsafe/ssz").ByteVectorType;
3723
3743
  transactionsRoot: import("@chainsafe/ssz").ByteVectorType;
3724
3744
  parentHash: import("@chainsafe/ssz").ByteVectorType;
3725
- feeRecipient: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
3745
+ feeRecipient: import("@lodestar/types").ExecutionAddressType;
3726
3746
  stateRoot: import("@chainsafe/ssz").ByteVectorType;
3727
3747
  receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
3728
3748
  logsBloom: import("@chainsafe/ssz").ByteVectorType;
@@ -3758,7 +3778,7 @@ export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe
3758
3778
  withdrawalsRoot: import("@chainsafe/ssz").ByteVectorType;
3759
3779
  transactionsRoot: import("@chainsafe/ssz").ByteVectorType;
3760
3780
  parentHash: import("@chainsafe/ssz").ByteVectorType;
3761
- feeRecipient: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
3781
+ feeRecipient: import("@lodestar/types").ExecutionAddressType;
3762
3782
  stateRoot: import("@chainsafe/ssz").ByteVectorType;
3763
3783
  receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
3764
3784
  logsBloom: import("@chainsafe/ssz").ByteVectorType;
@@ -3787,7 +3807,7 @@ export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe
3787
3807
  withdrawalsRoot: import("@chainsafe/ssz").ByteVectorType;
3788
3808
  transactionsRoot: import("@chainsafe/ssz").ByteVectorType;
3789
3809
  parentHash: import("@chainsafe/ssz").ByteVectorType;
3790
- feeRecipient: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
3810
+ feeRecipient: import("@lodestar/types").ExecutionAddressType;
3791
3811
  stateRoot: import("@chainsafe/ssz").ByteVectorType;
3792
3812
  receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
3793
3813
  logsBloom: import("@chainsafe/ssz").ByteVectorType;
@@ -3823,7 +3843,7 @@ export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe
3823
3843
  withdrawalsRoot: import("@chainsafe/ssz").ByteVectorType;
3824
3844
  transactionsRoot: import("@chainsafe/ssz").ByteVectorType;
3825
3845
  parentHash: import("@chainsafe/ssz").ByteVectorType;
3826
- feeRecipient: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
3846
+ feeRecipient: import("@lodestar/types").ExecutionAddressType;
3827
3847
  stateRoot: import("@chainsafe/ssz").ByteVectorType;
3828
3848
  receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
3829
3849
  logsBloom: import("@chainsafe/ssz").ByteVectorType;
@@ -3852,7 +3872,7 @@ export declare function getGossipSSZType(topic: GossipTopic): import("@chainsafe
3852
3872
  withdrawalsRoot: import("@chainsafe/ssz").ByteVectorType;
3853
3873
  transactionsRoot: import("@chainsafe/ssz").ByteVectorType;
3854
3874
  parentHash: import("@chainsafe/ssz").ByteVectorType;
3855
- feeRecipient: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
3875
+ feeRecipient: import("@lodestar/types").ExecutionAddressType;
3856
3876
  stateRoot: import("@chainsafe/ssz").ByteVectorType;
3857
3877
  receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
3858
3878
  logsBloom: import("@chainsafe/ssz").ByteVectorType;
@@ -4,9 +4,10 @@ import { GossipAction, GossipActionError, GossipErrorCode } from "../../chain/er
4
4
  import { DEFAULT_ENCODING } from "./constants.js";
5
5
  import { GossipEncoding, GossipType } from "./interface.js";
6
6
  export class GossipTopicCache {
7
+ forkDigestContext;
8
+ topicsByTopicStr = new Map();
7
9
  constructor(forkDigestContext) {
8
10
  this.forkDigestContext = forkDigestContext;
9
- this.topicsByTopicStr = new Map();
10
11
  }
11
12
  /** Returns cached GossipTopic, otherwise attempts to parse it from the str */
12
13
  getTopic(topicStr) {