Skip to content

Releases: drift-labs/gateway

v1.3.4 (program v2.110.0)

20 Feb 04:11
c3ed139

Choose a tag to compare

Update to this release for latest drift program v2.110.0 compatibility

Fix:

  • fixes market deserialization error (#110)

Change:

  • --verbose is now more verbose, logging more network subscriptions/activity

v1.3.3

13 Feb 06:30

Choose a tag to compare

Fix

  • Fixes issue where subscribing to events over gateway Ws would cause issues on disconnect (#107)

v1.3.2

05 Feb 10:43
45ce188

Choose a tag to compare

compatible with program v2.108.0

Fixes

  • multiple cases where Ws connections could silently fail. previously users had to restart the gateway to fix this, it is now handled automatically and the process will exit if reconnection fails successively.

v1.2.5

21 Jan 00:14

Choose a tag to compare

Fixes

  • fixes issue trading newer market indexes

v1.2.4

20 Jan 12:48
bc209fd

Choose a tag to compare

Updated to support program v2.105.0

v1.2.3

11 Dec 04:22

Choose a tag to compare

Fixes

  • Failed txs return error code from txEvents endpoint #96

Changes

  • Updated to support program version 2.103.0

v1.2.2

06 Dec 17:35
5aa8c6a

Choose a tag to compare

Fixes

  • Make --extra-rpcs non-optional (again)
  • handle margin calculations for accounts in high-leverage mode

v1.2.1

22 Nov 15:38

Choose a tag to compare

Fixes:

  • fix issue where --extra-rpcs was non-optional

v1.2.0

11 Nov 05:34

Choose a tag to compare

Changes

  • endpoints which send txs now accept a ?ttl=<SECONDS> parameter to control how long gateway will rebroadcast a tx until it is either confirmed or timed out (see #88) by default this is 4s/~10 slots

  • New flag --extra-rpcs used to allow gateway to broadcast txs via multiple RPC providers simultaneously. This can help to improve a txs chance of confirmation (#67)

v1.1.1

24 Oct 04:38
32b31af

Choose a tag to compare

Fixes

  • allow gateway to fallback to network queries when a market/oracle subscriptions does not exist ("it just works")
  • users can debug slow queries with --verbose
    e.g. in the following output the query is making network fetch for perp market 24.
[2024-10-24T03:47:58Z INFO  gateway] 127.0.0.1 | 200 | GET /v2/positionInfo/24 HTTP/1.1 | (546.571000ms)
[2024-10-24T03:48:01Z DEBUG rpc] fetch market: perp/24
[2024-10-24T03:48:01Z DEBUG rpc] fetch oracle account: perp/24

starting gateway with --markets jup-perp (i.e perp/24) would improve performance