diff --git a/package-lock.json b/package-lock.json index 87b31ebfb..51f02b98c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -55940,7 +55940,7 @@ }, "price_pusher": { "name": "@pythnetwork/price-pusher", - "version": "5.6.1", + "version": "5.6.2", "license": "Apache-2.0", "dependencies": { "@injectivelabs/sdk-ts": "1.10.72", diff --git a/price_pusher/package.json b/price_pusher/package.json index 52b9d9894..9c2229133 100644 --- a/price_pusher/package.json +++ b/price_pusher/package.json @@ -1,6 +1,6 @@ { "name": "@pythnetwork/price-pusher", - "version": "5.6.1", + "version": "5.6.2", "description": "Pyth Price Pusher", "homepage": "https://pyth.network", "main": "lib/index.js", diff --git a/price_pusher/src/sui/sui.ts b/price_pusher/src/sui/sui.ts index d996429da..296f14bfe 100644 --- a/price_pusher/src/sui/sui.ts +++ b/price_pusher/src/sui/sui.ts @@ -248,7 +248,9 @@ export class SuiPricePusher implements IPricePusher { priceIdChunk ); if (vaas.length !== 1) { - throw new Error("Expected a single VAA for all priceIds"); + throw new Error( + `Expected a single VAA for all priceIds ${priceIdChunk} but received ${vaas.length} VAAs: ${vaas}` + ); } const vaa = vaas[0]; const tx = new TransactionBlock();