Skip to content

Commit

Permalink
fix: use bigint to calculate max builder boost factor (ChainSafe#6275)
Browse files Browse the repository at this point in the history
  • Loading branch information
nflaig authored and ensi321 committed Jan 22, 2024
1 parent 06227b9 commit bea0659
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 @@ -132,7 +132,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 bea0659

Please sign in to comment.