Skip to content

Fix bonk oracle precision with subscription #126

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 1, 2025

Conversation

jordy25519
Copy link
Collaborator

@jordy25519 jordy25519 commented Mar 31, 2025

oraclemap is keyed by (pubkey, oracle source) to handle mixed precision between spot/perp markets (related drift-labs/protocol-v2#1346)

  • Add methods to exposed perp,sport, and oraclemaps on DriftClient

oraclemap is keyed by (pubkey, oracle source) to handle mixed precision between spot/perp markets
Add methods to exposed perp,sport, and oraclemaps on DriftClient
@jordy25519 jordy25519 merged commit 4849fbc into main Apr 1, 2025
1 check passed
@jordy25519 jordy25519 deleted the fix/mixed-oracle-precision branch April 1, 2025 00:42
jordy25519 added a commit that referenced this pull request Apr 3, 2025
* Fix bonk oracle precision with subscription
oraclemap is keyed by (pubkey, oracle source) to handle mixed precision between spot/perp markets
Add methods to exposed perp,sport, and oraclemaps on DriftClient

* blocksub test increase delay
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant