Credentials - Unable to add dydx_v4_perpetual
Describe the bug
When testing a PR that fix hummingbot lib and built a hummingbot library then use the ./dist/..whl path file to backend-api's environment.yml. Modified and add v4-proto==6.0.2 and run make install which successfully build backend-env image
Backend-api:
However when adding dydx_v4_perpetual API keys to dashboard getting bad request
INFO: 127.0.0.1:62831 - "GET /list-accounts HTTP/1.1" 200 OK
INFO: 127.0.0.1:62832 - "GET /list-credentials/master_account HTTP/1.1" 200 OK
INFO: 127.0.0.1:62833 - "GET /list-credentials/master_account HTTP/1.1" 200 OK
INFO: 127.0.0.1:62835 - "GET /is-docker-running HTTP/1.1" 200 OK
INFO: 127.0.0.1:62836 - "GET /list-accounts HTTP/1.1" 200 OK
INFO: 127.0.0.1:62837 - "GET /list-credentials/master_account HTTP/1.1" 200 OK
INFO: 127.0.0.1:62838 - "GET /list-credentials/master_account HTTP/1.1" 200 OK
/Users/rapcomia/miniconda3/envs/backend-api/lib/python3.10/site-packages/google/protobuf/runtime_version.py:112: UserWarning: Protobuf gencode version 5.27.2 is older than the runtime version 5.28.0 at cosmos/auth/v1beta1/auth.proto. Please avoid checked-in Protobuf gencode that can be obsolete.
warnings.warn(
/Users/rapcomia/miniconda3/envs/backend-api/lib/python3.10/site-packages/google/protobuf/runtime_version.py:112: UserWarning: Protobuf gencode version 5.27.2 is older than the runtime version 5.28.0 at amino/amino.proto. Please avoid checked-in Protobuf gencode that can be obsolete.
warnings.warn(
INFO: 127.0.0.1:62839 - "POST /add-connector-keys/master_account/dydx_v4_perpetual HTTP/1.1" 400 Bad Request
Steps to reproduce bug
- Build .whl from latest development hummingbot branch
- Use the path and modify backend-api env file then run
make install - Go to dashboard and add API keys of
dydx_v4_perpetual
Found out that setup.py had a dependecy of injective-py therefore we commented it then add v4_proto and bip_utils to backend-api environment.yml
Successfully added the connector from dashboard:
Note: Current hummingbot lib is not updated causing dydx_v4_perpetual not usable on dashboard. User must build the .whl locally
Deploy helper script sh setup_dydx.sh available for dydx v4 perpetual on docker only.