Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion hermes/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion hermes/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "hermes"
version = "0.4.5"
version = "0.5.0"
description = "Hermes is an agent that provides Verified Prices from the Pythnet Pyth Oracle."
edition = "2021"

Expand Down
7 changes: 5 additions & 2 deletions hermes/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,15 @@ fn main() {
// directory as a mini-repo with wormhole and googleapis as remotes, so we can copy out the
// TREEISH paths we want.
let protobuf_setup = r#"
set -euo pipefail
git init .
git clean -df
git remote add wormhole https://github.com/wormhole-foundation/wormhole.git
git remote add googleapis https://github.com/googleapis/googleapis.git
git remote add wormhole https://github.com/wormhole-foundation/wormhole.git || true
git remote add googleapis https://github.com/googleapis/googleapis.git || true
git fetch --depth=1 wormhole main
git fetch --depth=1 googleapis master
git reset
rm -rf proto/
git read-tree --prefix=proto/ -u wormhole/main:proto
git read-tree --prefix=proto/google/api/ -u googleapis/master:google/api
"#;
Expand Down
1 change: 1 addition & 0 deletions hermes/src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ pub async fn run(opts: RunOptions, state: ApiState) -> Result<()> {
rest::latest_vaas,
rest::price_feed_ids,
rest::latest_price_updates,
rest::timestamp_price_updates,
),
components(
schemas(
Expand Down
134 changes: 0 additions & 134 deletions hermes/src/api/benchmarks.rs

This file was deleted.