Skip to content

Commit 4966b95

Browse files
authored
[price_pusher] Sui pusher debugging messages (#1544)
* add logging * version * gr
1 parent 10dc4a0 commit 4966b95

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

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": "6.7.0",
3+
"version": "6.7.1",
44
"description": "Pyth Price Pusher",
55
"homepage": "https://pyth.network",
66
"main": "lib/index.js",

apps/price_pusher/src/sui/sui.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,18 +488,24 @@ export class SuiPricePusher implements IPricePusher {
488488
options: { showEffects: true },
489489
});
490490
} catch (e) {
491+
console.log("Merge transaction failed with error:");
492+
console.log(e);
493+
console.log((e as any).data);
494+
console.log(JSON.stringify(e));
491495
if (
492496
String(e).includes(
493497
"quorum of validators because of locked objects. Retried a conflicting transaction"
494498
)
495499
) {
500+
/*
496501
Object.values((e as any).data).forEach((lockedObjects: any) => {
497502
lockedObjects.forEach((lockedObject: [string, number, string]) => {
498503
lockedAddresses.add(lockedObject[0]);
499504
});
500505
});
501506
// retry merging without the locked coins
502507
i--;
508+
*/
503509
continue;
504510
}
505511
throw e;

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)