@lodestar/types 1.35.0-rc.1 → 1.35.0-rc.2
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/gloas/sszTypes.d.ts +532 -231
- package/lib/gloas/sszTypes.d.ts.map +1 -1
- package/lib/gloas/sszTypes.js +162 -3
- package/lib/gloas/sszTypes.js.map +1 -1
- package/lib/gloas/types.d.ts +13 -0
- package/lib/gloas/types.d.ts.map +1 -1
- package/lib/sszTypes.d.ts +952 -734
- package/lib/sszTypes.d.ts.map +1 -1
- package/lib/types.d.ts +1 -1
- package/lib/types.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/gloas/sszTypes.ts +232 -3
- package/src/gloas/types.ts +14 -0
- package/src/types.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sszTypes.d.ts","sourceRoot":"","sources":["../../src/gloas/sszTypes.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sszTypes.d.ts","sourceRoot":"","sources":["../../src/gloas/sszTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAE,aAAa,EAAE,aAAa,EAAE,iBAAiB,EAAE,mBAAmB,EAAC,MAAM,gBAAgB,CAAC;AAsBnH,eAAO,MAAM,wBAAwB;;;;;EAQpC,CAAC;AAEF,eAAO,MAAM,qBAAqB;;;;;;;;EAMjC,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;;;EAQlC,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;EAO9B,CAAC;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;EAOrC,CAAC;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;EAOrC,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;;EAa/B,CAAC;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;EAMrC,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;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T, MAX_PAYLOAD_ATTESTATIONS, NUMBER_OF_COLUMNS, PTC_SIZE, SLOTS_PER_EPOCH, SLOTS_PER_HISTORICAL_ROOT, } from "@lodestar/params";
|
|
3
|
+
import { ssz as altairSsz } from "../altair/index.js";
|
|
4
|
+
import { ssz as capellaSsz } from "../capella/index.js";
|
|
5
|
+
import { ssz as denebSsz } from "../deneb/index.js";
|
|
6
|
+
import { ssz as electraSsz } from "../electra/index.js";
|
|
1
7
|
import { ssz as fuluSsz } from "../fulu/index.js";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
8
|
+
import { ssz as phase0Ssz } from "../phase0/index.js";
|
|
9
|
+
import { ssz as primitiveSsz } from "../primitive/index.js";
|
|
10
|
+
// biome-ignore lint/suspicious/noShadowRestrictedNames: We explicitly want `Boolean` name to be imported
|
|
11
|
+
const { Gwei, ExecutionAddress, ValidatorIndex, Epoch, BLSSignature, Bytes32, Root, Slot, Boolean, UintBn64, UintNum64 } = primitiveSsz;
|
|
12
|
+
export const BuilderPendingWithdrawal = new ContainerType({
|
|
13
|
+
feeRecipient: ExecutionAddress,
|
|
14
|
+
amount: Gwei,
|
|
15
|
+
builderIndex: ValidatorIndex,
|
|
16
|
+
withdrawableEpoch: Epoch,
|
|
17
|
+
}, { typeName: "BuilderPendingWithdrawal", jsonCase: "eth2" });
|
|
18
|
+
export const BuilderPendingPayment = new ContainerType({
|
|
19
|
+
weight: Gwei,
|
|
20
|
+
withdrawal: BuilderPendingWithdrawal,
|
|
21
|
+
}, { typeName: "BuilderPendingPayment", jsonCase: "eth2" });
|
|
22
|
+
export const PayloadAttestationData = new ContainerType({
|
|
23
|
+
beaconBlockRoot: Root,
|
|
24
|
+
slot: Slot,
|
|
25
|
+
payloadPresent: Boolean,
|
|
26
|
+
blobDataAvailable: Boolean,
|
|
27
|
+
}, { typeName: "PayloadAttestationData", jsonCase: "eth2" });
|
|
28
|
+
export const PayloadAttestation = new ContainerType({
|
|
29
|
+
aggregationBits: new BitVectorType(PTC_SIZE),
|
|
30
|
+
data: PayloadAttestationData,
|
|
31
|
+
signature: BLSSignature,
|
|
32
|
+
}, { typeName: "PayloadAttestation", jsonCase: "eth2" });
|
|
33
|
+
export const PayloadAttestationMessage = new ContainerType({
|
|
34
|
+
validatorIndex: ValidatorIndex,
|
|
35
|
+
data: PayloadAttestationData,
|
|
36
|
+
signature: BLSSignature,
|
|
37
|
+
}, { typeName: "PayloadAttestationMessage", jsonCase: "eth2" });
|
|
38
|
+
export const IndexedPayloadAttestation = new ContainerType({
|
|
39
|
+
attestingIndices: new ListBasicType(ValidatorIndex, PTC_SIZE),
|
|
40
|
+
data: PayloadAttestationData,
|
|
41
|
+
signature: BLSSignature,
|
|
42
|
+
}, { typeName: "IndexedPayloadAttestation", jsonCase: "eth2" });
|
|
43
|
+
export const ExecutionPayloadBid = new ContainerType({
|
|
44
|
+
parentBlockHash: Bytes32,
|
|
45
|
+
parentBlockRoot: Root,
|
|
46
|
+
blockHash: Bytes32,
|
|
47
|
+
feeRecipient: ExecutionAddress,
|
|
48
|
+
gasLimit: UintBn64,
|
|
49
|
+
builderIndex: ValidatorIndex,
|
|
50
|
+
slot: Slot,
|
|
51
|
+
value: Gwei,
|
|
52
|
+
blobKzgCommitmentsRoot: Root,
|
|
53
|
+
}, { typeName: "ExecutionPayloadBid", jsonCase: "eth2" });
|
|
54
|
+
export const SignedExecutionPayloadBid = new ContainerType({
|
|
55
|
+
message: ExecutionPayloadBid,
|
|
56
|
+
signature: BLSSignature,
|
|
57
|
+
}, { typeName: "SignedExecutionPayloadBid", jsonCase: "eth2" });
|
|
58
|
+
export const ExecutionPayloadEnvelope = new ContainerType({
|
|
59
|
+
payload: electraSsz.ExecutionPayload,
|
|
60
|
+
executionRequests: electraSsz.ExecutionRequests,
|
|
61
|
+
builderIndex: ValidatorIndex,
|
|
62
|
+
beaconBlockRoot: Root,
|
|
63
|
+
slot: Slot,
|
|
64
|
+
blobKzgCommitments: denebSsz.BlobKzgCommitments,
|
|
65
|
+
stateRoot: Root,
|
|
66
|
+
}, { typeName: "ExecutionPayloadEnvelope", jsonCase: "eth2" });
|
|
67
|
+
export const SignedExecutionPayloadEnvelope = new ContainerType({
|
|
68
|
+
message: ExecutionPayloadEnvelope,
|
|
69
|
+
signature: BLSSignature,
|
|
70
|
+
}, { typeName: "SignedExecutionPayloadEnvelope", jsonCase: "eth2" });
|
|
71
|
+
export const BeaconBlockBody = new ContainerType({
|
|
72
|
+
randaoReveal: phase0Ssz.BeaconBlockBody.fields.randaoReveal,
|
|
73
|
+
eth1Data: phase0Ssz.BeaconBlockBody.fields.eth1Data,
|
|
74
|
+
graffiti: phase0Ssz.BeaconBlockBody.fields.graffiti,
|
|
75
|
+
proposerSlashings: phase0Ssz.BeaconBlockBody.fields.proposerSlashings,
|
|
76
|
+
attesterSlashings: electraSsz.BeaconBlockBody.fields.attesterSlashings,
|
|
77
|
+
attestations: electraSsz.BeaconBlockBody.fields.attestations,
|
|
78
|
+
deposits: phase0Ssz.BeaconBlockBody.fields.deposits,
|
|
79
|
+
voluntaryExits: phase0Ssz.BeaconBlockBody.fields.voluntaryExits,
|
|
80
|
+
syncAggregate: altairSsz.BeaconBlockBody.fields.syncAggregate,
|
|
81
|
+
// executionPayload: ExecutionPayload, // Removed in GLOAS:EIP7732
|
|
82
|
+
blsToExecutionChanges: capellaSsz.BeaconBlockBody.fields.blsToExecutionChanges,
|
|
83
|
+
// blobKzgCommitments: denebSsz.BeaconBlockBody.fields.blobKzgCommitments, // Removed in GLOAS:EIP7732
|
|
84
|
+
// executionRequests: ExecutionRequests, // Removed in GLOAS:EIP7732
|
|
85
|
+
signedExecutionPayloadBid: SignedExecutionPayloadBid, // New in GLOAS:EIP7732
|
|
86
|
+
payloadAttestations: new ListCompositeType(PayloadAttestation, MAX_PAYLOAD_ATTESTATIONS), // New in GLOAS:EIP7732
|
|
87
|
+
}, { typeName: "BeaconBlockBody", jsonCase: "eth2", cachePermanentRootStruct: true });
|
|
88
|
+
export const BeaconBlock = new ContainerType({
|
|
89
|
+
...fuluSsz.BeaconBlock.fields,
|
|
90
|
+
body: BeaconBlockBody, // Modified in GLOAS
|
|
91
|
+
}, { typeName: "BeaconBlock", jsonCase: "eth2", cachePermanentRootStruct: true });
|
|
92
|
+
export const SignedBeaconBlock = new ContainerType({
|
|
93
|
+
message: BeaconBlock, // Modified in GLOAS
|
|
94
|
+
signature: BLSSignature,
|
|
95
|
+
}, { typeName: "SignedBeaconBlock", jsonCase: "eth2" });
|
|
96
|
+
export const BeaconState = new ContainerType({
|
|
97
|
+
genesisTime: UintNum64,
|
|
98
|
+
genesisValidatorsRoot: Root,
|
|
99
|
+
slot: primitiveSsz.Slot,
|
|
100
|
+
fork: phase0Ssz.Fork,
|
|
101
|
+
// History
|
|
102
|
+
latestBlockHeader: phase0Ssz.BeaconBlockHeader,
|
|
103
|
+
blockRoots: phase0Ssz.HistoricalBlockRoots,
|
|
104
|
+
stateRoots: phase0Ssz.HistoricalStateRoots,
|
|
105
|
+
// historical_roots Frozen in Capella, replaced by historical_summaries
|
|
106
|
+
historicalRoots: new ListCompositeType(Root, HISTORICAL_ROOTS_LIMIT),
|
|
107
|
+
// Eth1
|
|
108
|
+
eth1Data: phase0Ssz.Eth1Data,
|
|
109
|
+
eth1DataVotes: phase0Ssz.Eth1DataVotes,
|
|
110
|
+
eth1DepositIndex: UintNum64,
|
|
111
|
+
// Registry
|
|
112
|
+
validators: phase0Ssz.Validators,
|
|
113
|
+
balances: phase0Ssz.Balances,
|
|
114
|
+
randaoMixes: phase0Ssz.RandaoMixes,
|
|
115
|
+
// Slashings
|
|
116
|
+
slashings: phase0Ssz.Slashings,
|
|
117
|
+
// Participation
|
|
118
|
+
previousEpochParticipation: altairSsz.EpochParticipation,
|
|
119
|
+
currentEpochParticipation: altairSsz.EpochParticipation,
|
|
120
|
+
// Finality
|
|
121
|
+
justificationBits: phase0Ssz.JustificationBits,
|
|
122
|
+
previousJustifiedCheckpoint: phase0Ssz.Checkpoint,
|
|
123
|
+
currentJustifiedCheckpoint: phase0Ssz.Checkpoint,
|
|
124
|
+
finalizedCheckpoint: phase0Ssz.Checkpoint,
|
|
125
|
+
// Inactivity
|
|
126
|
+
inactivityScores: altairSsz.InactivityScores,
|
|
127
|
+
// Sync
|
|
128
|
+
currentSyncCommittee: altairSsz.SyncCommittee,
|
|
129
|
+
nextSyncCommittee: altairSsz.SyncCommittee,
|
|
130
|
+
// Execution
|
|
131
|
+
// latestExecutionPayloadHeader: ExecutionPayloadHeader, // Removed in GLOAS:EIP7732
|
|
132
|
+
latestExecutionPayloadBid: ExecutionPayloadBid, // New in GLOAS:EIP7732
|
|
133
|
+
// Withdrawals
|
|
134
|
+
nextWithdrawalIndex: capellaSsz.BeaconState.fields.nextWithdrawalIndex,
|
|
135
|
+
nextWithdrawalValidatorIndex: capellaSsz.BeaconState.fields.nextWithdrawalValidatorIndex,
|
|
136
|
+
// Deep history valid from Capella onwards
|
|
137
|
+
historicalSummaries: capellaSsz.BeaconState.fields.historicalSummaries,
|
|
138
|
+
depositRequestsStartIndex: UintBn64,
|
|
139
|
+
depositBalanceToConsume: Gwei,
|
|
140
|
+
exitBalanceToConsume: Gwei,
|
|
141
|
+
earliestExitEpoch: Epoch,
|
|
142
|
+
consolidationBalanceToConsume: Gwei,
|
|
143
|
+
earliestConsolidationEpoch: Epoch,
|
|
144
|
+
pendingDeposits: electraSsz.BeaconState.fields.pendingDeposits,
|
|
145
|
+
pendingPartialWithdrawals: electraSsz.BeaconState.fields.pendingPartialWithdrawals,
|
|
146
|
+
pendingConsolidations: electraSsz.BeaconState.fields.pendingConsolidations,
|
|
147
|
+
proposerLookahead: fuluSsz.BeaconState.fields.proposerLookahead,
|
|
148
|
+
executionPayloadAvailability: new BitVectorType(SLOTS_PER_HISTORICAL_ROOT), // New in GLOAS:EIP7732
|
|
149
|
+
builderPendingPayments: new VectorCompositeType(BuilderPendingPayment, 2 * SLOTS_PER_EPOCH), // New in GLOAS:EIP7732
|
|
150
|
+
builderPendingWithdrawals: new ListCompositeType(BuilderPendingWithdrawal, BUILDER_PENDING_WITHDRAWALS_LIMIT), // New in GLOAS:EIP7732
|
|
151
|
+
latestBlockHash: Bytes32, // New in GLOAS:EIP7732
|
|
152
|
+
latestWithdrawalsRoot: Root, // New in GLOAS:EIP7732
|
|
153
|
+
}, { typeName: "BeaconState", jsonCase: "eth2" });
|
|
154
|
+
export const DataColumnSidecar = new ContainerType({
|
|
155
|
+
index: fuluSsz.DataColumnSidecar.fields.index,
|
|
156
|
+
column: fuluSsz.DataColumnSidecar.fields.column,
|
|
157
|
+
kzgCommitments: fuluSsz.DataColumnSidecar.fields.kzgCommitments,
|
|
158
|
+
kzgProofs: fuluSsz.DataColumnSidecar.fields.kzgProofs,
|
|
159
|
+
// signedBlockHeader: phase0Ssz.SignedBeaconBlockHeader, // Removed in GLOAS:EIP7732
|
|
160
|
+
// kzgCommitmentsInclusionProof: KzgCommitmentsInclusionProof, // Removed in GLOAS:EIP7732
|
|
161
|
+
beaconBlockRoot: Root, // New in GLOAS:EIP7732
|
|
162
|
+
}, { typeName: "DataColumnSidecar", jsonCase: "eth2" });
|
|
163
|
+
export const DataColumnSidecars = new ListCompositeType(DataColumnSidecar, NUMBER_OF_COLUMNS);
|
|
5
164
|
//# sourceMappingURL=sszTypes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sszTypes.js","sourceRoot":"","sources":["../../src/gloas/sszTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,IAAI,OAAO,EAAC,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"sszTypes.js","sourceRoot":"","sources":["../../src/gloas/sszTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAE,aAAa,EAAE,aAAa,EAAE,iBAAiB,EAAE,mBAAmB,EAAC,MAAM,gBAAgB,CAAC;AACnH,OAAO,EACL,iCAAiC,EACjC,sBAAsB,EACtB,wBAAwB,EACxB,iBAAiB,E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
1
|
import { ValueOf } from "@chainsafe/ssz";
|
|
2
2
|
import * as ssz from "./sszTypes.js";
|
|
3
|
+
export type BuilderPendingWithdrawal = ValueOf<typeof ssz.BuilderPendingWithdrawal>;
|
|
4
|
+
export type BuilderPendingPayment = ValueOf<typeof ssz.BuilderPendingPayment>;
|
|
5
|
+
export type PayloadAttestationData = ValueOf<typeof ssz.PayloadAttestationData>;
|
|
6
|
+
export type PayloadAttestation = ValueOf<typeof ssz.PayloadAttestation>;
|
|
7
|
+
export type PayloadAttestationMessage = ValueOf<typeof ssz.PayloadAttestationMessage>;
|
|
8
|
+
export type IndexedPayloadAttestation = ValueOf<typeof ssz.IndexedPayloadAttestation>;
|
|
9
|
+
export type ExecutionPayloadBid = ValueOf<typeof ssz.ExecutionPayloadBid>;
|
|
10
|
+
export type SignedExecutionPayloadBid = ValueOf<typeof ssz.SignedExecutionPayloadBid>;
|
|
11
|
+
export type ExecutionPayloadEnvelope = ValueOf<typeof ssz.ExecutionPayloadEnvelope>;
|
|
12
|
+
export type SignedExecutionPayloadEnvelope = ValueOf<typeof ssz.SignedExecutionPayloadEnvelope>;
|
|
13
|
+
export type BeaconBlockBody = ValueOf<typeof ssz.BeaconBlockBody>;
|
|
3
14
|
export type BeaconBlock = ValueOf<typeof ssz.BeaconBlock>;
|
|
4
15
|
export type SignedBeaconBlock = ValueOf<typeof ssz.SignedBeaconBlock>;
|
|
5
16
|
export type BeaconState = ValueOf<typeof ssz.BeaconState>;
|
|
17
|
+
export type DataColumnSidecar = ValueOf<typeof ssz.DataColumnSidecar>;
|
|
18
|
+
export type DataColumnSidecars = ValueOf<typeof ssz.DataColumnSidecars>;
|
|
6
19
|
//# sourceMappingURL=types.d.ts.map
|
package/lib/gloas/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/gloas/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB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