Skip to content

Commit

Permalink
revert deposit amount to uintnum64 as unlikely to get a high amount
Browse files Browse the repository at this point in the history
  • Loading branch information
g11tech committed Sep 14, 2024
1 parent 3669d75 commit fe6f0c9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/types/src/electra/sszTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ export const DepositRequest = new ContainerType(
{
pubkey: BLSPubkey,
withdrawalCredentials: Bytes32,
amount: Gwei,
// this is actually gwei uintbn64 type, but super unlikely to get a high amount here
// to warrant a bn type
amount: UintNum64,
signature: BLSSignature,
index: DepositIndex,
},
Expand Down

0 comments on commit fe6f0c9

Please sign in to comment.