@lodestar/types 1.29.0-dev.f87bd54721 → 1.29.0-peerDAS.6f41bcbc95
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/fulu/index.d.ts +5 -0
- package/lib/fulu/index.js +5 -0
- package/lib/fulu/index.js.map +1 -0
- package/lib/fulu/sszTypes.d.ts +2013 -0
- package/lib/fulu/sszTypes.js +115 -0
- package/lib/fulu/sszTypes.js.map +1 -0
- package/lib/fulu/types.d.ts +42 -0
- package/lib/fulu/types.js +2 -0
- package/lib/fulu/types.js.map +1 -0
- package/lib/primitive/sszTypes.d.ts +2 -0
- package/lib/primitive/sszTypes.js +2 -0
- package/lib/primitive/sszTypes.js.map +1 -1
- package/lib/primitive/types.d.ts +2 -0
- package/lib/sszTypes.d.ts +402 -343
- package/lib/sszTypes.js +3 -2
- package/lib/sszTypes.js.map +1 -1
- package/lib/types.d.ts +23 -21
- package/lib/types.js +1 -0
- package/lib/types.js.map +1 -1
- package/package.json +3 -3
package/lib/sszTypes.js
CHANGED
|
@@ -4,9 +4,10 @@ import { ssz as bellatrix } from "./bellatrix/index.js";
|
|
|
4
4
|
import { ssz as capella } from "./capella/index.js";
|
|
5
5
|
import { ssz as deneb } from "./deneb/index.js";
|
|
6
6
|
import { ssz as electra } from "./electra/index.js";
|
|
7
|
+
import { ssz as fulu } from "./fulu/index.js";
|
|
7
8
|
import { ssz as phase0 } from "./phase0/index.js";
|
|
8
9
|
export * from "./primitive/sszTypes.js";
|
|
9
|
-
export { phase0, altair, bellatrix, capella, deneb, electra,
|
|
10
|
+
export { phase0, altair, bellatrix, capella, deneb, electra, fulu };
|
|
10
11
|
/**
|
|
11
12
|
* Index the ssz types that differ by fork
|
|
12
13
|
* A record of AllForksSSZTypes indexed by fork
|
|
@@ -18,7 +19,7 @@ const typesByFork = {
|
|
|
18
19
|
[ForkName.capella]: { ...phase0, ...altair, ...bellatrix, ...capella },
|
|
19
20
|
[ForkName.deneb]: { ...phase0, ...altair, ...bellatrix, ...capella, ...deneb },
|
|
20
21
|
[ForkName.electra]: { ...phase0, ...altair, ...bellatrix, ...capella, ...deneb, ...electra },
|
|
21
|
-
[ForkName.fulu]: { ...phase0, ...altair, ...bellatrix, ...capella, ...deneb, ...electra },
|
|
22
|
+
[ForkName.fulu]: { ...phase0, ...altair, ...bellatrix, ...capella, ...deneb, ...electra, ...fulu },
|
|
22
23
|
};
|
|
23
24
|
export function sszTypesFor(fork, typeName) {
|
|
24
25
|
return (typeName === undefined ? typesByFork[fork] : typesByFork[fork][typeName]);
|
package/lib/sszTypes.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sszTypes.js","sourceRoot":"","sources":["../src/sszTypes.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,QAAQ,EAAC,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAC,GAAG,IAAI,MAAM,EAAC,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAC,GAAG,IAAI,SAAS,EAAC,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAC,GAAG,IAAI,OAAO,EAAC,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAC,GAAG,IAAI,KAAK,EAAC,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAC,GAAG,IAAI,OAAO,EAAC,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAC,GAAG,IAAI,MAAM,EAAC,MAAM,mBAAmB,CAAC;AAEhD,cAAc,yBAAyB,CAAC;AACxC,OAAO,EAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"sszTypes.js","sourceRoot":"","sources":["../src/sszTypes.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,QAAQ,EAAC,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAC,GAAG,IAAI,MAAM,EAAC,MAAM,mBAAmB,CAAC;AACh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,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,EAAC,GAAG,MAAM,EAAE,GAAG,MAAM,EAAE,GAAG,SAAS,EAAE,GAAG,OAAO,EAAE,GAAG,KAAK,EAAE,GAAG,OAAO,EAAE,GAAG,IAAI,EAAC;CACjG,CAAC;AA2BF,MAAM,UAAU,WAAW,CACzB,IAAO,EACP,QAAY;IAEZ,OAAO,CACL,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,QAAmC,CAAC,CAC/E,CAAC;AACzB,CAAC"}
|
package/lib/types.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { ts as bellatrix } from "./bellatrix/index.js";
|
|
|
4
4
|
import { ts as capella } from "./capella/index.js";
|
|
5
5
|
import { ts as deneb } from "./deneb/index.js";
|
|
6
6
|
import { ts as electra } from "./electra/index.js";
|
|
7
|
+
import { ts as fulu } from "./fulu/index.js";
|
|
7
8
|
import { ts as phase0 } from "./phase0/index.js";
|
|
8
9
|
import { Slot } from "./primitive/types.js";
|
|
9
10
|
export * from "./primitive/types.js";
|
|
@@ -13,6 +14,7 @@ export { ts as bellatrix } from "./bellatrix/index.js";
|
|
|
13
14
|
export { ts as capella } from "./capella/index.js";
|
|
14
15
|
export { ts as deneb } from "./deneb/index.js";
|
|
15
16
|
export { ts as electra } from "./electra/index.js";
|
|
17
|
+
export { ts as fulu } from "./fulu/index.js";
|
|
16
18
|
/** Common non-spec type to represent roots as strings */
|
|
17
19
|
export type RootHex = string;
|
|
18
20
|
/** Handy enum to represent the block production source */
|
|
@@ -221,27 +223,27 @@ type TypesByFork = {
|
|
|
221
223
|
[ForkName.fulu]: {
|
|
222
224
|
BeaconBlockHeader: phase0.BeaconBlockHeader;
|
|
223
225
|
SignedBeaconBlockHeader: phase0.SignedBeaconBlockHeader;
|
|
224
|
-
BeaconBlock:
|
|
225
|
-
BeaconBlockBody:
|
|
226
|
-
BeaconState:
|
|
227
|
-
SignedBeaconBlock:
|
|
228
|
-
Metadata:
|
|
229
|
-
LightClientHeader:
|
|
230
|
-
LightClientBootstrap:
|
|
231
|
-
LightClientUpdate:
|
|
232
|
-
LightClientFinalityUpdate:
|
|
233
|
-
LightClientOptimisticUpdate:
|
|
234
|
-
LightClientStore:
|
|
235
|
-
BlindedBeaconBlock:
|
|
236
|
-
BlindedBeaconBlockBody:
|
|
237
|
-
SignedBlindedBeaconBlock:
|
|
238
|
-
ExecutionPayload:
|
|
239
|
-
ExecutionPayloadHeader:
|
|
240
|
-
BuilderBid:
|
|
241
|
-
SignedBuilderBid:
|
|
242
|
-
SSEPayloadAttributes:
|
|
243
|
-
BlockContents:
|
|
244
|
-
SignedBlockContents:
|
|
226
|
+
BeaconBlock: fulu.BeaconBlock;
|
|
227
|
+
BeaconBlockBody: fulu.BeaconBlockBody;
|
|
228
|
+
BeaconState: fulu.BeaconState;
|
|
229
|
+
SignedBeaconBlock: fulu.SignedBeaconBlock;
|
|
230
|
+
Metadata: fulu.Metadata;
|
|
231
|
+
LightClientHeader: fulu.LightClientHeader;
|
|
232
|
+
LightClientBootstrap: fulu.LightClientBootstrap;
|
|
233
|
+
LightClientUpdate: fulu.LightClientUpdate;
|
|
234
|
+
LightClientFinalityUpdate: fulu.LightClientFinalityUpdate;
|
|
235
|
+
LightClientOptimisticUpdate: fulu.LightClientOptimisticUpdate;
|
|
236
|
+
LightClientStore: fulu.LightClientStore;
|
|
237
|
+
BlindedBeaconBlock: fulu.BlindedBeaconBlock;
|
|
238
|
+
BlindedBeaconBlockBody: fulu.BlindedBeaconBlockBody;
|
|
239
|
+
SignedBlindedBeaconBlock: fulu.SignedBlindedBeaconBlock;
|
|
240
|
+
ExecutionPayload: fulu.ExecutionPayload;
|
|
241
|
+
ExecutionPayloadHeader: fulu.ExecutionPayloadHeader;
|
|
242
|
+
BuilderBid: fulu.BuilderBid;
|
|
243
|
+
SignedBuilderBid: fulu.SignedBuilderBid;
|
|
244
|
+
SSEPayloadAttributes: fulu.SSEPayloadAttributes;
|
|
245
|
+
BlockContents: fulu.BlockContents;
|
|
246
|
+
SignedBlockContents: fulu.SignedBlockContents;
|
|
245
247
|
ExecutionPayloadAndBlobsBundle: deneb.ExecutionPayloadAndBlobsBundle;
|
|
246
248
|
BlobsBundle: deneb.BlobsBundle;
|
|
247
249
|
Contents: deneb.Contents;
|
package/lib/types.js
CHANGED
|
@@ -6,6 +6,7 @@ export { ts as bellatrix } from "./bellatrix/index.js";
|
|
|
6
6
|
export { ts as capella } from "./capella/index.js";
|
|
7
7
|
export { ts as deneb } from "./deneb/index.js";
|
|
8
8
|
export { ts as electra } from "./electra/index.js";
|
|
9
|
+
export { ts as fulu } from "./fulu/index.js";
|
|
9
10
|
/** Handy enum to represent the block production source */
|
|
10
11
|
export var ProducedBlockSource;
|
|
11
12
|
(function (ProducedBlockSource) {
|
package/lib/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,QAAQ,GAMT,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,QAAQ,GAMT,MAAM,kBAAkB,CAAC;AAU1B,cAAc,sBAAsB,CAAC;AACrC,OAAO,EAAC,EAAE,IAAI,MAAM,EAAC,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAC,EAAE,IAAI,MAAM,EAAC,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAC,EAAE,IAAI,SAAS,EAAC,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAC,EAAE,IAAI,OAAO,EAAC,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAC,EAAE,IAAI,KAAK,EAAC,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAC,EAAE,IAAI,OAAO,EAAC,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAC,EAAE,IAAI,IAAI,EAAC,MAAM,iBAAiB,CAAC;AAK3C,0DAA0D;AAC1D,MAAM,CAAN,IAAY,mBAGX;AAHD,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,wCAAiB,CAAA;AACnB,CAAC,EAHW,mBAAmB,KAAnB,mBAAmB,QAG9B"}
|
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.29.0-
|
|
14
|
+
"version": "1.29.0-peerDAS.6f41bcbc95",
|
|
15
15
|
"type": "module",
|
|
16
16
|
"exports": {
|
|
17
17
|
".": {
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"types": "lib/index.d.ts",
|
|
72
72
|
"dependencies": {
|
|
73
73
|
"@chainsafe/ssz": "^1.2.0",
|
|
74
|
-
"@lodestar/params": "1.29.0-
|
|
74
|
+
"@lodestar/params": "1.29.0-peerDAS.6f41bcbc95",
|
|
75
75
|
"ethereum-cryptography": "^2.0.0"
|
|
76
76
|
},
|
|
77
77
|
"keywords": [
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"beacon",
|
|
81
81
|
"blockchain"
|
|
82
82
|
],
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "9185b87446d3a1bc54e339df041ba4e525924a50"
|
|
84
84
|
}
|