From bea0659e834f7c85f92ecf506436744aa5cfad31 Mon Sep 17 00:00:00 2001 From: Nico Flaig Date: Wed, 10 Jan 2024 15:51:02 +0100 Subject: [PATCH] fix: use bigint to calculate max builder boost factor (#6275) --- packages/validator/src/services/validatorStore.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/validator/src/services/validatorStore.ts b/packages/validator/src/services/validatorStore.ts index f8f29f8092f2..03811062c2ad 100644 --- a/packages/validator/src/services/validatorStore.ts +++ b/packages/validator/src/services/validatorStore.ts @@ -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.