Skip to content

Commit

Permalink
Remove bigint exponentiation
Browse files Browse the repository at this point in the history
  • Loading branch information
Hjort committed Sep 8, 2023
1 parent 9488e2c commit 33b004b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/common/src/web3Proofs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ import {
} from './web3IdHelpers';

export const MAX_STRING_BYTE_LENGTH = 31;
export const MAX_U64 = 2n ** 64n - 1n;
export const MAX_U64 = 18446744073709551615n // 2n ** 64n - 1n
export const MIN_DATE_ISO = '-262144-01-01T00:00:00Z';
export const MAX_DATE_ISO = '+262143-12-31T23:59:59.999999999Z';
export const MIN_DATE_TIMESTAMP = Date.parse(MIN_DATE_ISO);
Expand Down

0 comments on commit 33b004b

Please sign in to comment.