Skip to content

Commit

Permalink
further cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
g11tech committed Sep 3, 2023
1 parent 8b44035 commit 4441b7e
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 17 deletions.
1 change: 0 additions & 1 deletion packages/types/src/allForks/sszTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ export const allForksLightClient = {

export const allForksBlobs = {
deneb: {
SignedBeaconBlockAndBlobSidecars: deneb.SignedBeaconBlockAndBlobSidecars,
BlobSidecar: deneb.BlobSidecar,
BlindedBlobSidecar: deneb.BlindedBlobSidecar,
},
Expand Down
4 changes: 0 additions & 4 deletions packages/types/src/allForks/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,6 @@ export type LightClientOptimisticUpdate =
| deneb.LightClientOptimisticUpdate;
export type LightClientStore = altair.LightClientStore | capella.LightClientStore | deneb.LightClientStore;

export type SignedBeaconBlockAndBlobSidecars = deneb.SignedBeaconBlockAndBlobSidecars;

export type SSEPayloadAttributes =
| bellatrix.SSEPayloadAttributes
| capella.SSEPayloadAttributes
Expand All @@ -113,7 +111,6 @@ export type AllForksTypes = {
LightClientHeader: LightClientHeader;
BuilderBid: BuilderBid;
SignedBuilderBid: SignedBuilderBid;
SignedBeaconBlockAndBlobSidecars: SignedBeaconBlockAndBlobSidecars;
};

export type AllForksBlindedTypes = {
Expand Down Expand Up @@ -288,7 +285,6 @@ export type AllForksLightClientSSZTypes = {
};

export type AllForksBlobsSSZTypes = {
SignedBeaconBlockAndBlobSidecars: AllForksTypeOf<typeof denebSsz.SignedBeaconBlockAndBlobSidecars>;
BlobSidecar: AllForksTypeOf<typeof denebSsz.BlobSidecar>;
BlindedBlobSidecar: AllForksTypeOf<typeof denebSsz.BlindedBlobSidecar>;
};
10 changes: 0 additions & 10 deletions packages/types/src/deneb/sszTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,16 +178,6 @@ export const SignedBlindedBlobSidecars = new ListCompositeType(
MAX_BLOB_COMMITMENTS_PER_BLOCK
);

// TODO: deneb cleanup once the builder-api gets rectified for deneb
// as the type might be used in builder getHeader responses
export const SignedBeaconBlockAndBlobSidecars = new ContainerType(
{
beaconBlock: SignedBeaconBlock,
blobSidecars: BlobSidecars,
},
{typeName: "SignedBeaconBlockAndBlobSidecars", jsonCase: "eth2"}
);

export const BlindedBeaconBlockBody = new ContainerType(
{
...altairSsz.BeaconBlockBody.fields,
Expand Down
2 changes: 0 additions & 2 deletions packages/types/src/deneb/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ export type BeaconBlockBody = ValueOf<typeof ssz.BeaconBlockBody>;
export type BeaconBlock = ValueOf<typeof ssz.BeaconBlock>;
export type SignedBeaconBlock = ValueOf<typeof ssz.SignedBeaconBlock>;

export type SignedBeaconBlockAndBlobSidecars = ValueOf<typeof ssz.SignedBeaconBlockAndBlobSidecars>;

export type BeaconState = ValueOf<typeof ssz.BeaconState>;

export type BlindedBeaconBlockBody = ValueOf<typeof ssz.BlindedBeaconBlockBody>;
Expand Down

0 comments on commit 4441b7e

Please sign in to comment.