Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
dbanks12 committed Oct 23, 2024
1 parent 08f7559 commit 99ec051
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
6 changes: 1 addition & 5 deletions yarn-project/simulator/src/avm/opcodes/hashing.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
6 changes: 1 addition & 5 deletions yarn-project/simulator/src/avm/opcodes/hashing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit 99ec051

Please sign in to comment.