Skip to content

Commit

Permalink
fmt fix
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed Jun 19, 2024
1 parent 27be7e9 commit 479d882
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { AztecAddress, KeyValidationRequest, computeOvskApp, derivePublicKeyFromSecretKey } from '@aztec/circuits.js';
import { EventSelector } from '@aztec/foundation/abi';
import { pedersenHash, randomBytes } from '@aztec/foundation/crypto';
import { pedersenHash } from '@aztec/foundation/crypto';
import { Fr, GrumpkinScalar } from '@aztec/foundation/fields';

import { EncryptedL2Log } from '../encrypted_l2_log.js';
Expand Down
14 changes: 12 additions & 2 deletions yarn-project/circuit-types/src/logs/l1_payload/l1_event_payload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,12 @@ export class L1EventPayload extends L1Payload {

this.ensureMatchedMaskedContractAddress(address, incomingBody.randomness, encryptedLog.maskedContractAddress);

return new L1EventPayload(incomingBody.event, address, incomingBody.randomness, EventSelector.fromField(incomingBody.eventTypeId));
return new L1EventPayload(
incomingBody.event,
address,
incomingBody.randomness,
EventSelector.fromField(incomingBody.eventTypeId),
);
}

/**
Expand Down Expand Up @@ -148,7 +153,12 @@ export class L1EventPayload extends L1Payload {

this.ensureMatchedMaskedContractAddress(address, incomingBody.randomness, encryptedLog.maskedContractAddress);

return new L1EventPayload(incomingBody.event, address, incomingBody.randomness, EventSelector.fromField(incomingBody.eventTypeId));
return new L1EventPayload(
incomingBody.event,
address,
incomingBody.randomness,
EventSelector.fromField(incomingBody.eventTypeId),
);
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { AztecAddress, KeyValidationRequest, computeOvskApp, derivePublicKeyFromSecretKey } from '@aztec/circuits.js';
import { EventSelector } from '@aztec/foundation/abi';
import { pedersenHash, randomBytes } from '@aztec/foundation/crypto';
import { pedersenHash } from '@aztec/foundation/crypto';
import { Fr, GrumpkinScalar } from '@aztec/foundation/fields';

import { EncryptedL2Log } from '../encrypted_l2_log.js';
Expand Down

0 comments on commit 479d882

Please sign in to comment.