Skip to content

Commit

Permalink
chore: fix nits (#1350)
Browse files Browse the repository at this point in the history
  • Loading branch information
enjoyooor committed Mar 12, 2024
1 parent 7b01f2a commit eec10a7
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ Pyth operates a self hosted [bug bounty program](https://pyth.network/bounty) to

- **Scopes**
- [Pyth Oracle](https://github.com/pyth-network/pyth-client/tree/main/program)
- [Pyth Crosschain Ethereum](https://github.com/pyth-network/pyth-crosschain/tree/main/target_chains/ethereum/contracts/contracts/pyth)
- [Pyth Crosschain Aptos](https://github.com/pyth-network/pyth-crosschain/tree/main/target_chains/aptos/contracts)
- [Pyth Crosschain Sui](https://github.com/pyth-network/pyth-crosschain/tree/main/target_chains/sui/contracts)
- [Pyth Crosschain Ethereum](/target_chains/ethereum/contracts/contracts/pyth)
- [Pyth Crosschain Aptos](/target_chains/aptos/contracts)
- [Pyth Crosschain Sui](/target_chains/sui/contracts)
- [Pyth Governance](https://github.com/pyth-network/governance/tree/master/staking/programs/staking)
- **Rewards**
- Critical: Up to $500,000
Expand Down
2 changes: 1 addition & 1 deletion hermes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Price Service, offering these updates through a user-friendly web API. The
service facilitates easy querying for recent price updates via a REST API, as
well as provides the option to subscribe to a websocket for real-time updates.
Hermes maintains compatibility with the price service API, allowing the [Price
Service JS client](https://github.com/pyth-network/pyth-crosschain/tree/main/price_service/client/js)
Service JS client](/price_service/client/js)
to seamlessly connect to an instance of Hermes and fetch on-demand price
updates.

Expand Down
2 changes: 1 addition & 1 deletion price_service/client/js/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Price Service Client

[Pyth Network](https://pyth.network/) provides real-time pricing data in a variety of asset classes, including cryptocurrency, equities, FX and commodities.
These prices are available either via HTTP or WebSocket from [Hermes](https://github.com/pyth-network/pyth-crosschain/tree/main/hermes).
These prices are available either via HTTP or WebSocket from [Hermes](/hermes).
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.

## Installation
Expand Down
2 changes: 1 addition & 1 deletion target_chains/cosmwasm/contracts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This crate includes the actual contract for the CosmWasm ecosystem.
## Integration

You can use `pyth-sdk-cw` which has been published to crates.io to integrate with the Pyth contract.
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)
The sdk exposes data structures and testing utilities for ease of use. Please look into this [pyth-sdk-cw](/target_chains/cosmwasm/sdk/rust)

## Off-Chain Queries

Expand Down
2 changes: 1 addition & 1 deletion target_chains/ethereum/entropy_sdk/solidity/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,5 +99,5 @@ This method will combine the user and provider's random numbers, along with the

## Example Application

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
The [Coin Flip](/target_chains/ethereum/examples/coin_flip) example demonstrates how to build a smart contract that
interacts with Pyth Entropy as well as a typescript client for that application.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ module pyth::batch_price_attestation {

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

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

// Skip obselete fields
// Skip obsolete fields
let _num_publishers = deserialize::deserialize_u32(cur);
let _max_num_publishers = deserialize::deserialize_u32(cur);

Expand Down
2 changes: 1 addition & 1 deletion target_chains/sui/contracts/sources/pyth.move
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ module pyth::pyth_tests{

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

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

0 comments on commit eec10a7

Please sign in to comment.