Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Santiago Palladino <[email protected]>
  • Loading branch information
alexghr and spalladino authored Jun 25, 2024
1 parent 4ab2d41 commit 7549e42
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion yarn-project/bb-prover/src/prover/bb_prover.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export class BBNativeRollupProver implements ServerCircuitProver {
* @param inputs - Inputs to the circuit.
* @returns The public inputs of the parity circuit.
*/
@trackSpan('BBNativeRollupProver.getBaseParityProof', { [Attributes.PROTOCOL_CIRCUIT_NAME]: 'root-parity' })
@trackSpan('BBNativeRollupProver.getRootParityProof', { [Attributes.PROTOCOL_CIRCUIT_NAME]: 'root-parity' })
public async getRootParityProof(
inputs: RootParityInputs,
): Promise<RootParityInput<typeof NESTED_RECURSIVE_PROOF_LENGTH>> {
Expand Down
1 change: 0 additions & 1 deletion yarn-project/sequencer-client/src/sequencer/sequencer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,6 @@ export class Sequencer {

const numRealTxs = validTxs.length;
const pow2 = Math.log2(numRealTxs);
// TODO turn this back into a Math.ceil once we can pad blocks to the next-power-of-2 with empty txs
const totalTxs = 2 ** Math.ceil(pow2);
const blockSize = Math.max(2, totalTxs);

Expand Down

0 comments on commit 7549e42

Please sign in to comment.