Skip to content

Commit

Permalink
fix type issues
Browse files Browse the repository at this point in the history
  • Loading branch information
g11tech committed Mar 8, 2024
1 parent afb17eb commit 628c35a
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions packages/types/src/allForks/types.ts
Expand Up @@ -315,28 +315,40 @@ export type AllForksLightClientSSZTypes = {
| typeof electraSsz.BeaconBlockBody
>;
LightClientHeader: AllForksTypeOf<
typeof altairSsz.LightClientHeader | typeof capellaSsz.LightClientHeader | typeof denebSsz.LightClientHeader
| typeof altairSsz.LightClientHeader
| typeof capellaSsz.LightClientHeader
| typeof denebSsz.LightClientHeader
| typeof electraSsz.LightClientHeader
>;
LightClientBootstrap: AllForksTypeOf<
| typeof altairSsz.LightClientBootstrap
| typeof capellaSsz.LightClientBootstrap
| typeof denebSsz.LightClientBootstrap
| typeof electraSsz.LightClientBootstrap
>;
LightClientUpdate: AllForksTypeOf<
typeof altairSsz.LightClientUpdate | typeof capellaSsz.LightClientUpdate | typeof denebSsz.LightClientUpdate
| typeof altairSsz.LightClientUpdate
| typeof capellaSsz.LightClientUpdate
| typeof denebSsz.LightClientUpdate
| typeof electraSsz.LightClientUpdate
>;
LightClientFinalityUpdate: AllForksTypeOf<
| typeof altairSsz.LightClientFinalityUpdate
| typeof capellaSsz.LightClientFinalityUpdate
| typeof denebSsz.LightClientFinalityUpdate
| typeof electraSsz.LightClientFinalityUpdate
>;
LightClientOptimisticUpdate: AllForksTypeOf<
| typeof altairSsz.LightClientOptimisticUpdate
| typeof capellaSsz.LightClientOptimisticUpdate
| typeof denebSsz.LightClientOptimisticUpdate
| typeof electraSsz.LightClientOptimisticUpdate
>;
LightClientStore: AllForksTypeOf<
typeof altairSsz.LightClientStore | typeof capellaSsz.LightClientStore | typeof denebSsz.LightClientStore
| typeof altairSsz.LightClientStore
| typeof capellaSsz.LightClientStore
| typeof denebSsz.LightClientStore
| typeof electraSsz.LightClientOptimisticUpdate
>;
};

Expand Down

0 comments on commit 628c35a

Please sign in to comment.