Skip to content

Commit eec10a7

Browse files
authored
chore: fix nits (#1350)
1 parent 7b01f2a commit eec10a7

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

SECURITY.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ Pyth operates a self hosted [bug bounty program](https://pyth.network/bounty) to
66

77
- **Scopes**
88
- [Pyth Oracle](https://github.com/pyth-network/pyth-client/tree/main/program)
9-
- [Pyth Crosschain Ethereum](https://github.com/pyth-network/pyth-crosschain/tree/main/target_chains/ethereum/contracts/contracts/pyth)
10-
- [Pyth Crosschain Aptos](https://github.com/pyth-network/pyth-crosschain/tree/main/target_chains/aptos/contracts)
11-
- [Pyth Crosschain Sui](https://github.com/pyth-network/pyth-crosschain/tree/main/target_chains/sui/contracts)
9+
- [Pyth Crosschain Ethereum](/target_chains/ethereum/contracts/contracts/pyth)
10+
- [Pyth Crosschain Aptos](/target_chains/aptos/contracts)
11+
- [Pyth Crosschain Sui](/target_chains/sui/contracts)
1212
- [Pyth Governance](https://github.com/pyth-network/governance/tree/master/staking/programs/staking)
1313
- **Rewards**
1414
- Critical: Up to $500,000

hermes/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Price Service, offering these updates through a user-friendly web API. The
66
service facilitates easy querying for recent price updates via a REST API, as
77
well as provides the option to subscribe to a websocket for real-time updates.
88
Hermes maintains compatibility with the price service API, allowing the [Price
9-
Service JS client](https://github.com/pyth-network/pyth-crosschain/tree/main/price_service/client/js)
9+
Service JS client](/price_service/client/js)
1010
to seamlessly connect to an instance of Hermes and fetch on-demand price
1111
updates.
1212

price_service/client/js/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Price Service Client
22

33
[Pyth Network](https://pyth.network/) provides real-time pricing data in a variety of asset classes, including cryptocurrency, equities, FX and commodities.
4-
These prices are available either via HTTP or WebSocket from [Hermes](https://github.com/pyth-network/pyth-crosschain/tree/main/hermes).
4+
These prices are available either via HTTP or WebSocket from [Hermes](/hermes).
55
This library is a client for interacting with Hermes, allowing your application to consume Pyth real-time prices in on- and off-chain Javascript/Typescript applications.
66

77
## Installation

target_chains/cosmwasm/contracts/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ This crate includes the actual contract for the CosmWasm ecosystem.
55
## Integration
66

77
You can use `pyth-sdk-cw` which has been published to crates.io to integrate with the Pyth contract.
8-
The sdk exposes data structures and testing utilities for ease of use. Please look into this [pyth-sdk-cw](https://github.com/pyth-network/pyth-crosschain/tree/main/target_chains/cosmwasm/sdk/rust)
8+
The sdk exposes data structures and testing utilities for ease of use. Please look into this [pyth-sdk-cw](/target_chains/cosmwasm/sdk/rust)
99

1010
## Off-Chain Queries
1111

target_chains/ethereum/entropy_sdk/solidity/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,5 +99,5 @@ This method will combine the user and provider's random numbers, along with the
9999

100100
## Example Application
101101

102-
The [Coin Flip](https://github.com/pyth-network/pyth-crosschain/tree/main/target_chains/ethereum/examples/coin_flip) example demonstrates how to build a smart contract that
102+
The [Coin Flip](/target_chains/ethereum/examples/coin_flip) example demonstrates how to build a smart contract that
103103
interacts with Pyth Entropy as well as a typescript client for that application.

target_chains/sui/contracts/sources/batch_price_attestation.move

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ module pyth::batch_price_attestation {
111111

112112
fun deserialize_price_info(cur: &mut Cursor<u8>, clock: &Clock): PriceInfo {
113113

114-
// Skip obselete field
114+
// Skip obsolete field
115115
let _product_identifier = deserialize::deserialize_vector(cur, 32);
116116
let price_identifier = price_identifier::from_byte_vec(deserialize::deserialize_vector(cur, 32));
117117
let price = deserialize::deserialize_i64(cur);
@@ -121,7 +121,7 @@ module pyth::batch_price_attestation {
121121
let ema_conf = deserialize::deserialize_u64(cur);
122122
let status = price_status::from_u64((deserialize::deserialize_u8(cur) as u64));
123123

124-
// Skip obselete fields
124+
// Skip obsolete fields
125125
let _num_publishers = deserialize::deserialize_u32(cur);
126126
let _max_num_publishers = deserialize::deserialize_u32(cur);
127127

target_chains/sui/contracts/sources/pyth.move

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ module pyth::pyth_tests{
687687

688688
let (pyth_state, worm_state) = take_wormhole_and_pyth_states(&scenario);
689689

690-
// Pass in a corrupt VAA, which should fail deseriaizing
690+
// Pass in a corrupt VAA, which should fail deserializing
691691
let corrupt_vaa = x"90F8bf6A479f320ead074411a4B0e7944Ea8c9C1";
692692
let verified_vaas = vector[vaa::parse_and_verify(&worm_state, corrupt_vaa, &clock)];
693693
// Create Pyth price feed

0 commit comments

Comments
 (0)