Skip to content

Commit c45b667

Browse files
committed
fix: debug price updates in getMarkets
1 parent f0636f9 commit c45b667

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/sdk/market/MarketRegister.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,10 @@ export class MarketRegister extends SDKConstruct {
109109
const updates = await this.sdk.priceFeeds.generatePriceFeedsUpdateTxs();
110110
txs = updates.txs;
111111
}
112-
this.#logger?.debug({ configurators, pools }, "calling getMarkets");
112+
this.#logger?.debug(
113+
{ configurators, pools },
114+
`calling getMarkets with ${txs.length} price updates`,
115+
);
113116
// ...and push them using multicall before getting answers
114117
const resp = await simulateMulticall(this.provider.publicClient, {
115118
contracts: [

0 commit comments

Comments
 (0)