From 1b13bf651acb761e7512d48960c7bcbf4152809a Mon Sep 17 00:00:00 2001 From: guibescos <59208140+guibescos@users.noreply.github.com> Date: Mon, 22 Apr 2024 17:41:49 +0100 Subject: [PATCH] fix(solana_pusher): use processed to poll (#1486) * Do it * Do it --- apps/price_pusher/package.json | 2 +- apps/price_pusher/src/solana/command.ts | 2 +- package-lock.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/price_pusher/package.json b/apps/price_pusher/package.json index 7ece884cf4..37fb7dc095 100644 --- a/apps/price_pusher/package.json +++ b/apps/price_pusher/package.json @@ -1,6 +1,6 @@ { "name": "@pythnetwork/price-pusher", - "version": "6.6.1", + "version": "6.6.2", "description": "Pyth Price Pusher", "homepage": "https://pyth.network", "main": "lib/index.js", diff --git a/apps/price_pusher/src/solana/command.ts b/apps/price_pusher/src/solana/command.ts index 56bbcd7ff2..6ad4584790 100644 --- a/apps/price_pusher/src/solana/command.ts +++ b/apps/price_pusher/src/solana/command.ts @@ -117,7 +117,7 @@ export default { ); const pythSolanaReceiver = new PythSolanaReceiver({ - connection: new Connection(endpoint), + connection: new Connection(endpoint, "processed"), wallet, pushOracleProgramId: new PublicKey(pythContractAddress), }); diff --git a/package-lock.json b/package-lock.json index 3ee2fd0731..7071b7687d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -46,7 +46,7 @@ }, "apps/price_pusher": { "name": "@pythnetwork/price-pusher", - "version": "6.6.1", + "version": "6.6.2", "license": "Apache-2.0", "dependencies": { "@injectivelabs/sdk-ts": "1.10.72",