-
Notifications
You must be signed in to change notification settings - Fork 213
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
Hermes: Add prv publish time metadata #1061
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ |
@@ -18,9 +18,8 @@ const argvPromise = yargs(hideBin(process.argv)) | |||
type: "array", | |||
demandOption: true, | |||
}) | |||
.option("price-service", { |
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.
this is a minor change to move to hermes
@@ -333,7 +334,7 @@ where | |||
.iter() | |||
.map(|message_state| match message_state.message { | |||
Message::PriceFeedMessage(price_feed) => Ok(PriceFeedUpdate { | |||
price_feed: PriceFeed::new( | |||
price_feed: PriceFeed::new( |
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.
the extra spacing seems weird but seems like it passes pre-commit 🤔
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.
yeah it is the rust formatter config that we have :D
pub slot: Option<Slot>, | ||
pub received_at: Option<UnixTimestamp>, | ||
pub update_data: Option<Vec<u8>>, | ||
pub prev_publish_time: Option<UnixTimestamp>, |
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.
I realise we can't change it at this point but It's a shame this isn't last_publish_time
like other last_
fields we have in our codebases.
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.
i think here prev
is more clear than last
.
@@ -1,6 +1,6 @@ | |||
{ | |||
"name": "@pythnetwork/price-service-client", | |||
"version": "1.7.0", | |||
"version": "1.8.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.
👌 on the respecting semver
No description provided.