@lodestar/beacon-node 1.21.0-dev.27012f96ec → 1.21.0-dev.2f86f4aafd

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 (104) hide show
  1. package/lib/api/impl/api.js +1 -1
  2. package/lib/api/impl/api.js.map +1 -1
  3. package/lib/api/impl/beacon/state/utils.d.ts +4 -4
  4. package/lib/api/impl/beacon/state/utils.js +20 -16
  5. package/lib/api/impl/beacon/state/utils.js.map +1 -1
  6. package/lib/api/impl/validator/index.d.ts +2 -1
  7. package/lib/api/impl/validator/index.js +6 -5
  8. package/lib/api/impl/validator/index.js.map +1 -1
  9. package/lib/api/options.d.ts +2 -0
  10. package/lib/api/options.js +1 -0
  11. package/lib/api/options.js.map +1 -1
  12. package/lib/chain/blocks/importBlock.js +53 -47
  13. package/lib/chain/blocks/importBlock.js.map +1 -1
  14. package/lib/chain/bls/interface.d.ts +1 -1
  15. package/lib/chain/bls/maybeBatch.d.ts +1 -1
  16. package/lib/chain/bls/maybeBatch.js +7 -8
  17. package/lib/chain/bls/maybeBatch.js.map +1 -1
  18. package/lib/chain/bls/multithread/index.d.ts +1 -2
  19. package/lib/chain/bls/multithread/index.js +4 -9
  20. package/lib/chain/bls/multithread/index.js.map +1 -1
  21. package/lib/chain/bls/multithread/jobItem.d.ts +2 -2
  22. package/lib/chain/bls/multithread/jobItem.js +12 -12
  23. package/lib/chain/bls/multithread/jobItem.js.map +1 -1
  24. package/lib/chain/bls/multithread/types.d.ts +0 -1
  25. package/lib/chain/bls/multithread/types.js.map +1 -1
  26. package/lib/chain/bls/multithread/worker.js +2 -3
  27. package/lib/chain/bls/multithread/worker.js.map +1 -1
  28. package/lib/chain/bls/singleThread.d.ts +1 -1
  29. package/lib/chain/bls/singleThread.js +6 -7
  30. package/lib/chain/bls/singleThread.js.map +1 -1
  31. package/lib/chain/bls/utils.d.ts +1 -1
  32. package/lib/chain/bls/utils.js +2 -2
  33. package/lib/chain/bls/utils.js.map +1 -1
  34. package/lib/chain/chain.d.ts +14 -1
  35. package/lib/chain/chain.js +54 -32
  36. package/lib/chain/chain.js.map +1 -1
  37. package/lib/chain/historicalState/getHistoricalState.d.ts +17 -0
  38. package/lib/chain/historicalState/getHistoricalState.js +73 -0
  39. package/lib/chain/historicalState/getHistoricalState.js.map +1 -0
  40. package/lib/chain/historicalState/index.d.ts +15 -0
  41. package/lib/chain/historicalState/index.js +50 -0
  42. package/lib/chain/historicalState/index.js.map +1 -0
  43. package/lib/chain/historicalState/types.d.ts +52 -0
  44. package/lib/chain/historicalState/types.js +7 -0
  45. package/lib/chain/historicalState/types.js.map +1 -0
  46. package/lib/chain/historicalState/worker.d.ts +2 -0
  47. package/lib/chain/historicalState/worker.js +198 -0
  48. package/lib/chain/historicalState/worker.js.map +1 -0
  49. package/lib/chain/interface.d.ts +11 -0
  50. package/lib/chain/opPools/aggregatedAttestationPool.js +2 -2
  51. package/lib/chain/opPools/aggregatedAttestationPool.js.map +1 -1
  52. package/lib/chain/opPools/attestationPool.js +3 -7
  53. package/lib/chain/opPools/attestationPool.js.map +1 -1
  54. package/lib/chain/opPools/syncCommitteeMessagePool.js +3 -4
  55. package/lib/chain/opPools/syncCommitteeMessagePool.js.map +1 -1
  56. package/lib/chain/opPools/syncContributionAndProofPool.js +2 -2
  57. package/lib/chain/opPools/syncContributionAndProofPool.js.map +1 -1
  58. package/lib/chain/opPools/utils.d.ts +1 -1
  59. package/lib/chain/opPools/utils.js +2 -3
  60. package/lib/chain/opPools/utils.js.map +1 -1
  61. package/lib/chain/regen/interface.d.ts +1 -1
  62. package/lib/chain/regen/queued.d.ts +1 -1
  63. package/lib/chain/regen/queued.js +23 -12
  64. package/lib/chain/regen/queued.js.map +1 -1
  65. package/lib/chain/validation/signatureSets/aggregateAndProof.d.ts +1 -1
  66. package/lib/chain/validation/signatureSets/selectionProof.d.ts +1 -1
  67. package/lib/chain/validation/signatureSets/syncCommitteeContribution.d.ts +1 -1
  68. package/lib/eth1/provider/eth1Provider.js +2 -2
  69. package/lib/eth1/provider/eth1Provider.js.map +1 -1
  70. package/lib/execution/builder/http.js +2 -2
  71. package/lib/execution/builder/http.js.map +1 -1
  72. package/lib/execution/engine/http.d.ts +14 -2
  73. package/lib/execution/engine/http.js +29 -2
  74. package/lib/execution/engine/http.js.map +1 -1
  75. package/lib/execution/engine/index.js +3 -3
  76. package/lib/execution/engine/index.js.map +1 -1
  77. package/lib/execution/engine/interface.d.ts +26 -0
  78. package/lib/execution/engine/interface.js +20 -0
  79. package/lib/execution/engine/interface.js.map +1 -1
  80. package/lib/execution/engine/mock.d.ts +1 -0
  81. package/lib/execution/engine/mock.js +5 -1
  82. package/lib/execution/engine/mock.js.map +1 -1
  83. package/lib/execution/engine/types.d.ts +15 -0
  84. package/lib/execution/engine/types.js.map +1 -1
  85. package/lib/metrics/metrics/lodestar.d.ts +1 -1
  86. package/lib/metrics/metrics/lodestar.js +3 -3
  87. package/lib/metrics/metrics/lodestar.js.map +1 -1
  88. package/lib/metrics/server/http.d.ts +1 -1
  89. package/lib/metrics/server/http.js +3 -2
  90. package/lib/metrics/server/http.js.map +1 -1
  91. package/lib/network/peers/discover.d.ts +1 -1
  92. package/lib/network/peers/discover.js +11 -2
  93. package/lib/network/peers/discover.js.map +1 -1
  94. package/lib/node/nodejs.js +13 -1
  95. package/lib/node/nodejs.js.map +1 -1
  96. package/lib/sync/sync.js +6 -6
  97. package/lib/sync/sync.js.map +1 -1
  98. package/lib/util/graffiti.d.ts +4 -0
  99. package/lib/util/graffiti.js +12 -0
  100. package/lib/util/graffiti.js.map +1 -1
  101. package/lib/util/metadata.d.ts +6 -0
  102. package/lib/util/metadata.js +10 -0
  103. package/lib/util/metadata.js.map +1 -0
  104. package/package.json +18 -19
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.21.0-dev.27012f96ec",
14
+ "version": "1.21.0-dev.2f86f4aafd",
15
15
  "type": "module",
16
16
  "exports": {
17
17
  ".": {
@@ -78,10 +78,10 @@
78
78
  "lint": "eslint --color --ext .ts src/ test/",
79
79
  "lint:fix": "yarn run lint --fix",
80
80
  "test": "yarn test:unit && yarn test:e2e",
81
- "test:unit:minimal": "LODESTAR_PRESET=minimal vitest --run --segfaultRetry 3 --dir test/unit/",
82
- "test:unit:mainnet": "LODESTAR_PRESET=mainnet vitest --run --segfaultRetry 3 --dir test/unit-mainnet",
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 --run --segfaultRetry 3 --config vitest.e2e.config.ts --dir test/e2e",
84
+ "test:e2e": "LODESTAR_PRESET=minimal vitest --run --config vitest.e2e.config.ts --dir test/e2e",
85
85
  "test:sim": "vitest --run test/sim/**/*.test.ts",
86
86
  "test:sim:mergemock": "vitest --run test/sim/mergemock.test.ts",
87
87
  "test:sim:blobs": "vitest --run test/sim/4844-interop.test.ts",
@@ -95,8 +95,7 @@
95
95
  },
96
96
  "dependencies": {
97
97
  "@chainsafe/as-sha256": "^0.4.1",
98
- "@chainsafe/bls": "7.1.3",
99
- "@chainsafe/blst": "^0.2.11",
98
+ "@chainsafe/blst": "^2.0.3",
100
99
  "@chainsafe/discv5": "^9.0.0",
101
100
  "@chainsafe/enr": "^3.0.0",
102
101
  "@chainsafe/libp2p-gossipsub": "^13.0.0",
@@ -120,18 +119,18 @@
120
119
  "@libp2p/peer-id-factory": "^4.1.0",
121
120
  "@libp2p/prometheus-metrics": "^3.0.21",
122
121
  "@libp2p/tcp": "9.0.23",
123
- "@lodestar/api": "1.21.0-dev.27012f96ec",
124
- "@lodestar/config": "1.21.0-dev.27012f96ec",
125
- "@lodestar/db": "1.21.0-dev.27012f96ec",
126
- "@lodestar/fork-choice": "1.21.0-dev.27012f96ec",
127
- "@lodestar/light-client": "1.21.0-dev.27012f96ec",
128
- "@lodestar/logger": "1.21.0-dev.27012f96ec",
129
- "@lodestar/params": "1.21.0-dev.27012f96ec",
130
- "@lodestar/reqresp": "1.21.0-dev.27012f96ec",
131
- "@lodestar/state-transition": "1.21.0-dev.27012f96ec",
132
- "@lodestar/types": "1.21.0-dev.27012f96ec",
133
- "@lodestar/utils": "1.21.0-dev.27012f96ec",
134
- "@lodestar/validator": "1.21.0-dev.27012f96ec",
122
+ "@lodestar/api": "1.21.0-dev.2f86f4aafd",
123
+ "@lodestar/config": "1.21.0-dev.2f86f4aafd",
124
+ "@lodestar/db": "1.21.0-dev.2f86f4aafd",
125
+ "@lodestar/fork-choice": "1.21.0-dev.2f86f4aafd",
126
+ "@lodestar/light-client": "1.21.0-dev.2f86f4aafd",
127
+ "@lodestar/logger": "1.21.0-dev.2f86f4aafd",
128
+ "@lodestar/params": "1.21.0-dev.2f86f4aafd",
129
+ "@lodestar/reqresp": "1.21.0-dev.2f86f4aafd",
130
+ "@lodestar/state-transition": "1.21.0-dev.2f86f4aafd",
131
+ "@lodestar/types": "1.21.0-dev.2f86f4aafd",
132
+ "@lodestar/utils": "1.21.0-dev.2f86f4aafd",
133
+ "@lodestar/validator": "1.21.0-dev.2f86f4aafd",
135
134
  "@multiformats/multiaddr": "^12.1.3",
136
135
  "c-kzg": "^2.1.2",
137
136
  "datastore-core": "^9.1.1",
@@ -168,5 +167,5 @@
168
167
  "beacon",
169
168
  "blockchain"
170
169
  ],
171
- "gitHead": "b66d9da0a2da0d62434d19ff47407a64b65e23e1"
170
+ "gitHead": "d027234ac253cda64387e2096d7c685d3835a29d"
172
171
  }