Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove repetitive words #2130

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2467,7 +2467,7 @@ describe('MarginModule', async () => {
bn(0.000001)
);

// Change the price, this might lead to profit or loss, depending the the generated order is long or short
// Change the price, this might lead to profit or loss, depending the generated order is long or short
const newPrice = wei(order.oraclePrice).mul(1.5).toBN();
// Update price
await market.aggregator().mockSetCurrentPrice(newPrice);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ describe('PerpMarketFactoryModule Utilization', () => {
});
await commitAndSettle(bs, marketId, trader1, closeOrder1);

// Create a new position with a different trader. This trader will will not incur and profits or losses.
// Create a new position with a different trader. This trader will not incur and profits or losses.
const { collateral: collateral2, collateralDepositAmount: collateralDepositAmount2 } =
await depositMargin(bs, genTrader(bs, { desiredMarket: market, desiredTrader: trader2 }));
const order2 = await genOrder(bs, market, collateral2, collateralDepositAmount2);
Expand Down
2 changes: 1 addition & 1 deletion protocol/oracle-manager/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ The Chainlink Node retrieves data from a [Chainlink Price Feed](https://docs.cha
- `nodeType` Value: 3
- Parameters:
- `address chainlinkAddress` - The address of the Chainlink price feed contract.
- `uint256 twapTimeInterval` - The the duration (in seconds) of the lookback window for price reports to be incorporated in a time-weighted average price calculation. Use `0` to retrieve only the latest price report.
- `uint256 twapTimeInterval` - The duration (in seconds) of the lookback window for price reports to be incorporated in a time-weighted average price calculation. Use `0` to retrieve only the latest price report.
- `uint8 decimals` - The number of decimals places used by the Chainlink price feed contract. _This must match what is provided by the price feed contract's `decimals()` function_.
- Expected Parents: 0

Expand Down
2 changes: 1 addition & 1 deletion protocol/synthetix/contracts/storage/Distribution.sol
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ library Distribution {
*
* Whenever an actor's shares are changed in this way, we record the distribution's current valuePerShare into the actor's lastValuePerShare record.
*
* Returns the the amount by which the actors value changed since the last update.
* Returns the amount by which the actors value changed since the last update.
*/
function setActorShares(
Data storage self,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ library MarketConfiguration {
/**
* @dev Maximum value per share that a pool will tolerate for this market.
*
* If the the limit is met, the markets exceeding debt will be distributed, and it will be disconnected from the pool that no longer provides credit to it.
* If the limit is met, the markets exceeding debt will be distributed, and it will be disconnected from the pool that no longer provides credit to it.
*
* Note: This value will have no effect if the system wide limit is hit first. See `PoolConfiguration.minLiquidityRatioD18`.
*/
Expand Down
2 changes: 1 addition & 1 deletion utils/core-utils/src/utils/assertions/assert-bignumber.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export = {
equal: _createAssertBN('eq'),

/**
* Assert if `a` is less than than `b`
* Assert if `a` is less than `b`
* @param {(string|number|BigNumber)} a
* @param {(string|number|BigNumber)} b
*/
Expand Down