Skip to content

Commit

Permalink
fix: use bigint to calculate max builder boost factor
Browse files Browse the repository at this point in the history
  • Loading branch information
nflaig committed Jan 9, 2024
1 parent e51f495 commit d22e8ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/validator/src/services/validatorStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export const defaultOptions = {
blindedLocal: false,
};

export const MAX_BUILDER_BOOST_FACTOR = BigInt(2 ** 64 - 1);
export const MAX_BUILDER_BOOST_FACTOR = 2n ** 64n - 1n;

/**
* Service that sets up and handles validator attester duties.
Expand Down

0 comments on commit d22e8ff

Please sign in to comment.