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 22
33.chart  {
44  --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 )} ;
66  --border-light : #{theme .pallette-color (" stone" 100 )} ;
77  --border-dark : #{theme .pallette-color (" steel" 900 )} ;
88  --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 ({
359359    symbol, 
360360    from, 
361361    to, 
362+     publisher, 
362363  } ; 
363364
364-   const  publisherClause  =  publisher 
365-     ? "AND publisher = {publisher: String}" 
366-     : "" ; 
367365  const  clusterClause  = 
368366    cluster  ===  "pythtest" 
369367      ? "cluster IN {clusters: Array(String)}" 
@@ -392,13 +390,12 @@ export const getHistoricalPrices = async ({
392390          FROM prices 
393391          PREWHERE 
394392            ${ clusterClause }  
393+             AND publisher = {publisher: String} 
395394            AND symbol = {symbol: String} 
396-             ${ publisherClause }  
397395            AND version = 2 
398396          WHERE 
399397            publishTime >= toDateTime({from: UInt32}) 
400398            AND publishTime < toDateTime({to: UInt32}) 
401-             /* AND toDate(time) BETWEEN toDate(toDateTime({from: UInt32})) AND toDate(toDateTime({to: UInt32})) */ 
402399          GROUP BY timestamp 
403400          ORDER BY timestamp ASC 
404401        ` , 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments