File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ export const getMetadataCidsFromEvents = (
3232 const decoded = decodeDVMDExtendedApplicationData ( event . params . data ) ;
3333 ids . add ( decoded . metadata . pointer ) ;
3434 } catch ( error ) {
35- logger . warn ( "Failed to decode DVMD extended application data" , {
35+ logger . warn ( "Failed to decode Metadata CID from event data" , {
3636 error,
3737 event,
3838 } ) ;
Original file line number Diff line number Diff line change @@ -297,7 +297,7 @@ export class Orchestrator {
297297 blockNumber,
298298 logIndex,
299299 limit : this . fetchLimit ,
300- // allowPartialLastBlock: false, //TODO: ask nigiri about this
300+ // allowPartialLastBlock: false,
301301 } ) ;
302302
303303 return events ;
@@ -373,7 +373,7 @@ export class Orchestrator {
373373 return { status : "rejected" , reason : error } ;
374374 }
375375 } ,
376- { concurrency : MAX_BULK_FETCH_METADATA_CONCURRENCY } , //FIXME: remove hardcoded concurrency
376+ { concurrency : MAX_BULK_FETCH_METADATA_CONCURRENCY } ,
377377 ) ;
378378
379379 const metadata : unknown [ ] = [ ] ;
Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ export class CoingeckoProvider implements IPricingProvider {
178178 while ( currentStart < effectiveMax ) {
179179 const currentEnd = Math . min ( currentStart + segmentDuration , effectiveMax ) ;
180180
181- path = `/coins/${ tokenId } /market_chart/range?vs_currency=usd&from=${ currentStart / 1000 } &to=${ currentEnd / 1000 } &precision=full` ;
181+ path = `/coins/${ tokenId } /market_chart/range?vs_currency=usd&from=${ Math . floor ( currentStart / 1000 ) } &to=${ Math . floor ( currentEnd / 1000 ) } &precision=full` ;
182182 // Push the promise for the current segment
183183 segments . push (
184184 this . axios . get < CoingeckoPriceChartData > ( path ) . then ( ( { data } ) =>
You can’t perform that action at this time.
0 commit comments