• © Goverland Inc. 2026
  • v1.0.8
  • Privacy Policy
  • Terms of Use
Pull Request ProposalsPull Request Proposalsby0x4ff30B9BC8443415dD7A9a2AC4c5Ab1f185FB3FB0x4ff3…B3FB

#6124 (fix) Adds an order hash manager reset on Gateway place order failure

Voting ended about 3 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

For
268.91K HBOT100%
Against
0 HBOT0%
Abstain
0 HBOT0%
Quorum:548%
Download mobile app to vote

Timeline

Mar 02, 2023Proposal created
Mar 02, 2023Proposal vote started
Mar 09, 2023Proposal vote ended
Oct 26, 2023Proposal updated