Skip to content

Commit 216ac29

Browse files
committed
fix: update readme, logs, version
1 parent e6d98c2 commit 216ac29

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

apps/price_pusher/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ pnpm run start solana \
159159
--endpoint https://api.mainnet-beta.solana.com \
160160
--keypair-file ./id.json \
161161
--shard-id 1 \
162-
--jito-endpoint mainnet.block-engine.jito.wtf \
162+
--jito-endpoints mainnet.block-engine.jito.wtf,ny.mainnet.block-engine.jito.wtf \
163163
--jito-keypair-file ./jito.json \
164164
--jito-tip-lamports 100000 \
165165
--jito-bundle-size 5 \

apps/price_pusher/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pythnetwork/price-pusher",
3-
"version": "9.3.3",
3+
"version": "9.3.4",
44
"description": "Pyth Price Pusher",
55
"homepage": "https://pyth.network",
66
"main": "lib/index.js",

apps/price_pusher/src/solana/command.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,12 @@ export default {
213213
.split(",")
214214
.map((endpoint: string) => endpoint.trim());
215215
const jitoClients: SearcherClient[] = jitoEndpointsList.map(
216-
(endpoint: string) => searcherClient(endpoint, jitoKeypair),
216+
(endpoint: string) => {
217+
logger.info(
218+
`Constructing Jito searcher client from endpoint ${endpoint}`,
219+
);
220+
return searcherClient(endpoint, jitoKeypair);
221+
},
217222
);
218223

219224
solanaPricePusher = new SolanaPricePusherJito(

apps/price_pusher/src/solana/solana.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ export class SolanaPricePusherJito implements IPricePusher {
244244
});
245245

246246
try {
247+
this.logger.info("Sending Jito transactions...");
247248
await sendTransactionsJito(
248249
transactions,
249250
this.searcherClients,
@@ -255,6 +256,7 @@ export class SolanaPricePusherJito implements IPricePusher {
255256
this.logger.warn("Rate limit hit, waiting before retry...");
256257
await this.sleep(1100); // Wait slightly more than 1 second
257258
try {
259+
this.logger.info("Sending Jito transactions...");
258260
await sendTransactionsJito(
259261
transactions,
260262
this.searcherClients,

0 commit comments

Comments
 (0)