Skip to content

Commit 88489b6

Browse files
committed
chore: fix some minor issues in comments
Signed-off-by: jishudashen <[email protected]>
1 parent dc4fd5c commit 88489b6

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

apps/developer-hub/content/docs/pyth-core/publish-data/useful-resources-for-publishers.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ This page contains useful tools for publishers to analyse, monitor and review th
1616
- [Pyth Price Feeds & Metrics](https://pyth.network/price-feeds): Publishers can review their price data metrics for permissioned symbols. The conformance logs that can be downloaded contain useful metrics that show publisher uptime, price deviations and alerts. The metrics page can be accessed by selecting the environment > symbol > publisher key tab
1717
- [Pyth Publisher Ranking Page](https://pyth.network/publishers/ranking): This page provides a full breakdown of publisher ranking and inactive/active price feeds
1818
- [Pyth Agent API GitHub Repository](https://github.com/pyth-network/pyth-agent): This repository contains the latest release for the Pyth-Agent API
19-
- [Solana Explorer](https://explorer.solana.com): Solana Explorer allows publishers to monitor their public keys balance and transactions. It also provides live cluster statistics. For Pythnet or Pythtest, publishers should select 'Custom RPC URL' and add the the RPC http URL
19+
- [Solana Explorer](https://explorer.solana.com): Solana Explorer allows publishers to monitor their public keys balance and transactions. It also provides live cluster statistics. For Pythnet or Pythtest, publishers should select 'Custom RPC URL' and add the RPC http URL
2020
- [Pythnet Statistics](https://pyth.network/stats): A useful tool to review pythnet uptime per publisher key

doc/rust-code-guidelines.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ The recommendations on this page should help with dealing with these lints.
6060

6161
Refer also to [Clippy lints documentation](https://rust-lang.github.io/rust-clippy/master/index.html) for more information about the lints.
6262

63-
If the lint is a false positive, put `#[allow(lint_name, reason = "...")]` on the relevant line or block and and specify the reason why the code is correct.
63+
If the lint is a false positive, put `#[allow(lint_name, reason = "...")]` on the relevant line or block and specify the reason why the code is correct.
6464

6565
Many of the lints (e.g. most of the panic-related lints) can be allowed globally for tests and other non-production code.
6666

price_service/client/js/src/PriceServiceConnection.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ export class PriceServiceConnection {
160160
* Fetch latest VAA of given price ids.
161161
* This will throw an axios error if there is a network problem or the price service returns a non-ok response (e.g: Invalid price ids)
162162
*
163-
* This function is coupled to wormhole implemntation.
163+
* This function is coupled to wormhole implementation.
164164
*
165165
* @param priceIds Array of hex-encoded price ids.
166166
* @returns Array of base64 encoded VAAs.
@@ -180,7 +180,7 @@ export class PriceServiceConnection {
180180
* is old and the price service endpoint does not have a db backend for historical requests.
181181
* This will throw an axios error if there is a network problem or the price service returns a non-ok response (e.g: Invalid price id)
182182
*
183-
* This function is coupled to wormhole implemntation.
183+
* This function is coupled to wormhole implementation.
184184
*
185185
* @param priceId Hex-encoded price id.
186186
* @param publishTime Epoch timestamp in seconds.

pythnet/pythnet_sdk/src/accumulators/mul.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use crate::{
88
/// A multiplication based Accumulator
99
///
1010
/// This accumulator relies on the quasi-commutative nature of the multiplication operator. It's
11-
/// here mostly as a an example to gain intuition for how accumulators should function. This
11+
/// here mostly as an example to gain intuition for how accumulators should function. This
1212
/// implementation relies on the fact that `/` can be used to "remove" an element but typically an
1313
/// accumulator cannot rely on having a shortcut, and must re-accumulate sans the element being
1414
/// proved to be a member.

target_chains/ethereum/contracts/contracts/pulse/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Pulse replaces the service formerly known as "scheduler" or "price pusher," and
1111
Run `forge build` to build the contracts and `forge test` to run the contract unit tests.
1212
The unit tests live in the `../../forge-test` directory.
1313

14-
Gas benchmarks that cover the most frequent usage patterns are in `PulseSchedulerGasBenchmark.t.sol`. Run the benchmark with -vv to to see the gas usage for the operations under test, without setup costs.
14+
Gas benchmarks that cover the most frequent usage patterns are in `PulseSchedulerGasBenchmark.t.sol`. Run the benchmark with -vv to see the gas usage for the operations under test, without setup costs.
1515

1616
## Architecture
1717

target_chains/ethereum/contracts/forge-test/utils/PythTestUtils.t.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ contract PythUtilsTest is Test, WormholeTestUtils, PythTestUtils, IPythEvents {
581581

582582
// Test 4: Basic Tests with positive exponents
583583
assertCrossRateEquals(100, 2, 100, 2, -5, 100000); // 100 * 10^2 / 100 * 10^2 = 10000 / 10000 = 1 == 100000 * 10^-5
584-
// We will loose preistion as the the target exponent is 5 making the price 0.00001
584+
// We will loose preistion as the target exponent is 5 making the price 0.00001
585585
assertCrossRateEquals(100, 8, 100, 8, 5, 0);
586586

587587
// Test 5: Different Exponent Tests

0 commit comments

Comments
 (0)