@lodestar/types 1.51.0-dev.7f05c22798 → 1.51.0-dev.808c9f25d9
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/bellatrix/sszTypes.d.ts +7 -7
- package/lib/bellatrix/sszTypes.d.ts.map +1 -1
- package/lib/bellatrix/sszTypes.js +2 -2
- package/lib/bellatrix/sszTypes.js.map +1 -1
- package/lib/capella/sszTypes.d.ts +5 -5
- package/lib/deneb/sszTypes.d.ts +8 -8
- package/lib/eip8025/index.d.ts +5 -0
- package/lib/eip8025/index.d.ts.map +1 -0
- package/lib/eip8025/index.js +5 -0
- package/lib/eip8025/index.js.map +1 -0
- package/lib/eip8025/sszTypes.d.ts +34 -0
- package/lib/eip8025/sszTypes.d.ts.map +1 -0
- package/lib/eip8025/sszTypes.js +28 -0
- package/lib/eip8025/sszTypes.js.map +1 -0
- package/lib/eip8025/types.d.ts +9 -0
- package/lib/eip8025/types.d.ts.map +1 -0
- package/lib/eip8025/types.js +2 -0
- package/lib/eip8025/types.js.map +1 -0
- package/lib/electra/sszTypes.d.ts +7 -7
- package/lib/fulu/sszTypes.d.ts +5 -5
- package/lib/gloas/sszTypes.d.ts +8 -8
- package/lib/gloas/sszTypes.d.ts.map +1 -1
- package/lib/gloas/sszTypes.js +2 -2
- package/lib/gloas/sszTypes.js.map +1 -1
- package/lib/heze/sszTypes.d.ts +5 -5
- package/lib/sszTypes.d.ts +124 -122
- package/lib/sszTypes.d.ts.map +1 -1
- package/lib/sszTypes.js +2 -0
- package/lib/sszTypes.js.map +1 -1
- package/lib/types.d.ts +1 -0
- package/lib/types.d.ts.map +1 -1
- package/lib/types.js +1 -0
- package/lib/types.js.map +1 -1
- package/package.json +4 -4
- package/src/bellatrix/sszTypes.ts +2 -2
- package/src/eip8025/index.ts +5 -0
- package/src/eip8025/sszTypes.ts +46 -0
- package/src/eip8025/types.ts +9 -0
- package/src/gloas/sszTypes.ts +2 -1
- package/src/sszTypes.ts +2 -0
- package/src/types.ts +1 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ByteListType, ByteVectorType, ContainerType, ListCompositeType } from "@chainsafe/ssz";
|
|
1
|
+
import { ByteListType, ByteVectorType, ContainerType, ListCompositeType, SerializedListType } from "@chainsafe/ssz";
|
|
2
2
|
/**
|
|
3
3
|
* ByteList[MAX_BYTES_PER_TRANSACTION]
|
|
4
4
|
*
|
|
@@ -10,7 +10,7 @@ export declare const Transaction: ByteListType;
|
|
|
10
10
|
*
|
|
11
11
|
* Spec v1.0.1
|
|
12
12
|
*/
|
|
13
|
-
export declare const Transactions:
|
|
13
|
+
export declare const Transactions: SerializedListType;
|
|
14
14
|
export declare const CommonExecutionPayloadType: ContainerType<{
|
|
15
15
|
parentHash: ByteVectorType;
|
|
16
16
|
feeRecipient: import("../index.ts").ExecutionAddressType;
|
|
@@ -40,7 +40,7 @@ export declare const ExecutionPayload: ContainerType<{
|
|
|
40
40
|
extraData: ByteListType;
|
|
41
41
|
baseFeePerGas: import("@chainsafe/ssz").UintBigintType;
|
|
42
42
|
blockHash: ByteVectorType;
|
|
43
|
-
transactions:
|
|
43
|
+
transactions: SerializedListType;
|
|
44
44
|
}>;
|
|
45
45
|
export declare const ExecutionPayloadHeader: ContainerType<{
|
|
46
46
|
parentHash: ByteVectorType;
|
|
@@ -73,7 +73,7 @@ export declare const NewPayloadRequest: ContainerType<{
|
|
|
73
73
|
extraData: ByteListType;
|
|
74
74
|
baseFeePerGas: import("@chainsafe/ssz").UintBigintType;
|
|
75
75
|
blockHash: ByteVectorType;
|
|
76
|
-
transactions:
|
|
76
|
+
transactions: SerializedListType;
|
|
77
77
|
}>;
|
|
78
78
|
}>;
|
|
79
79
|
export declare const BeaconBlockBody: ContainerType<{
|
|
@@ -193,7 +193,7 @@ export declare const BeaconBlockBody: ContainerType<{
|
|
|
193
193
|
extraData: ByteListType;
|
|
194
194
|
baseFeePerGas: import("@chainsafe/ssz").UintBigintType;
|
|
195
195
|
blockHash: ByteVectorType;
|
|
196
|
-
transactions:
|
|
196
|
+
transactions: SerializedListType;
|
|
197
197
|
}>;
|
|
198
198
|
}>;
|
|
199
199
|
export declare const BeaconBlock: ContainerType<{
|
|
@@ -318,7 +318,7 @@ export declare const BeaconBlock: ContainerType<{
|
|
|
318
318
|
extraData: ByteListType;
|
|
319
319
|
baseFeePerGas: import("@chainsafe/ssz").UintBigintType;
|
|
320
320
|
blockHash: ByteVectorType;
|
|
321
|
-
transactions:
|
|
321
|
+
transactions: SerializedListType;
|
|
322
322
|
}>;
|
|
323
323
|
}>;
|
|
324
324
|
}>;
|
|
@@ -445,7 +445,7 @@ export declare const SignedBeaconBlock: ContainerType<{
|
|
|
445
445
|
extraData: ByteListType;
|
|
446
446
|
baseFeePerGas: import("@chainsafe/ssz").UintBigintType;
|
|
447
447
|
blockHash: ByteVectorType;
|
|
448
|
-
transactions:
|
|
448
|
+
transactions: SerializedListType;
|
|
449
449
|
}>;
|
|
450
450
|
}>;
|
|
451
451
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sszTypes.d.ts","sourceRoot":"","sources":["../../src/bellatrix/sszTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAE,cAAc,EAAE,aAAa,EAAE,iBAAiB,EAAC,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"sszTypes.d.ts","sourceRoot":"","sources":["../../src/bellatrix/sszTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAE,cAAc,EAAE,aAAa,EAAE,iBAAiB,EAAE,kBAAkB,EAAC,MAAM,gBAAgB,CAAC;AAyBlH;;;;GAIG;AACH,eAAO,MAAM,WAAW,cAA8C,CAAC;AAEvE;;;;GAIG;AACH,eAAO,MAAM,YAAY,oBAAoE,CAAC;AAE9F,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;EAerC,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;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;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMpC,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;;;EAQnC,CAAC;AAEF,eAAO,MAAM,6BAA6B;;;;;;;;EAMzC,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;EAOtB,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;EAM5B,CAAC;AAGF,eAAO,MAAM,iBAAiB;;;;EAG7B,CAAC;AAEF,eAAO,MAAM,0BAA0B;;;;;;EAStC,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;;;EAMhC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ByteListType, ByteVectorType, ContainerType, ListCompositeType } from "@chainsafe/ssz";
|
|
1
|
+
import { ByteListType, ByteVectorType, ContainerType, ListCompositeType, SerializedListType } from "@chainsafe/ssz";
|
|
2
2
|
import { BYTES_PER_LOGS_BLOOM, HISTORICAL_ROOTS_LIMIT, MAX_BYTES_PER_TRANSACTION, MAX_EXTRA_DATA_BYTES, MAX_TRANSACTIONS_PER_PAYLOAD, } from "@lodestar/params";
|
|
3
3
|
import { ssz as altairSsz } from "../altair/index.js";
|
|
4
4
|
import { ssz as phase0Ssz } from "../phase0/index.js";
|
|
@@ -16,7 +16,7 @@ export const Transaction = new ByteListType(MAX_BYTES_PER_TRANSACTION);
|
|
|
16
16
|
*
|
|
17
17
|
* Spec v1.0.1
|
|
18
18
|
*/
|
|
19
|
-
export const Transactions = new
|
|
19
|
+
export const Transactions = new SerializedListType(Transaction, MAX_TRANSACTIONS_PER_PAYLOAD);
|
|
20
20
|
export const CommonExecutionPayloadType = new ContainerType({
|
|
21
21
|
parentHash: Root,
|
|
22
22
|
feeRecipient: ExecutionAddress,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sszTypes.js","sourceRoot":"","sources":["../../src/bellatrix/sszTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAE,cAAc,EAAE,aAAa,EAAE,iBAAiB,EAAC,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"sszTypes.js","sourceRoot":"","sources":["../../src/bellatrix/sszTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAE,cAAc,EAAE,aAAa,EAAE,iBAAiB,EAAE,kBAAkB,EAAC,MAAM,gBAAgB,CAAC;AAClH,OAAO,EACL,oBAAoB,EACpB,sBAAsB,EACtB,yBAAyB,EACzB,oBAAoB,EACpB,4BAA4B,GAC7B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAC,GAAG,IAAI,SAAS,EAAC,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAC,GAAG,IAAI,SAAS,EAAC,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAC,GAAG,IAAI,YAAY,EAAC,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAC,UAAU,EAAC,MAAM,wBAAwB,CAAC;AAElD,MAAM,EACJ,OAAO,EACP,SAAS,EACT,IAAI,EACJ,cAAc,EACd,IAAI,EACJ,YAAY,EACZ,SAAS,EAAE,OAAO,EAClB,SAAS,EACT,gBAAgB,GACjB,GAAG,YAAY,CAAC;AAEjB;;;;GAIG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,IAAI,YAAY,CAAC,yBAAyB,CAAC,CAAC;AAEvE;;;;GAIG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,IAAI,kBAAkB,CAAC,WAAW,EAAE,4BAA4B,CAAC,CAAC;AAE9F,MAAM,CAAC,MAAM,0BAA0B,GAAG,IAAI,aAAa,CAAC;IAC1D,UAAU,EAAE,IAAI;IAChB,YAAY,EAAE,gBAAgB;IAC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,YAAY,EAAE,IAAI;IAClB,iBAAiB,EAAE,SAAS;IAC5B,eAAe,EAAE,IAAI;IACrB,eAAe,EAAE,IAAI;CACtB,EACD,EAAC,QAAQ,EAAE,4BAA4B,EAAE,QAAQ,EAAE,MAAM,EAAC,CAC3D,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG,IAAI,aAAa,CACnD;IACE,GAAG,0BAA0B,CAAC,MAAM;IACpC,iBAAiB,EAAE,iBAAiB;CACrC,EACD,EAAC,QAAQ,EAAE,sBAAsB,EAAE,QAAQ,EAAE,MAAM,EAAC,CACrD,CAAC"}
|
|
@@ -39,7 +39,7 @@ export declare const ExecutionPayload: ContainerType<{
|
|
|
39
39
|
extraData: import("@chainsafe/ssz").ByteListType;
|
|
40
40
|
baseFeePerGas: import("@chainsafe/ssz").UintBigintType;
|
|
41
41
|
blockHash: import("@chainsafe/ssz").ByteVectorType;
|
|
42
|
-
transactions:
|
|
42
|
+
transactions: import("@chainsafe/ssz").SerializedListType;
|
|
43
43
|
withdrawals: ListCompositeType<ContainerType<{
|
|
44
44
|
index: import("@chainsafe/ssz").UintNumberType;
|
|
45
45
|
validatorIndex: import("@chainsafe/ssz").UintNumberType;
|
|
@@ -79,7 +79,7 @@ export declare const NewPayloadRequest: ContainerType<{
|
|
|
79
79
|
extraData: import("@chainsafe/ssz").ByteListType;
|
|
80
80
|
baseFeePerGas: import("@chainsafe/ssz").UintBigintType;
|
|
81
81
|
blockHash: import("@chainsafe/ssz").ByteVectorType;
|
|
82
|
-
transactions:
|
|
82
|
+
transactions: import("@chainsafe/ssz").SerializedListType;
|
|
83
83
|
withdrawals: ListCompositeType<ContainerType<{
|
|
84
84
|
index: import("@chainsafe/ssz").UintNumberType;
|
|
85
85
|
validatorIndex: import("@chainsafe/ssz").UintNumberType;
|
|
@@ -213,7 +213,7 @@ export declare const BeaconBlockBody: ContainerType<{
|
|
|
213
213
|
extraData: import("@chainsafe/ssz").ByteListType;
|
|
214
214
|
baseFeePerGas: import("@chainsafe/ssz").UintBigintType;
|
|
215
215
|
blockHash: import("@chainsafe/ssz").ByteVectorType;
|
|
216
|
-
transactions:
|
|
216
|
+
transactions: import("@chainsafe/ssz").SerializedListType;
|
|
217
217
|
withdrawals: ListCompositeType<ContainerType<{
|
|
218
218
|
index: import("@chainsafe/ssz").UintNumberType;
|
|
219
219
|
validatorIndex: import("@chainsafe/ssz").UintNumberType;
|
|
@@ -352,7 +352,7 @@ export declare const BeaconBlock: ContainerType<{
|
|
|
352
352
|
extraData: import("@chainsafe/ssz").ByteListType;
|
|
353
353
|
baseFeePerGas: import("@chainsafe/ssz").UintBigintType;
|
|
354
354
|
blockHash: import("@chainsafe/ssz").ByteVectorType;
|
|
355
|
-
transactions:
|
|
355
|
+
transactions: import("@chainsafe/ssz").SerializedListType;
|
|
356
356
|
withdrawals: ListCompositeType<ContainerType<{
|
|
357
357
|
index: import("@chainsafe/ssz").UintNumberType;
|
|
358
358
|
validatorIndex: import("@chainsafe/ssz").UintNumberType;
|
|
@@ -493,7 +493,7 @@ export declare const SignedBeaconBlock: ContainerType<{
|
|
|
493
493
|
extraData: import("@chainsafe/ssz").ByteListType;
|
|
494
494
|
baseFeePerGas: import("@chainsafe/ssz").UintBigintType;
|
|
495
495
|
blockHash: import("@chainsafe/ssz").ByteVectorType;
|
|
496
|
-
transactions:
|
|
496
|
+
transactions: import("@chainsafe/ssz").SerializedListType;
|
|
497
497
|
withdrawals: ListCompositeType<ContainerType<{
|
|
498
498
|
index: import("@chainsafe/ssz").UintNumberType;
|
|
499
499
|
validatorIndex: import("@chainsafe/ssz").UintNumberType;
|
package/lib/deneb/sszTypes.d.ts
CHANGED
|
@@ -34,7 +34,7 @@ export declare const ExecutionPayload: ContainerType<{
|
|
|
34
34
|
extraData: import("@chainsafe/ssz").ByteListType;
|
|
35
35
|
baseFeePerGas: import("@chainsafe/ssz").UintBigintType;
|
|
36
36
|
blockHash: ByteVectorType;
|
|
37
|
-
transactions:
|
|
37
|
+
transactions: import("@chainsafe/ssz").SerializedListType;
|
|
38
38
|
withdrawals: ListCompositeType<ContainerType<{
|
|
39
39
|
index: import("@chainsafe/ssz").UintNumberType;
|
|
40
40
|
validatorIndex: import("@chainsafe/ssz").UintNumberType;
|
|
@@ -78,7 +78,7 @@ export declare const NewPayloadRequest: ContainerType<{
|
|
|
78
78
|
extraData: import("@chainsafe/ssz").ByteListType;
|
|
79
79
|
baseFeePerGas: import("@chainsafe/ssz").UintBigintType;
|
|
80
80
|
blockHash: ByteVectorType;
|
|
81
|
-
transactions:
|
|
81
|
+
transactions: import("@chainsafe/ssz").SerializedListType;
|
|
82
82
|
withdrawals: ListCompositeType<ContainerType<{
|
|
83
83
|
index: import("@chainsafe/ssz").UintNumberType;
|
|
84
84
|
validatorIndex: import("@chainsafe/ssz").UintNumberType;
|
|
@@ -208,7 +208,7 @@ export declare const BeaconBlockBody: ContainerType<{
|
|
|
208
208
|
extraData: import("@chainsafe/ssz").ByteListType;
|
|
209
209
|
baseFeePerGas: import("@chainsafe/ssz").UintBigintType;
|
|
210
210
|
blockHash: ByteVectorType;
|
|
211
|
-
transactions:
|
|
211
|
+
transactions: import("@chainsafe/ssz").SerializedListType;
|
|
212
212
|
withdrawals: ListCompositeType<ContainerType<{
|
|
213
213
|
index: import("@chainsafe/ssz").UintNumberType;
|
|
214
214
|
validatorIndex: import("@chainsafe/ssz").UintNumberType;
|
|
@@ -350,7 +350,7 @@ export declare const BeaconBlock: ContainerType<{
|
|
|
350
350
|
extraData: import("@chainsafe/ssz").ByteListType;
|
|
351
351
|
baseFeePerGas: import("@chainsafe/ssz").UintBigintType;
|
|
352
352
|
blockHash: ByteVectorType;
|
|
353
|
-
transactions:
|
|
353
|
+
transactions: import("@chainsafe/ssz").SerializedListType;
|
|
354
354
|
withdrawals: ListCompositeType<ContainerType<{
|
|
355
355
|
index: import("@chainsafe/ssz").UintNumberType;
|
|
356
356
|
validatorIndex: import("@chainsafe/ssz").UintNumberType;
|
|
@@ -494,7 +494,7 @@ export declare const SignedBeaconBlock: ContainerType<{
|
|
|
494
494
|
extraData: import("@chainsafe/ssz").ByteListType;
|
|
495
495
|
baseFeePerGas: import("@chainsafe/ssz").UintBigintType;
|
|
496
496
|
blockHash: ByteVectorType;
|
|
497
|
-
transactions:
|
|
497
|
+
transactions: import("@chainsafe/ssz").SerializedListType;
|
|
498
498
|
withdrawals: ListCompositeType<ContainerType<{
|
|
499
499
|
index: import("@chainsafe/ssz").UintNumberType;
|
|
500
500
|
validatorIndex: import("@chainsafe/ssz").UintNumberType;
|
|
@@ -1034,7 +1034,7 @@ export declare const ExecutionPayloadAndBlobsBundle: ContainerType<{
|
|
|
1034
1034
|
extraData: import("@chainsafe/ssz").ByteListType;
|
|
1035
1035
|
baseFeePerGas: import("@chainsafe/ssz").UintBigintType;
|
|
1036
1036
|
blockHash: ByteVectorType;
|
|
1037
|
-
transactions:
|
|
1037
|
+
transactions: import("@chainsafe/ssz").SerializedListType;
|
|
1038
1038
|
withdrawals: ListCompositeType<ContainerType<{
|
|
1039
1039
|
index: import("@chainsafe/ssz").UintNumberType;
|
|
1040
1040
|
validatorIndex: import("@chainsafe/ssz").UintNumberType;
|
|
@@ -1635,7 +1635,7 @@ export declare const BlockContents: ContainerType<{
|
|
|
1635
1635
|
extraData: import("@chainsafe/ssz").ByteListType;
|
|
1636
1636
|
baseFeePerGas: import("@chainsafe/ssz").UintBigintType;
|
|
1637
1637
|
blockHash: ByteVectorType;
|
|
1638
|
-
transactions:
|
|
1638
|
+
transactions: import("@chainsafe/ssz").SerializedListType;
|
|
1639
1639
|
withdrawals: ListCompositeType<ContainerType<{
|
|
1640
1640
|
index: import("@chainsafe/ssz").UintNumberType;
|
|
1641
1641
|
validatorIndex: import("@chainsafe/ssz").UintNumberType;
|
|
@@ -1783,7 +1783,7 @@ export declare const SignedBlockContents: ContainerType<{
|
|
|
1783
1783
|
extraData: import("@chainsafe/ssz").ByteListType;
|
|
1784
1784
|
baseFeePerGas: import("@chainsafe/ssz").UintBigintType;
|
|
1785
1785
|
blockHash: ByteVectorType;
|
|
1786
|
-
transactions:
|
|
1786
|
+
transactions: import("@chainsafe/ssz").SerializedListType;
|
|
1787
1787
|
withdrawals: ListCompositeType<ContainerType<{
|
|
1788
1788
|
index: import("@chainsafe/ssz").UintNumberType;
|
|
1789
1789
|
validatorIndex: import("@chainsafe/ssz").UintNumberType;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/eip8025/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAE3B,OAAO,KAAK,GAAG,MAAM,eAAe,CAAC;AACrC,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAAC,EAAE,EAAE,GAAG,EAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/eip8025/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAE3B,OAAO,KAAK,GAAG,MAAM,eAAe,CAAC;AACrC,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAAC,EAAE,EAAE,GAAG,EAAC,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ByteListType, ContainerType, ProgressiveContainerType } from "@chainsafe/ssz";
|
|
2
|
+
export declare const ProofData: ByteListType;
|
|
3
|
+
export declare const ProofType: import("@chainsafe/ssz").UintNumberType;
|
|
4
|
+
export declare const PublicInput: ProgressiveContainerType<{
|
|
5
|
+
newPayloadRequestRoot: import("@chainsafe/ssz").ByteVectorType;
|
|
6
|
+
successfulValidation: import("@chainsafe/ssz").BooleanType;
|
|
7
|
+
chainId: import("@chainsafe/ssz").UintBigintType;
|
|
8
|
+
schemaId: import("@chainsafe/ssz").UintNumberType;
|
|
9
|
+
}>;
|
|
10
|
+
export declare const ExecutionProof: ContainerType<{
|
|
11
|
+
proofData: ByteListType;
|
|
12
|
+
proofType: import("@chainsafe/ssz").UintNumberType;
|
|
13
|
+
publicInput: ProgressiveContainerType<{
|
|
14
|
+
newPayloadRequestRoot: import("@chainsafe/ssz").ByteVectorType;
|
|
15
|
+
successfulValidation: import("@chainsafe/ssz").BooleanType;
|
|
16
|
+
chainId: import("@chainsafe/ssz").UintBigintType;
|
|
17
|
+
schemaId: import("@chainsafe/ssz").UintNumberType;
|
|
18
|
+
}>;
|
|
19
|
+
}>;
|
|
20
|
+
export declare const ExecutionProofEnvelope: ContainerType<{
|
|
21
|
+
proofData: ByteListType;
|
|
22
|
+
proofType: import("@chainsafe/ssz").UintNumberType;
|
|
23
|
+
beaconBlockRoot: import("@chainsafe/ssz").ByteVectorType;
|
|
24
|
+
}>;
|
|
25
|
+
export declare const SignedExecutionProofEnvelope: ContainerType<{
|
|
26
|
+
message: ContainerType<{
|
|
27
|
+
proofData: ByteListType;
|
|
28
|
+
proofType: import("@chainsafe/ssz").UintNumberType;
|
|
29
|
+
beaconBlockRoot: import("@chainsafe/ssz").ByteVectorType;
|
|
30
|
+
}>;
|
|
31
|
+
validatorIndex: import("@chainsafe/ssz").UintNumberType;
|
|
32
|
+
signature: import("@chainsafe/ssz").ByteVectorType;
|
|
33
|
+
}>;
|
|
34
|
+
//# sourceMappingURL=sszTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sszTypes.d.ts","sourceRoot":"","sources":["../../src/eip8025/sszTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAE,aAAa,EAAE,wBAAwB,EAAC,MAAM,gBAAgB,CAAC;AAMrF,eAAO,MAAM,SAAS,cAA4D,CAAC;AACnF,eAAO,MAAM,SAAS,yCAAQ,CAAC;AAE/B,eAAO,MAAM,WAAW;;;;;EASvB,CAAC;AAEF,eAAO,MAAM,cAAc;;;;;;;;;EAO1B,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;;EAOlC,CAAC;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;EAOxC,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ByteListType, ContainerType, ProgressiveContainerType } from "@chainsafe/ssz";
|
|
2
|
+
import { MAX_PROOF_SIZE } from "@lodestar/params";
|
|
3
|
+
import * as primitiveSsz from "../primitive/sszTypes.js";
|
|
4
|
+
const { BLSSignature, Root, Uint8, Uint16, UintBn64, ValidatorIndex } = primitiveSsz;
|
|
5
|
+
export const ProofData = new ByteListType(MAX_PROOF_SIZE, { typeName: "ProofData" });
|
|
6
|
+
export const ProofType = Uint8;
|
|
7
|
+
export const PublicInput = new ProgressiveContainerType({
|
|
8
|
+
newPayloadRequestRoot: Root,
|
|
9
|
+
successfulValidation: primitiveSsz.Boolean,
|
|
10
|
+
chainId: UintBn64,
|
|
11
|
+
schemaId: Uint16,
|
|
12
|
+
}, [true, true, true, true], { typeName: "PublicInput", jsonCase: "eth2" });
|
|
13
|
+
export const ExecutionProof = new ContainerType({
|
|
14
|
+
proofData: ProofData,
|
|
15
|
+
proofType: ProofType,
|
|
16
|
+
publicInput: PublicInput,
|
|
17
|
+
}, { typeName: "ExecutionProof", jsonCase: "eth2" });
|
|
18
|
+
export const ExecutionProofEnvelope = new ContainerType({
|
|
19
|
+
proofData: ProofData,
|
|
20
|
+
proofType: ProofType,
|
|
21
|
+
beaconBlockRoot: Root,
|
|
22
|
+
}, { typeName: "ExecutionProofEnvelope", jsonCase: "eth2" });
|
|
23
|
+
export const SignedExecutionProofEnvelope = new ContainerType({
|
|
24
|
+
message: ExecutionProofEnvelope,
|
|
25
|
+
validatorIndex: ValidatorIndex,
|
|
26
|
+
signature: BLSSignature,
|
|
27
|
+
}, { typeName: "SignedExecutionProofEnvelope", jsonCase: "eth2" });
|
|
28
|
+
//# sourceMappingURL=sszTypes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sszTypes.js","sourceRoot":"","sources":["../../src/eip8025/sszTypes.ts"],"names":[],"mappings":"AAAA,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OAAO,EAAE,sBAAsB;IAC/B,cAAc,EAAE,cAAc;IAC9B,SAAS,EAAE,YAAY;CACxB,EACD,EAAC,QAAQ,EAAE,8BAA8B,EAAE,QAAQ,EAAE,MAAM,EAAC,CAC7D,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ValueOf } from "@chainsafe/ssz";
|
|
2
|
+
import * as ssz from "./sszTypes.js";
|
|
3
|
+
export type ProofData = ValueOf<typeof ssz.ProofData>;
|
|
4
|
+
export type ProofType = ValueOf<typeof ssz.ProofType>;
|
|
5
|
+
export type PublicInput = ValueOf<typeof ssz.PublicInput>;
|
|
6
|
+
export type ExecutionProof = ValueOf<typeof ssz.ExecutionProof>;
|
|
7
|
+
export type ExecutionProofEnvelope = ValueOf<typeof ssz.ExecutionProofEnvelope>;
|
|
8
|
+
export type SignedExecutionProofEnvelope = ValueOf<typeof ssz.SignedExecutionProofEnvelope>;
|
|
9
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/eip8025/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;AACvC,OAAO,KAAK,GAAG,MAAM,eAAe,CAAC;AAErC,MAAM,MAAM,SAAS,GAAG,OAAO,CAAC,OAAO,GAAG,CAAC,SAAS,CAAC,CAAC;AACtD,MAAM,MAAM,SAAS,GAAG,OAAO,CAAC,OAAO,GAAG,CAAC,SAAS,CAAC,CAAC;AACtD,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC,OAAO,GAAG,CAAC,WAAW,CAAC,CAAC;AAC1D,MAAM,MAAM,cAAc,GAAG,OAAO,CAAC,OAAO,GAAG,CAAC,cAAc,CAAC,CAAC;AAChE,MAAM,MAAM,sBAAsB,GAAG,OAAO,CAAC,OAAO,GAAG,CAAC,sBAAsB,CAAC,CAAC;AAChF,MAAM,MAAM,4BAA4B,GAAG,OAAO,CAAC,OAAO,GAAG,CAAC,4BAA4B,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/eip8025/types.ts"],"names":[],"mappings":""}
|
|
@@ -245,7 +245,7 @@ export declare const ExecutionPayload: ContainerType<{
|
|
|
245
245
|
extraData: import("@chainsafe/ssz").ByteListType;
|
|
246
246
|
baseFeePerGas: import("@chainsafe/ssz").UintBigintType;
|
|
247
247
|
blockHash: import("@chainsafe/ssz").ByteVectorType;
|
|
248
|
-
transactions:
|
|
248
|
+
transactions: import("@chainsafe/ssz").SerializedListType;
|
|
249
249
|
withdrawals: ListCompositeType<ContainerType<{
|
|
250
250
|
index: import("@chainsafe/ssz").UintNumberType;
|
|
251
251
|
validatorIndex: import("@chainsafe/ssz").UintNumberType;
|
|
@@ -270,7 +270,7 @@ export declare const NewPayloadRequest: ContainerType<{
|
|
|
270
270
|
extraData: import("@chainsafe/ssz").ByteListType;
|
|
271
271
|
baseFeePerGas: import("@chainsafe/ssz").UintBigintType;
|
|
272
272
|
blockHash: import("@chainsafe/ssz").ByteVectorType;
|
|
273
|
-
transactions:
|
|
273
|
+
transactions: import("@chainsafe/ssz").SerializedListType;
|
|
274
274
|
withdrawals: ListCompositeType<ContainerType<{
|
|
275
275
|
index: import("@chainsafe/ssz").UintNumberType;
|
|
276
276
|
validatorIndex: import("@chainsafe/ssz").UintNumberType;
|
|
@@ -420,7 +420,7 @@ export declare const BeaconBlockBody: ContainerType<{
|
|
|
420
420
|
extraData: import("@chainsafe/ssz").ByteListType;
|
|
421
421
|
baseFeePerGas: import("@chainsafe/ssz").UintBigintType;
|
|
422
422
|
blockHash: import("@chainsafe/ssz").ByteVectorType;
|
|
423
|
-
transactions:
|
|
423
|
+
transactions: import("@chainsafe/ssz").SerializedListType;
|
|
424
424
|
withdrawals: ListCompositeType<ContainerType<{
|
|
425
425
|
index: import("@chainsafe/ssz").UintNumberType;
|
|
426
426
|
validatorIndex: import("@chainsafe/ssz").UintNumberType;
|
|
@@ -582,7 +582,7 @@ export declare const BeaconBlock: ContainerType<{
|
|
|
582
582
|
extraData: import("@chainsafe/ssz").ByteListType;
|
|
583
583
|
baseFeePerGas: import("@chainsafe/ssz").UintBigintType;
|
|
584
584
|
blockHash: import("@chainsafe/ssz").ByteVectorType;
|
|
585
|
-
transactions:
|
|
585
|
+
transactions: import("@chainsafe/ssz").SerializedListType;
|
|
586
586
|
withdrawals: ListCompositeType<ContainerType<{
|
|
587
587
|
index: import("@chainsafe/ssz").UintNumberType;
|
|
588
588
|
validatorIndex: import("@chainsafe/ssz").UintNumberType;
|
|
@@ -746,7 +746,7 @@ export declare const SignedBeaconBlock: ContainerType<{
|
|
|
746
746
|
extraData: import("@chainsafe/ssz").ByteListType;
|
|
747
747
|
baseFeePerGas: import("@chainsafe/ssz").UintBigintType;
|
|
748
748
|
blockHash: import("@chainsafe/ssz").ByteVectorType;
|
|
749
|
-
transactions:
|
|
749
|
+
transactions: import("@chainsafe/ssz").SerializedListType;
|
|
750
750
|
withdrawals: ListCompositeType<ContainerType<{
|
|
751
751
|
index: import("@chainsafe/ssz").UintNumberType;
|
|
752
752
|
validatorIndex: import("@chainsafe/ssz").UintNumberType;
|
|
@@ -1959,7 +1959,7 @@ export declare const BlockContents: ContainerType<{
|
|
|
1959
1959
|
extraData: import("@chainsafe/ssz").ByteListType;
|
|
1960
1960
|
baseFeePerGas: import("@chainsafe/ssz").UintBigintType;
|
|
1961
1961
|
blockHash: import("@chainsafe/ssz").ByteVectorType;
|
|
1962
|
-
transactions:
|
|
1962
|
+
transactions: import("@chainsafe/ssz").SerializedListType;
|
|
1963
1963
|
withdrawals: ListCompositeType<ContainerType<{
|
|
1964
1964
|
index: import("@chainsafe/ssz").UintNumberType;
|
|
1965
1965
|
validatorIndex: import("@chainsafe/ssz").UintNumberType;
|
|
@@ -2127,7 +2127,7 @@ export declare const SignedBlockContents: ContainerType<{
|
|
|
2127
2127
|
extraData: import("@chainsafe/ssz").ByteListType;
|
|
2128
2128
|
baseFeePerGas: import("@chainsafe/ssz").UintBigintType;
|
|
2129
2129
|
blockHash: import("@chainsafe/ssz").ByteVectorType;
|
|
2130
|
-
transactions:
|
|
2130
|
+
transactions: import("@chainsafe/ssz").SerializedListType;
|
|
2131
2131
|
withdrawals: ListCompositeType<ContainerType<{
|
|
2132
2132
|
index: import("@chainsafe/ssz").UintNumberType;
|
|
2133
2133
|
validatorIndex: import("@chainsafe/ssz").UintNumberType;
|
package/lib/fulu/sszTypes.d.ts
CHANGED
|
@@ -198,7 +198,7 @@ export declare const BeaconBlock: ContainerType<{
|
|
|
198
198
|
extraData: import("@chainsafe/ssz").ByteListType;
|
|
199
199
|
baseFeePerGas: import("@chainsafe/ssz").UintBigintType;
|
|
200
200
|
blockHash: ByteVectorType;
|
|
201
|
-
transactions:
|
|
201
|
+
transactions: import("@chainsafe/ssz").SerializedListType;
|
|
202
202
|
withdrawals: ListCompositeType<ContainerType<{
|
|
203
203
|
index: import("@chainsafe/ssz").UintNumberType;
|
|
204
204
|
validatorIndex: import("@chainsafe/ssz").UintNumberType;
|
|
@@ -362,7 +362,7 @@ export declare const SignedBeaconBlock: ContainerType<{
|
|
|
362
362
|
extraData: import("@chainsafe/ssz").ByteListType;
|
|
363
363
|
baseFeePerGas: import("@chainsafe/ssz").UintBigintType;
|
|
364
364
|
blockHash: ByteVectorType;
|
|
365
|
-
transactions:
|
|
365
|
+
transactions: import("@chainsafe/ssz").SerializedListType;
|
|
366
366
|
withdrawals: ListCompositeType<ContainerType<{
|
|
367
367
|
index: import("@chainsafe/ssz").UintNumberType;
|
|
368
368
|
validatorIndex: import("@chainsafe/ssz").UintNumberType;
|
|
@@ -424,7 +424,7 @@ export declare const ExecutionPayloadAndBlobsBundle: ContainerType<{
|
|
|
424
424
|
extraData: import("@chainsafe/ssz").ByteListType;
|
|
425
425
|
baseFeePerGas: import("@chainsafe/ssz").UintBigintType;
|
|
426
426
|
blockHash: ByteVectorType;
|
|
427
|
-
transactions:
|
|
427
|
+
transactions: import("@chainsafe/ssz").SerializedListType;
|
|
428
428
|
withdrawals: ListCompositeType<ContainerType<{
|
|
429
429
|
index: import("@chainsafe/ssz").UintNumberType;
|
|
430
430
|
validatorIndex: import("@chainsafe/ssz").UintNumberType;
|
|
@@ -671,7 +671,7 @@ export declare const BlockContents: ContainerType<{
|
|
|
671
671
|
extraData: import("@chainsafe/ssz").ByteListType;
|
|
672
672
|
baseFeePerGas: import("@chainsafe/ssz").UintBigintType;
|
|
673
673
|
blockHash: ByteVectorType;
|
|
674
|
-
transactions:
|
|
674
|
+
transactions: import("@chainsafe/ssz").SerializedListType;
|
|
675
675
|
withdrawals: ListCompositeType<ContainerType<{
|
|
676
676
|
index: import("@chainsafe/ssz").UintNumberType;
|
|
677
677
|
validatorIndex: import("@chainsafe/ssz").UintNumberType;
|
|
@@ -839,7 +839,7 @@ export declare const SignedBlockContents: ContainerType<{
|
|
|
839
839
|
extraData: import("@chainsafe/ssz").ByteListType;
|
|
840
840
|
baseFeePerGas: import("@chainsafe/ssz").UintBigintType;
|
|
841
841
|
blockHash: ByteVectorType;
|
|
842
|
-
transactions:
|
|
842
|
+
transactions: import("@chainsafe/ssz").SerializedListType;
|
|
843
843
|
withdrawals: ListCompositeType<ContainerType<{
|
|
844
844
|
index: import("@chainsafe/ssz").UintNumberType;
|
|
845
845
|
validatorIndex: import("@chainsafe/ssz").UintNumberType;
|
package/lib/gloas/sszTypes.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BitVectorType, ByteListType, ContainerType, ListBasicType, ListCompositeType, ProgressiveBitListType, ProgressiveByteListType, ProgressiveContainerType, ProgressiveListBasicType, ProgressiveListCompositeType, VectorBasicType, VectorCompositeType } from "@chainsafe/ssz";
|
|
1
|
+
import { BitVectorType, ByteListType, ContainerType, ListBasicType, ListCompositeType, ProgressiveBitListType, ProgressiveByteListType, ProgressiveContainerType, ProgressiveListBasicType, ProgressiveListCompositeType, ProgressiveSerializedListType, VectorBasicType, VectorCompositeType } from "@chainsafe/ssz";
|
|
2
2
|
export declare const ExecutionBranch: VectorCompositeType<import("@chainsafe/ssz").ByteVectorType>;
|
|
3
3
|
export declare const CurrentSyncCommitteeBranch: VectorCompositeType<import("@chainsafe/ssz").ByteVectorType>;
|
|
4
4
|
export declare const FinalityBranch: VectorCompositeType<import("@chainsafe/ssz").ByteVectorType>;
|
|
@@ -6,7 +6,7 @@ export declare const NextSyncCommitteeBranch: VectorCompositeType<import("@chain
|
|
|
6
6
|
export declare const AggregationBits: ProgressiveBitListType;
|
|
7
7
|
export declare const AttestingIndices: ProgressiveListBasicType<import("@chainsafe/ssz").UintNumberType>;
|
|
8
8
|
export declare const Transaction: ProgressiveByteListType;
|
|
9
|
-
export declare const Transactions:
|
|
9
|
+
export declare const Transactions: ProgressiveSerializedListType;
|
|
10
10
|
export declare const Withdrawals: ProgressiveListCompositeType<ContainerType<{
|
|
11
11
|
index: import("@chainsafe/ssz").UintNumberType;
|
|
12
12
|
validatorIndex: import("@chainsafe/ssz").UintNumberType;
|
|
@@ -540,7 +540,7 @@ export declare const ExecutionPayload: ProgressiveContainerType<{
|
|
|
540
540
|
blockHash: import("@chainsafe/ssz").ByteVectorType;
|
|
541
541
|
blobGasUsed: import("@chainsafe/ssz").UintBigintType;
|
|
542
542
|
excessBlobGas: import("@chainsafe/ssz").UintBigintType;
|
|
543
|
-
transactions:
|
|
543
|
+
transactions: ProgressiveSerializedListType;
|
|
544
544
|
withdrawals: ProgressiveListCompositeType<ContainerType<{
|
|
545
545
|
index: import("@chainsafe/ssz").UintNumberType;
|
|
546
546
|
validatorIndex: import("@chainsafe/ssz").UintNumberType;
|
|
@@ -569,7 +569,7 @@ export declare const NewPayloadRequest: ProgressiveContainerType<{
|
|
|
569
569
|
blockHash: import("@chainsafe/ssz").ByteVectorType;
|
|
570
570
|
blobGasUsed: import("@chainsafe/ssz").UintBigintType;
|
|
571
571
|
excessBlobGas: import("@chainsafe/ssz").UintBigintType;
|
|
572
|
-
transactions:
|
|
572
|
+
transactions: ProgressiveSerializedListType;
|
|
573
573
|
withdrawals: ProgressiveListCompositeType<ContainerType<{
|
|
574
574
|
index: import("@chainsafe/ssz").UintNumberType;
|
|
575
575
|
validatorIndex: import("@chainsafe/ssz").UintNumberType;
|
|
@@ -626,7 +626,7 @@ export declare const ExecutionPayloadEnvelope: ProgressiveContainerType<{
|
|
|
626
626
|
blockHash: import("@chainsafe/ssz").ByteVectorType;
|
|
627
627
|
blobGasUsed: import("@chainsafe/ssz").UintBigintType;
|
|
628
628
|
excessBlobGas: import("@chainsafe/ssz").UintBigintType;
|
|
629
|
-
transactions:
|
|
629
|
+
transactions: ProgressiveSerializedListType;
|
|
630
630
|
withdrawals: ProgressiveListCompositeType<ContainerType<{
|
|
631
631
|
index: import("@chainsafe/ssz").UintNumberType;
|
|
632
632
|
validatorIndex: import("@chainsafe/ssz").UintNumberType;
|
|
@@ -687,7 +687,7 @@ export declare const SignedExecutionPayloadEnvelope: ContainerType<{
|
|
|
687
687
|
blockHash: import("@chainsafe/ssz").ByteVectorType;
|
|
688
688
|
blobGasUsed: import("@chainsafe/ssz").UintBigintType;
|
|
689
689
|
excessBlobGas: import("@chainsafe/ssz").UintBigintType;
|
|
690
|
-
transactions:
|
|
690
|
+
transactions: ProgressiveSerializedListType;
|
|
691
691
|
withdrawals: ProgressiveListCompositeType<ContainerType<{
|
|
692
692
|
index: import("@chainsafe/ssz").UintNumberType;
|
|
693
693
|
validatorIndex: import("@chainsafe/ssz").UintNumberType;
|
|
@@ -865,7 +865,7 @@ export declare const SignedExecutionPayloadEnvelopeContents: ContainerType<{
|
|
|
865
865
|
blockHash: import("@chainsafe/ssz").ByteVectorType;
|
|
866
866
|
blobGasUsed: import("@chainsafe/ssz").UintBigintType;
|
|
867
867
|
excessBlobGas: import("@chainsafe/ssz").UintBigintType;
|
|
868
|
-
transactions:
|
|
868
|
+
transactions: ProgressiveSerializedListType;
|
|
869
869
|
withdrawals: ProgressiveListCompositeType<ContainerType<{
|
|
870
870
|
index: import("@chainsafe/ssz").UintNumberType;
|
|
871
871
|
validatorIndex: import("@chainsafe/ssz").UintNumberType;
|
|
@@ -1628,7 +1628,7 @@ export declare const BlockContents: ContainerType<{
|
|
|
1628
1628
|
blockHash: import("@chainsafe/ssz").ByteVectorType;
|
|
1629
1629
|
blobGasUsed: import("@chainsafe/ssz").UintBigintType;
|
|
1630
1630
|
excessBlobGas: import("@chainsafe/ssz").UintBigintType;
|
|
1631
|
-
transactions:
|
|
1631
|
+
transactions: ProgressiveSerializedListType;
|
|
1632
1632
|
withdrawals: ProgressiveListCompositeType<ContainerType<{
|
|
1633
1633
|
index: import("@chainsafe/ssz").UintNumberType;
|
|
1634
1634
|
validatorIndex: import("@chainsafe/ssz").UintNumberType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sszTypes.d.ts","sourceRoot":"","sources":["../../src/gloas/sszTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,YAAY,EACZ,aAAa,EACb,aAAa,EACb,iBAAiB,EACjB,sBAAsB,EACtB,uBAAuB,EACvB,wBAAwB,EACxB,wBAAwB,EACxB,4BAA4B,EAC5B,eAAe,EACf,mBAAmB,EACpB,MAAM,gBAAgB,CAAC;AAoExB,eAAO,MAAM,eAAe,8DAAqE,CAAC;AAElG,eAAO,MAAM,0BAA0B,8DAAuE,CAAC;AAE/G,eAAO,MAAM,cAAc,8DAA+D,CAAC;AAE3F,eAAO,MAAM,uBAAuB,8DAAoE,CAAC;AAEzG,eAAO,MAAM,eAAe,wBAG1B,CAAC;AACH,eAAO,MAAM,gBAAgB,mEAG3B,CAAC;AACH,eAAO,MAAM,WAAW,yBAA2F,CAAC;AACpH,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"sszTypes.d.ts","sourceRoot":"","sources":["../../src/gloas/sszTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,E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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQzB,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;EAO7B,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;EAOhC,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAW7B,CAAC;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASrC,CAAC;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;EAOvC,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAM5B,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgEvB,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;EAY7B,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;GAA8D,CAAC;AAE9F,eAAO,MAAM,uCAAuC;;;EAGnD,CAAC;AAGF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;EAO7B,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;EAYhC,CAAC"}
|
package/lib/gloas/sszTypes.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BitVectorType, ByteListType, ContainerType, ListBasicType, ListCompositeType, ProgressiveBitListType, ProgressiveByteListType, ProgressiveContainerType, ProgressiveListBasicType, ProgressiveListCompositeType, VectorBasicType, VectorCompositeType, } from "@chainsafe/ssz";
|
|
1
|
+
import { BitVectorType, ByteListType, ContainerType, ListBasicType, ListCompositeType, ProgressiveBitListType, ProgressiveByteListType, ProgressiveContainerType, ProgressiveListBasicType, ProgressiveListCompositeType, ProgressiveSerializedListType, VectorBasicType, VectorCompositeType, } from "@chainsafe/ssz";
|
|
2
2
|
import { CURRENT_SYNC_COMMITTEE_DEPTH_GLOAS, EPOCHS_PER_SYNC_COMMITTEE_PERIOD, EXECUTION_BLOCK_HASH_DEPTH_GLOAS, FINALIZED_ROOT_DEPTH_GLOAS, HISTORICAL_ROOTS_LIMIT, MAX_ATTESTATIONS_ELECTRA, MAX_ATTESTER_SLASHINGS_ELECTRA, MAX_BLOB_COMMITMENTS_PER_BLOCK, MAX_BLS_TO_EXECUTION_CHANGES, MAX_BUILDER_AUTH_DATA_SIZE, MAX_BUILDER_DEPOSIT_REQUESTS_PER_PAYLOAD, MAX_BUILDER_EXIT_REQUESTS_PER_PAYLOAD, MAX_BYTES_PER_TRANSACTION, MAX_COMMITTEES_PER_SLOT, MAX_CONSOLIDATION_REQUESTS_PER_PAYLOAD, MAX_PAYLOAD_ATTESTATIONS, MAX_PROPOSER_SLASHINGS, MAX_TRANSACTIONS_PER_PAYLOAD, MAX_VALIDATORS_PER_COMMITTEE, MAX_VOLUNTARY_EXITS, MAX_WITHDRAWALS_PER_PAYLOAD, MAX_WITHDRAWAL_REQUESTS_PER_PAYLOAD, MIN_SEED_LOOKAHEAD, NEXT_SYNC_COMMITTEE_DEPTH_GLOAS, NUMBER_OF_COLUMNS, PENDING_CONSOLIDATIONS_LIMIT, PENDING_DEPOSITS_LIMIT, PENDING_PARTIAL_WITHDRAWALS_LIMIT, PTC_SIZE, SLOTS_PER_EPOCH, SLOTS_PER_HISTORICAL_ROOT, VALIDATOR_REGISTRY_LIMIT, } from "@lodestar/params";
|
|
3
3
|
import { ssz as altairSsz } from "../altair/index.js";
|
|
4
4
|
import { ssz as capellaSsz } from "../capella/index.js";
|
|
@@ -26,7 +26,7 @@ export const AttestingIndices = new ProgressiveListBasicType(ValidatorIndex, {
|
|
|
26
26
|
limit: MAX_VALIDATORS_PER_COMMITTEE * MAX_COMMITTEES_PER_SLOT,
|
|
27
27
|
});
|
|
28
28
|
export const Transaction = new ProgressiveByteListType({ typeName: "Transaction", limit: MAX_BYTES_PER_TRANSACTION });
|
|
29
|
-
export const Transactions = new
|
|
29
|
+
export const Transactions = new ProgressiveSerializedListType(Transaction, {
|
|
30
30
|
typeName: "Transactions",
|
|
31
31
|
limit: MAX_TRANSACTIONS_PER_PAYLOAD,
|
|
32
32
|
});
|