Pretty sure you are not maintaining this file anymore, but maybe you have an idea... is it linked to the recent SECRET update?
# python3 other/shade_swap.py --init
Fetching pairs...
Traceback (most recent call last):
File "/app/other/shade_swap.py", line 337, in <module>
data = init_data(client, config["amm_factory"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/other/shade_swap.py", line 199, in init_data
pairs = list(fetch_pairs(client, factory))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/other/shade_swap.py", line 117, in fetch_pairs
response = client.wasm.contract_query(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/secret_sdk/client/lcd/api/_base.py", line 28, in decorator
return instance._run_sync(async_call(instance, *args, **kwargs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/secret_sdk/client/lcd/api/_base.py", line 12, in _run_sync
return self._c.loop.run_until_complete(coroutine)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/nest_asyncio.py", line 98, in run_until_complete
return f.result()
^^^^^^^^^^
File "/usr/lib/python3.11/asyncio/futures.py", line 203, in result
raise self._exception.with_traceback(self._exception_tb)
File "/usr/lib/python3.11/asyncio/tasks.py", line 267, in __step
result = coro.send(None)
^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/secret_sdk/client/lcd/api/wasm.py", line 130, in contract_query
raise lcd_error
File "/usr/local/lib/python3.11/dist-packages/secret_sdk/client/lcd/api/wasm.py", line 119, in contract_query
query_result = await BaseAsyncAPI._try_await(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/secret_sdk/client/lcd/api/_base.py", line 18, in _try_await
return await aw
^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/secret_sdk/client/lcd/lcdclient.py", line 345, in _get
result = await super()._get(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/secret_sdk/client/lcd/lcdclient.py", line 173, in _get
raise LCDResponseError(message=str(result), response=response)
secret_sdk.exceptions.LCDResponseError: Status 500 - {'code': 2, 'message': 'codespace compute code 4: query contract failed: Execution error: Enclave: failed to decrypt data', 'details': []}
Hi there,
Pretty sure you are not maintaining this file anymore, but maybe you have an idea... is it linked to the recent SECRET update?
Thank you very much !