chore(): route tests via proxy instead of github CI address

This commit is contained in:
tiagosiebler
2023-08-18 16:21:13 +01:00
parent 9bc1ff89c6
commit 21ac313f38
37 changed files with 581 additions and 415 deletions

View File

@@ -19,8 +19,9 @@ export const API_ERROR_CODE = {
INVALID_API_KEY_OR_PERMISSIONS: 10003,
SIGNATURE_NOT_VALID: 10004,
INCORRECT_API_KEY_PERMISSIONS: 10005,
/** API key requires specific whitelisted IPs, and this IP was not in the list */
INCORRECT_API_REQUEST_IP: 10010,
DB_ERROR_WRONG_CURSOR: 10016,
INCORRECT_PRIVATE_OPERATIONS: 3303001,
/** Account not unified margin, update required */
ACCOUNT_NOT_UNIFIED: 10020,
UNKNOWN_ERROR: 12000,
@@ -31,6 +32,7 @@ export const API_ERROR_CODE = {
QUERY_ACCOUNT_INFO_ERROR: 12602,
CROSS_MARGIN_USER_NOT_FOUND: 12607,
CROSS_MARGIN_REPAYMENT_NOT_REQUIRED: 12616,
CROSS_MARGIN_NOT_ENABLED: 12640,
ORDER_NOT_FOUND_OR_TOO_LATE: 20001,
POSITION_STATUS_NOT_NORMAL: 30013,
CANNOT_SET_TRADING_STOP_FOR_ZERO_POS: 30024,
@@ -89,6 +91,7 @@ export const API_ERROR_CODE = {
NO_ACTIVE_ORDER: 3100205,
/** E.g. USDC Options trading when the account hasn't been opened for USDC Options yet */
ACCOUNT_NOT_EXIST: 3200200,
INCORRECT_PRIVATE_OPERATIONS: 3303001,
SET_MARGIN_MODE_FAILED_USDC: 3400045,
INCORRECT_MMP_PARAMETERS: 3500712,
INSTITION_MMP_PROFILE_NOT_FOUND: 3500713,