def METHOD_NAME():
    cwd = os.getcwd()
    name = cwd.split('/')[-1]
    altered_wasms = get_altered_wasms()
    for d in os.listdir():
        if not d.isdigit():
            continue
        wasm_file = f'{name}.{d}.wasm'
        if wasm_file in altered_wasms:
            wasm_file_path = os.path.join(ALTERED_WASMS_DIR, name, wasm_file)
        else:
            g_wasm_file = os.path.join(d, f'{name}.{d}-int.wasm')
            t_wasm_file = os.path.join(d, 'test.wasm')
            o_wast_file = os.path.join(d, f'{name}.{d}.wast')
            map_file = os.path.join(d, f'{name}.{d}.wasm.map')
            try:
                generate_eosio_tests.main(g_wasm_file, t_wasm_file, o_wast_file, map_file)
                wasm_file_path = os.path.join(d, wasm_file)
                out = subprocess.run(
                    ['eosio-wast2wasm', o_wast_file, '-o', os.path.join(d, wasm_file)],
                    capture_output=True
                )
                if out.returncode > 0:
                    n = (' '.join(map_file.split('.')[0:2])).split('/')[1]
                    raise CompileError(f'Error converting {n} to wasm')
            except CompileError as e:
                test_failures.append(str(e))
                continue
        shutil.copy(wasm_file_path, os.path.join(TEST_DIR, 'wasms', wasm_file))