DefiLlama / bridges-server

45 stars 334 forks source link

Get the starting block from defillama #228

Closed 0xMOZ closed 2 months ago

0xMOZ commented 2 months ago

When two timestamps will be passed to the collector, this PR will replace getting the starting block directly from the timestamp, but instead uses the latest recorded block from Defillama. It will use the passed timestamp as a fallback in case it was not able to get the latest recorded block.