File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
components/PriceFeed/Chart Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 2
2
3
3
.chart {
4
4
--chart-background-light : #{theme .pallette-color (" white" )} ;
5
- --chart-background-dark : #{theme .pallette-color (" steel" , 900 )} ;
5
+ --chart-background-dark : #{theme .pallette-color (" steel" , 950 )} ;
6
6
--border-light : #{theme .pallette-color (" stone" , 100 )} ;
7
7
--border-dark : #{theme .pallette-color (" steel" , 900 )} ;
8
8
--muted-light : #{theme .pallette-color (" stone" , 700 )} ;
Original file line number Diff line number Diff line change @@ -359,11 +359,9 @@ export const getHistoricalPrices = async ({
359
359
symbol,
360
360
from,
361
361
to,
362
+ publisher,
362
363
} ;
363
364
364
- const publisherClause = publisher
365
- ? "AND publisher = {publisher: String}"
366
- : "" ;
367
365
const clusterClause =
368
366
cluster === "pythtest"
369
367
? "cluster IN {clusters: Array(String)}"
@@ -392,13 +390,12 @@ export const getHistoricalPrices = async ({
392
390
FROM prices
393
391
PREWHERE
394
392
${ clusterClause }
393
+ AND publisher = {publisher: String}
395
394
AND symbol = {symbol: String}
396
- ${ publisherClause }
397
395
AND version = 2
398
396
WHERE
399
397
publishTime >= toDateTime({from: UInt32})
400
398
AND publishTime < toDateTime({to: UInt32})
401
- /* AND toDate(time) BETWEEN toDate(toDateTime({from: UInt32})) AND toDate(toDateTime({to: UInt32})) */
402
399
GROUP BY timestamp
403
400
ORDER BY timestamp ASC
404
401
` ,
You can’t perform that action at this time.
0 commit comments