-
Notifications
You must be signed in to change notification settings - Fork 40
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
feat: add support for maxLatency #76
Conversation
@@ -285,10 +286,12 @@ export const parsePriceData = (data: Buffer, currentSlot?: number): PriceData => | |||
const timestamp = readBigInt64LE(data, 96) | |||
// minimum number of publishers for status to be TRADING | |||
const minPublishers = data.readUInt8(104) | |||
// message sent flag | |||
const messageSent = data.readUInt8(105) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
drive-by: previously added to the oracle program but js client wasn't updated
export { pythIdl, pythOracleCoder, pythOracleProgram } from './anchor' | ||
export { PythCluster, getPythClusterApiUrl, getPythProgramKeyForCluster } from './cluster' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
drive-by: format
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good, you will also need to update the idl to support the new instruction SetMaxLatency, so maybe worth doing that before making a release
@@ -1,6 +1,6 @@ | |||
{ | |||
"name": "@pythnetwork/client", | |||
"version": "2.19.0", | |||
"version": "2.20.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please update the lockfile as well.
No description provided.