Skip to content

Commit

Permalink
Remove repetitive words (#1419)
Browse files Browse the repository at this point in the history
Signed-off-by: findnature <[email protected]>
Co-authored-by: nicholaspai <[email protected]>
Co-authored-by: Matt Rice <[email protected]>
  • Loading branch information
3 people authored Apr 30, 2024
1 parent d9be4bf commit 93e2c75
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Check out [this guide](https://docs.across.to/v2/developers/running-a-relayer) f

## Prerequisites

After installing dependencies and building the repository, be sure to to [install RedisDB](https://redis.io/docs/getting-started/installation/), an in-memory storage layer that is required to make the bots work. The bots query blockchain RPCs for a lot of smart contract events so its important that the bot
After installing dependencies and building the repository, be sure to [install RedisDB](https://redis.io/docs/getting-started/installation/), an in-memory storage layer that is required to make the bots work. The bots query blockchain RPCs for a lot of smart contract events so its important that the bot
cache some of this data in order to maintain its speed.

The first time that the bot runs, it might be slower than usual as the Redis DB fills up. This slowdown should disappear on subsequent runs.
Expand Down
2 changes: 1 addition & 1 deletion src/dataworker/PoolRebalanceUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ export function getRunningBalanceForL1Token(

// This returns a possible next block range that could be submitted as a new root bundle, or used as a reference
// when evaluating pending root bundle. The block end numbers must be less than the latest blocks for each chain ID
// (because we can't evaluate events in the future), and greater than the the expected start blocks, which are the
// (because we can't evaluate events in the future), and greater than the expected start blocks, which are the
// greater of 0 and the latest bundle end block for an executed root bundle proposal + 1.
export function getWidestPossibleExpectedBlockRange(
chainIdListForBundleEvaluationBlockNumbers: number[],
Expand Down
2 changes: 1 addition & 1 deletion src/utils/ProviderUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ function createSendErrorWithMessage(message: string, sendError: any) {
function compareRpcResults(method: string, rpcResultA: any, rpcResultB: any): boolean {
if (method === "eth_getBlockByNumber") {
// We've seen RPC's disagree on the miner field, for example when Polygon nodes updated software that
// led alchemy and quicknode to disagree on the the miner field's value.
// led alchemy and quicknode to disagree on the miner field's value.
return compareResultsAndFilterIgnoredKeys(
[
"miner", // polygon (sometimes)
Expand Down
2 changes: 1 addition & 1 deletion test/Relayer.BasicFill.ts
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ describe("Relayer: Check for Unfilled Deposits and Fill", async function () {
it("Ignores deposits older than min deposit confirmation threshold", async function () {
await depositV3(spokePool_1, destinationChainId, depositor, inputToken, inputAmount, outputToken, outputAmount);

// Set MDC such that the deposit is is ignored. The profit client will return a fill USD amount of $0,
// Set MDC such that the deposit is ignored. The profit client will return a fill USD amount of $0,
// so we need to set the MDC for the `0` threshold to be large enough such that the deposit would be ignored.
relayerInstance = new Relayer(
relayer.address,
Expand Down

0 comments on commit 93e2c75

Please sign in to comment.