Creating a stop order on a spot market for more than what your account can cover, makes the Toast show up as green and the explorer as a success, but you cannot perform that order and it fails so console trades shows as internal error.
Steps to Reproduce
Go to spot market and put a stop limit order with a value of more assets than you have (and make it trigger directly)
Check toast and explorer link
REVISED DESCRIPTION
After some changes made in another ticket the behaviour here is now a bit different.
It is now the case that
The user gets a warning they dont have enough cash
Description
Creating a stop order on a spot market for more than what your account can cover, makes the Toast show up as green and the explorer as a success, but you cannot perform that order and it fails so console trades shows as internal error.
Steps to Reproduce
REVISED DESCRIPTION
After some changes made in another ticket the behaviour here is now a bit different.
It is now the case that
Expected behavior
Behaviour is now pretty good... BUT we should:
Screenshots
https://github.com/vegaprotocol/frontend-monorepo/assets/100769129/57793257-ce22-47b8-b75b-a8e0398b8b10