drift-labs / gateway

Self hosted API gateway to easily interact with Drift V2 Protocol
Apache License 2.0
22 stars 12 forks source link

Feature Request: Add `skip_preflight` Config Option #58

Closed utgarda closed 5 months ago

utgarda commented 5 months ago

Description

Add a configuration option to set skip_preflight: true in RpcSendTransactionConfig, preferably via a command line argument.

Motivation

Alchemy support recommended setting skip_preflight: true for more reliable transaction landing.

"Set skipPreflight: true: This one is kind of important for right now. Currently, our infrastructure does not support simulations or retries. To overcome this, we recommend setting skipPreflight: true."

I am ready to implement this feature.

Thank you!