Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
aditya520 committed Feb 5, 2025
1 parent 416a20b commit 455bbf6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
3 changes: 1 addition & 2 deletions apps/price_pusher/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,7 @@ human-readable logs, you can pipe the output of the program to `pino-pretty`. Se

You can configure the log level of some of the modules of the price pusher as well. The available modules are PriceServiceConnection, which
is responsible for connecting to the Hermes price service, and Controller, which is responsible for checking the prices from the Hermes
and the on-chain Pyth contract and deciding whether to push a new price. You can configure the log level of these modules by passing the
`--price-service-connection-log-level` and `--controller-log-level` arguments, respectively.
and the on-chain Pyth contract and deciding whether to push a new price. You can configure the log level of these modules by passing the `--controller-log-level` arguments, respectively.

### Example

Expand Down
4 changes: 2 additions & 2 deletions apps/price_pusher/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import { PriceItem } from "./interface";
export type PctNumber = number;
export type DurationInSeconds = number;
export const txSpeeds = ["slow", "standard", "fast"] as const;
export type TxSpeed = (typeof txSpeeds)[number];
export type TxSpeed = typeof txSpeeds[number];
export const customGasChainIds = [137] as const;
export type CustomGasChainId = (typeof customGasChainIds)[number];
export type CustomGasChainId = typeof customGasChainIds[number];

export async function sleep(ms: number): Promise<void> {
return new Promise((resolve) => setTimeout(resolve, ms));
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,5 @@
"patchedDependencies": {
"[email protected]": "patches/[email protected]"
}
},
"version": "1.0.0"
}
}

0 comments on commit 455bbf6

Please sign in to comment.