Skip to content

Commit

Permalink
Update the state benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
nazarhussain committed Jan 20, 2025
1 parent 7763826 commit bcdad5f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ describe("find modified validators by different ways", () => {
for (const validatorIndex of expectedModifiedValidators) {
clonedState.validators.get(validatorIndex).pubkey = Buffer.alloc(48, 0);
}
clonedState.commit();
const validatorsBytes = Uint8Array.from(stateBytes.subarray(validatorsRange.start, validatorsRange.end));
const validatorsBytes2 = clonedState.validators.serialize();
const modifiedValidators: number[] = [];
Expand Down

0 comments on commit bcdad5f

Please sign in to comment.