@lodestar/native 1.51.0-dev.122e5d5f21 → 1.51.0-dev.1b22218e60

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/README.md CHANGED
@@ -33,8 +33,10 @@ See [contributing](../CONTRIBUTING.md).
33
33
 
34
34
  ## Publishing
35
35
 
36
- `pnpm release:publish` uses zapi to build and publish the platform packages and
37
- wrapper at the shared version, then runs Lerna for the remaining Lodestar packages.
36
+ `pnpm release:publish` uses zapi to build and publish the platform packages at the
37
+ shared version, skipping versions already on npm, then runs Lerna for the wrapper and the
38
+ remaining Lodestar packages. The wrapper's `prepack` script pins the platform packages
39
+ as `optionalDependencies`.
38
40
  Use `--dist-tag next` or `--dist-tag rc` for pre-releases. `--dry-run` builds and
39
41
  prepares the native packages without publishing.
40
42
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lodestar/native",
3
- "version": "1.51.0-dev.122e5d5f21",
3
+ "version": "1.51.0-dev.1b22218e60",
4
4
  "description": "Native consensus modules for Lodestar",
5
5
  "files": [
6
6
  "src/"
@@ -52,7 +52,7 @@
52
52
  "build:release": "pnpm clean && pnpm build",
53
53
  "clean": "rm -rf zig-out",
54
54
  "check-build": "node -e \"import('./src/index.js')\"",
55
- "prepublishOnly": "node -e \"throw new Error('Publish native platform packages through pnpm release:publish')\""
55
+ "prepack": "zapi prepublish --main-only"
56
56
  },
57
57
  "keywords": [],
58
58
  "author": "ChainSafe Systems",
@@ -75,7 +75,7 @@
75
75
  ]
76
76
  },
77
77
  "dependencies": {
78
- "@chainsafe/zapi": "4.2.0"
78
+ "@chainsafe/zapi": "4.3.0"
79
79
  },
80
80
  "devDependencies": {
81
81
  "@chainsafe/benchmark": "2.1.0",
@@ -84,12 +84,13 @@
84
84
  "publishConfig": {
85
85
  "access": "public"
86
86
  },
87
+ "gitHead": "dbe848e7a62a4ce239360f11509326d6ddc05e5e",
87
88
  "optionalDependencies": {
88
- "@lodestar/native-aarch64-apple-darwin": "1.51.0-dev.122e5d5f21",
89
- "@lodestar/native-aarch64-unknown-linux-gnu": "1.51.0-dev.122e5d5f21",
90
- "@lodestar/native-aarch64-unknown-linux-musl": "1.51.0-dev.122e5d5f21",
91
- "@lodestar/native-x86_64-apple-darwin": "1.51.0-dev.122e5d5f21",
92
- "@lodestar/native-x86_64-unknown-linux-gnu": "1.51.0-dev.122e5d5f21",
93
- "@lodestar/native-x86_64-unknown-linux-musl": "1.51.0-dev.122e5d5f21"
89
+ "@lodestar/native-aarch64-apple-darwin": "1.51.0-dev.1b22218e60",
90
+ "@lodestar/native-aarch64-unknown-linux-gnu": "1.51.0-dev.1b22218e60",
91
+ "@lodestar/native-aarch64-unknown-linux-musl": "1.51.0-dev.1b22218e60",
92
+ "@lodestar/native-x86_64-apple-darwin": "1.51.0-dev.1b22218e60",
93
+ "@lodestar/native-x86_64-unknown-linux-gnu": "1.51.0-dev.1b22218e60",
94
+ "@lodestar/native-x86_64-unknown-linux-musl": "1.51.0-dev.1b22218e60"
94
95
  }
95
96
  }
package/src/index.d.ts CHANGED
@@ -293,6 +293,21 @@ export declare class BeaconStateView {
293
293
  historicalSummaries: HistoricalSummary[];
294
294
  pendingDeposits: Uint8Array;
295
295
  pendingDepositsCount: number;
296
+ /** Fulu only. Limits: 0..10,000 new verifications and 0..60,000 milliseconds per call. */
297
+ preVerifyBuilderDepositsPreGloas(
298
+ maxBuilderDeposits: number,
299
+ maxDurationMs: number
300
+ ): {
301
+ validBuilderSignaturesCount: number;
302
+ invalidBuilderSignaturesCount: number;
303
+ validValidatorSignaturesCount: number;
304
+ invalidValidatorSignaturesCount: number;
305
+ scannedPendingDeposits: number;
306
+ totalCachedDeposits: number;
307
+ totalBuilderPubkeys: number;
308
+ pendingDepositsCount: number;
309
+ };
310
+ clearPreGloasBuilderDepositCache(): void;
296
311
  pendingPartialWithdrawals: Uint8Array;
297
312
  pendingPartialWithdrawalsCount: number;
298
313
  pendingConsolidations: Uint8Array;