-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid Price Cache #164
Comments
User: clevelandasd#5827 |
INTERESTING: This account is getting many orders through, even though almost all other users are unable to do any actions at TOW.(withdraw/deposit/place orders/ etc.) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem statement:
As a trader on the mangos DEX I need to be able to place orders into the book timely so that I can protect my capital and earn profits to pay the DEX and increase revenue for mango holders.
Impact
This issue is making it borderline impossible to place orders or perform other actions on mangos v3. Even when Solana network is hovering above 1700TPS. Other Dapps/smart contracts on Solana are functioning flawlessly at these speeds.
Anecdotally: I have tried over 200 times to write a SOL-PERP order ( of type Stop Loss ) while Solana is hovering above 1700 TPS (4/3/22 4-5AM MST) and haven't gotten a single order through in the last hour. TOW there are multiple people complaining about the issue in the discord. It is becoming a common theme which may be costing mangos holders.
Dev considerations
Research into why pyth/Switchboard are having such an issue inserting price data into blocks.
Research an estimated Solana Txn/s speed above which it will be safe to use Mangos.
I suggest implementing a warning or some sort of user facing message stating orders have a very high likelihood of failing to confirm below XXXXTPS. This will ensure users are educated about the REAL risk they may be taking on, at least until the research items (1 & 2 ) can be completed.
From: IwillNotSaveYou On what the issue may be.
The bottom line is there's probably some asset whose oracle is bad (i'm not sure which one), and if you hold that asset in your account it effectively siezes the whole account.
Acceptance Criteria:
The issue in item 1 is fully understood and the partners pyth/switchboard are aware and incentivized to work with mango on a resolution.
Users should be able to reliably place and remove orders, deposit and withdraw assets on mangos.v3 when Solana TPS are above the TPS researched in item 2.
The text was updated successfully, but these errors were encountered: