From db1ca36f4739a8f706579d5011f3bc77c8ade071 Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Tue, 23 Jan 2024 17:38:30 +0000 Subject: [PATCH] fix: fmt --- yarn-project/acir-simulator/src/avm/opcodes/bitwise.test.ts | 2 +- .../acir-simulator/src/avm/opcodes/instruction_set.ts | 4 ++-- yarn-project/acir-simulator/src/avm/opcodes/memory.test.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/yarn-project/acir-simulator/src/avm/opcodes/bitwise.test.ts b/yarn-project/acir-simulator/src/avm/opcodes/bitwise.test.ts index 5f605b31e55..9bfd0fae41d 100644 --- a/yarn-project/acir-simulator/src/avm/opcodes/bitwise.test.ts +++ b/yarn-project/acir-simulator/src/avm/opcodes/bitwise.test.ts @@ -4,6 +4,7 @@ import { mock } from 'jest-mock-extended'; import { AvmMachineState } from '../avm_machine_state.js'; import { AvmStateManager } from '../avm_state_manager.js'; +import { initExecutionEnvironment } from '../fixtures/index.js'; import { And, /*Not,*/ @@ -12,7 +13,6 @@ import { Shr, Xor, } from './bitwise.js'; -import { initExecutionEnvironment } from '../fixtures/index.js'; describe('Bitwise instructions', () => { let machineState: AvmMachineState; diff --git a/yarn-project/acir-simulator/src/avm/opcodes/instruction_set.ts b/yarn-project/acir-simulator/src/avm/opcodes/instruction_set.ts index 493be13507f..3413673f7e6 100644 --- a/yarn-project/acir-simulator/src/avm/opcodes/instruction_set.ts +++ b/yarn-project/acir-simulator/src/avm/opcodes/instruction_set.ts @@ -1,11 +1,11 @@ import { Add, Div, Mul, Sub } from './arithmetic.js'; import { And, Not, Or, Shl, Shr, Xor } from './bitwise.js'; -//import { Eq, Lt, Lte } from './comparators.js'; -import {SLoad, SStore} from './storage.js'; import { InternalCall, InternalReturn, Jump, JumpI, Return } from './control_flow.js'; import { Instruction } from './instruction.js'; import { CMov, CalldataCopy, Cast, Mov, Set } from './memory.js'; import { Opcode } from './opcodes.js'; +//import { Eq, Lt, Lte } from './comparators.js'; +import { SLoad, SStore } from './storage.js'; /** - */ type InstructionConstructor = new (...args: any[]) => Instruction; diff --git a/yarn-project/acir-simulator/src/avm/opcodes/memory.test.ts b/yarn-project/acir-simulator/src/avm/opcodes/memory.test.ts index e47ea45d818..6cad7472548 100644 --- a/yarn-project/acir-simulator/src/avm/opcodes/memory.test.ts +++ b/yarn-project/acir-simulator/src/avm/opcodes/memory.test.ts @@ -4,8 +4,8 @@ import { mock } from 'jest-mock-extended'; import { AvmMachineState } from '../avm_machine_state.js'; import { AvmStateManager } from '../avm_state_manager.js'; -import { CMov, CalldataCopy, Cast, Mov, Set } from './memory.js'; import { initExecutionEnvironment } from '../fixtures/index.js'; +import { CMov, CalldataCopy, Cast, Mov, Set } from './memory.js'; describe('Memory instructions', () => { let machineState: AvmMachineState;