From 552eb93f7c589eb7e2f71aca384c98b53d8a3d6f Mon Sep 17 00:00:00 2001 From: jeanmon Date: Thu, 5 Dec 2024 17:22:27 +0000 Subject: [PATCH] 9396: fix avm simulator test (remove test related to function selector) --- yarn-project/simulator/src/avm/avm_simulator.test.ts | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/yarn-project/simulator/src/avm/avm_simulator.test.ts b/yarn-project/simulator/src/avm/avm_simulator.test.ts index 72889ea63c1..4c9cb102703 100644 --- a/yarn-project/simulator/src/avm/avm_simulator.test.ts +++ b/yarn-project/simulator/src/avm/avm_simulator.test.ts @@ -234,18 +234,6 @@ describe('AVM simulator: transpiled Noir contracts', () => { expect(results.output).toEqual([computeVarArgsHash(calldata)]); }); - it('functionSelector getter via dispatch', async () => { - const selector = FunctionSelector.fromSignature('get_function_selector()').toField(); - const dispatchCalldata = [selector]; - - const context = initContext({ env: initExecutionEnvironment({ calldata: dispatchCalldata }) }); - const bytecode = getAvmTestContractBytecode('public_dispatch'); - const results = await new AvmSimulator(context).executeBytecode(bytecode); - - expect(results.reverted).toBe(false); - expect(results.output).toEqual([selector]); - }); - it('modulo and u1', async () => { const calldata: Fr[] = [new Fr(2)]; const context = initContext({ env: initExecutionEnvironment({ calldata }) });