@lodestar/types 1.51.0-dev.5e25b73306 → 1.51.0-dev.708700cdf6
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/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 +122 -122
- package/package.json +4 -4
- package/src/bellatrix/sszTypes.ts +2 -2
- package/src/gloas/sszTypes.ts +2 -1
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.51.0-dev.
|
|
14
|
+
"version": "1.51.0-dev.708700cdf6",
|
|
15
15
|
"type": "module",
|
|
16
16
|
"exports": {
|
|
17
17
|
".": {
|
|
@@ -81,8 +81,8 @@
|
|
|
81
81
|
},
|
|
82
82
|
"types": "lib/index.d.ts",
|
|
83
83
|
"dependencies": {
|
|
84
|
-
"@chainsafe/ssz": "^1.
|
|
85
|
-
"@lodestar/params": "^1.51.0-dev.
|
|
84
|
+
"@chainsafe/ssz": "^1.9.0",
|
|
85
|
+
"@lodestar/params": "^1.51.0-dev.708700cdf6",
|
|
86
86
|
"ethereum-cryptography": "^2.0.0"
|
|
87
87
|
},
|
|
88
88
|
"keywords": [
|
|
@@ -91,5 +91,5 @@
|
|
|
91
91
|
"beacon",
|
|
92
92
|
"blockchain"
|
|
93
93
|
],
|
|
94
|
-
"gitHead": "
|
|
94
|
+
"gitHead": "a697182d9deba9f84937ecb94dc3d9b26ec45c2c"
|
|
95
95
|
}
|
|
@@ -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 {
|
|
3
3
|
BYTES_PER_LOGS_BLOOM,
|
|
4
4
|
HISTORICAL_ROOTS_LIMIT,
|
|
@@ -35,7 +35,7 @@ export const Transaction = new ByteListType(MAX_BYTES_PER_TRANSACTION);
|
|
|
35
35
|
*
|
|
36
36
|
* Spec v1.0.1
|
|
37
37
|
*/
|
|
38
|
-
export const Transactions = new
|
|
38
|
+
export const Transactions = new SerializedListType(Transaction, MAX_TRANSACTIONS_PER_PAYLOAD);
|
|
39
39
|
|
|
40
40
|
export const CommonExecutionPayloadType = new ContainerType({
|
|
41
41
|
parentHash: Root,
|
package/src/gloas/sszTypes.ts
CHANGED
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
ProgressiveContainerType,
|
|
10
10
|
ProgressiveListBasicType,
|
|
11
11
|
ProgressiveListCompositeType,
|
|
12
|
+
ProgressiveSerializedListType,
|
|
12
13
|
VectorBasicType,
|
|
13
14
|
VectorCompositeType,
|
|
14
15
|
} from "@chainsafe/ssz";
|
|
@@ -96,7 +97,7 @@ export const AttestingIndices = new ProgressiveListBasicType(ValidatorIndex, {
|
|
|
96
97
|
limit: MAX_VALIDATORS_PER_COMMITTEE * MAX_COMMITTEES_PER_SLOT,
|
|
97
98
|
});
|
|
98
99
|
export const Transaction = new ProgressiveByteListType({typeName: "Transaction", limit: MAX_BYTES_PER_TRANSACTION});
|
|
99
|
-
export const Transactions = new
|
|
100
|
+
export const Transactions = new ProgressiveSerializedListType(Transaction, {
|
|
100
101
|
typeName: "Transactions",
|
|
101
102
|
limit: MAX_TRANSACTIONS_PER_PAYLOAD,
|
|
102
103
|
});
|