enjoyooor 1 год назад
Родитель
Сommit
eec10a721b

+ 3 - 3
SECURITY.md

@@ -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

+ 1 - 1
hermes/README.md

@@ -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.
 

+ 1 - 1
price_service/client/js/README.md

@@ -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

+ 1 - 1
target_chains/cosmwasm/contracts/README.md

@@ -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
 

+ 1 - 1
target_chains/ethereum/entropy_sdk/solidity/README.md

@@ -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.

+ 2 - 2
target_chains/sui/contracts/sources/batch_price_attestation.move

@@ -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);
@@ -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);
 

+ 1 - 1
target_chains/sui/contracts/sources/pyth.move

@@ -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