Skip to content

Commit 1af8614

Browse files
ali-behjatiReisen
andauthored
[hermes] Add basic structure for price store and rpc (#717)
Co-authored-by: Reisen <[email protected]>
1 parent 38a8c28 commit 1af8614

File tree

14 files changed

+786
-88
lines changed

14 files changed

+786
-88
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ repos:
5858
entry: cargo +nightly clippy --manifest-path ./target_chains/cosmwasm/Cargo.toml --tests --fix --allow-dirty --allow-staged -- -D warnings
5959
pass_filenames: false
6060
files: target_chains/cosmwasm
61-
# Hooks for price-service/server-rust
62-
- id: cargo-fmt-price-service
63-
name: Cargo format for Rust Price Service
61+
# Hooks for Hermes
62+
- id: cargo-fmt-hermes
63+
name: Cargo format for Pyth Hermes
6464
language: "rust"
65-
entry: cargo +nightly fmt --manifest-path ./price_service/server-rust/Cargo.toml --all -- --config-path rustfmt.toml
65+
entry: cargo +nightly fmt --manifest-path ./hermes/Cargo.toml --all -- --config-path rustfmt.toml
6666
pass_filenames: false
67-
files: price_service/server-rust
67+
files: hermes
6868
# Hooks for accumulator updater contract
6969
- id: cargo-fmt-accumulator-updater
7070
name: Cargo format for accumulator updater contract

hermes/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,6 @@
55
src/network/p2p.pb.go
66
src/network/p2p.proto
77
tools/
8+
9+
# Ignore Wormhole cloned repo
10+
wormhole/

0 commit comments

Comments
 (0)