Skip to content

Commit f4cac81

Browse files
authored
patch e2e tests (#426)
1 parent 380d7d4 commit f4cac81

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/indexer-client/src/dataMappers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ export function mapIndexerFundingRateHistory(
242242
return {
243243
productId: entry.product_id,
244244
timestamp: toBigNumber(entry.timestamp),
245-
fundingRateFrac: removeDecimals(entry.funding_rate_frac_x18),
245+
fundingRateFrac: removeDecimals(entry.funding_rate_x18),
246246
};
247247
}
248248

packages/indexer-client/src/types/serverTypes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ export interface IndexerServerFundingRateHistoryEntry {
328328
// Epoch time in seconds of the settlement tick this funding rate was recorded at.
329329
timestamp: string;
330330
// Realized hourly funding rate at this tick, multiplied by 10^18 (% = rate * 100).
331-
funding_rate_frac_x18: string;
331+
funding_rate_x18: string;
332332
}
333333

334334
export interface IndexerServerFundingRateHistoryResponse {

0 commit comments

Comments
 (0)