From 99ec051690581c6e82c130526608672b54e4c5d5 Mon Sep 17 00:00:00 2001 From: dbanks12 Date: Wed, 23 Oct 2024 21:35:15 +0000 Subject: [PATCH] fmt --- yarn-project/simulator/src/avm/opcodes/hashing.test.ts | 6 +----- yarn-project/simulator/src/avm/opcodes/hashing.ts | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/yarn-project/simulator/src/avm/opcodes/hashing.test.ts b/yarn-project/simulator/src/avm/opcodes/hashing.test.ts index 4212a474a98..ca89cbee50f 100644 --- a/yarn-project/simulator/src/avm/opcodes/hashing.test.ts +++ b/yarn-project/simulator/src/avm/opcodes/hashing.test.ts @@ -75,11 +75,7 @@ describe('Hashing Opcodes', () => { ...Buffer.from('1234', 'hex'), // dstOffset ...Buffer.from('2345', 'hex'), // inputOffset ]); - const inst = new KeccakF1600( - /*indirect=*/ 1, - /*dstOffset=*/ 0x1234, - /*inputOffset=*/ 0x2345, - ); + const inst = new KeccakF1600(/*indirect=*/ 1, /*dstOffset=*/ 0x1234, /*inputOffset=*/ 0x2345); expect(KeccakF1600.deserialize(buf)).toEqual(inst); expect(inst.serialize()).toEqual(buf); diff --git a/yarn-project/simulator/src/avm/opcodes/hashing.ts b/yarn-project/simulator/src/avm/opcodes/hashing.ts index 036d9d01e27..84344e1f10e 100644 --- a/yarn-project/simulator/src/avm/opcodes/hashing.ts +++ b/yarn-project/simulator/src/avm/opcodes/hashing.ts @@ -56,11 +56,7 @@ export class KeccakF1600 extends Instruction { OperandType.UINT16, ]; - constructor( - private indirect: number, - private dstOffset: number, - private inputOffset: number, - ) { + constructor(private indirect: number, private dstOffset: number, private inputOffset: number) { super(); }