Skip to content

Commit

Permalink
fix type issues
Browse files Browse the repository at this point in the history
  • Loading branch information
g11tech committed Feb 10, 2024
1 parent 0b73e12 commit 805abf0
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions packages/types/src/allForks/types.ts
Original file line number Diff line number Diff line change
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 805abf0

Please sign in to comment.