by
0x4ff3…B3FB
#6124 (fix) Adds an order hash manager reset on Gateway place order failure
Voting ended over 2 years agoSucceeded
This PR introduces a quick bug fix to the Injective connector in the client. The bug can be observed when a call to Gateway to submit an order fails by throwing an exception. This failure will not be caught by the injective API data source class and the order hash manager nonce will not be updated. This, in turn, can cause subsequent orders to be submitted with erroneous locally computed order hashes, in turn causing orphaned orders on the injective exchange.
The PR adds a try-catch clause around the Gateway order submission, that resets the order hash manager if an exception is thrown by Gateway.
Link to the PR: https://github.com/hummingbot/hummingbot/pull/6124
Off-Chain Vote
Loading…
- Author
0x4ff3…B3FB
- IPFS#bafkreig
- Voting Systembasic
- Start DateMar 02, 2023
- End DateMar 09, 2023
- Total Votes Cast268.91K HBOT
- Total Voters3
Timeline
- Mar 02, 2023Proposal created
- Mar 02, 2023Proposal vote started
- Mar 09, 2023Proposal vote ended
- Oct 26, 2023Proposal updated