Skip to content

Releases: drift-labs/gateway

v1.1.0

23 Oct 03:49
577f709

Choose a tag to compare

This release greatly reduces the number of network connections made by gateway.

Users can provide the new flag --markets sol-perp,sol,wbtc on startup to indicate which markets will be traded.
Gateway will use these flags and any open positions to determine appropriate network subscriptions.

Changes

  • Gateway makes minimal network subscriptions by default. Alleviates the issue with user's facing 429s / rate limits (#86 )
  • INIT_RPC_THROTTLE env can be set to some int (in seconds) to control request rate during gateway start phase

v1.0.4

04 Oct 02:57

Choose a tag to compare

Changes

  • adds a priority fee subscriber, before it was on-demand. should reduce latency for tx sending endpoints
  • Built from drift-rs 1.0 release
    • anchor-lang version unpinned
    • solana-client crates updated to v2.x.x versions

Fixes

  • Allows support for more RPC providers e.g. helius non-dedicated plans, quicknode (#52). less reliance on getProgramAccounts

Other

  • Gateway can be built with any rust stable version. no more requirement for <= 1.76.0
    however, requirement for x86_64 arch/toolchain remains

v1.0.3

23 Sep 03:28
9980077

Choose a tag to compare

Fix:

  • empty USDC spot position causing issue for margin calc (fix: #75)

v1.0.2

19 Sep 04:05
0c5ad06

Choose a tag to compare

Replace RPC queries with Ws backed datastructures (#74)

  • Noticeable improvement speed to most endpoints
  • Reduces load on RPC servers (may see less 429s)

v1.0.1

21 Aug 02:58
14c8e20

Choose a tag to compare

QoL updates for event subscription

  • allow more backpressure
  • fix issue where events with empty tx signatures were returned

v1.0.0

16 Aug 01:41

Choose a tag to compare

Fixes:

  • Fix event Ws reconnection issues
  • Issue where sent txs with 'block hash not found' error could be retried and succeed (now retry is disabled after initial error)

Removes:

v0.1.20

13 Aug 19:36

Choose a tag to compare

Full Changelog: v0.1.19...v0.1.20

v0.1.19

16 Jul 03:51

Choose a tag to compare

supports drift program v2.85.1

hotfix for oracle issues seen in 0.18.0

⚠️ update to this version for best compatibility

v0.1.17

13 Jun 19:10
48a79b2

Choose a tag to compare

full diff

What's Changed

New Contributors

v0.1.16

05 Apr 05:40
222b3f5

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.1.15...v0.1.16