Polkadex-Substrate / Polkadex-Open-Beta

12 stars 3 forks source link

Orders fail to be placed #570

Open mt-gareth opened 11 months ago

mt-gareth commented 11 months ago

By raising this issue, I agree to the terms and conditions presented by Polkadex here:Terms and Conditions

Description

The orderbook is no longer allowing orders to be placed, every attempt is returning "Error: Runtime exited with error: exit status 1" full responce is below. { "data": { "place_order": null }, "errors": [ { "path": [ "place_order" ], "data": null, "errorType": "Lambda:Unhandled", "errorInfo": null, "locations": [ { "line": 2, "column": 3, "sourceName": null } ], "message": "RequestId: 1fa16347-c064-4d72-a32e-03e5c2ba6760 Error: Runtime exited with error: exit status 1" } ] }

Here was the request:

{ "query": "mutation Place_order($input: UserActionInput!) {\n place_order(input: $input)\n}\n", "variables": { "input": { "payload": "{\"PlaceOrder\":[{\"client_order_id\":\"0x7765626170702d0000804395af337a5ecc0a83a77b433af88a565f7aacbb0cf0\",\"user\":\"esn3LTeTWrrqobmNw8quAwQ6YjViqqLKbsyHu1Bx3FZdw9MwK\",\"main_account\":\"esrCussMhQXzcYQfHkrRFYwfUJq6bfQ4yDg6vbnF2KtpSAqRu\",\"pair\":\"95930534000017180603917534864279132680-3496813586714279103986568049643838918\",\"side\":\"Ask\",\"order_type\":\"LIMIT\",\"quote_order_quantity\":\"0\",\"qty\":\"1\",\"price\":\"4.49\",\"timestamp\":1692646933353},{\"Sr25519\":\"60bfb1c451f69820da7c2dc06ea2a388a96ba0f2f3efa6af466c4915241c5633671c85c9aed6b06df9dc06f97f4fc92765b4ba3c0fed3044787dd66b0fc20989\"}]}" } } }

onchainaddress:{esrCussMhQXzcYQfHkrRFYwfUJq6bfQ4yDg6vbnF2KtpSAqRu}