Skip to content

Commit 7549e42

Browse files
alexghrspalladino
andauthored
Apply suggestions from code review
Co-authored-by: Santiago Palladino <santiago@aztecprotocol.com>
1 parent 4ab2d41 commit 7549e42

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

yarn-project/bb-prover/src/prover/bb_prover.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export class BBNativeRollupProver implements ServerCircuitProver {
153153
* @param inputs - Inputs to the circuit.
154154
* @returns The public inputs of the parity circuit.
155155
*/
156-
@trackSpan('BBNativeRollupProver.getBaseParityProof', { [Attributes.PROTOCOL_CIRCUIT_NAME]: 'root-parity' })
156+
@trackSpan('BBNativeRollupProver.getRootParityProof', { [Attributes.PROTOCOL_CIRCUIT_NAME]: 'root-parity' })
157157
public async getRootParityProof(
158158
inputs: RootParityInputs,
159159
): Promise<RootParityInput<typeof NESTED_RECURSIVE_PROOF_LENGTH>> {

yarn-project/sequencer-client/src/sequencer/sequencer.ts

-1
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,6 @@ export class Sequencer {
261261

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

0 commit comments

Comments
 (0)