Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
nazarhussain committed Jan 20, 2025
1 parent a4446b9 commit 8affe84
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,16 @@ describe("find modified validators by different ways", () => {
: expectedModifiedValidators.length + " modified validators";

// TODO: Diagnose why this benchmark failing after upgrade
// https://github.com/ChainSafe/lodestar/issues/7380
// https://github.com/ChainSafe/lodestar/issues/7380
bench.skip({
id: `${prefix} - ${testCaseName}`,
beforeEach: () => {
beforeEach: () => {
const clonedState = state.clone();
for (const validatorIndex of expectedModifiedValidators) {
clonedState.validators.get(validatorIndex).pubkey = Buffer.alloc(48, 0);
}
clonedState.commit();
return clonedState
clonedState.commit();
return clonedState;
},
fn: (clonedState) => {
const validatorsBytes = Uint8Array.from(stateBytes.subarray(validatorsRange.start, validatorsRange.end));
Expand Down

0 comments on commit 8affe84

Please sign in to comment.