Skip to content

Commit 682481a

Browse files
committed
chore: fix some minor issues in comments
Signed-off-by: jishudashen <[email protected]>
1 parent 56465a9 commit 682481a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

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 `../../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/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)